public final class MemberSelectors extends Object
MemberSelector
instances.Modifier and Type | Field and Description |
---|---|
static MemberSelector |
DATA_MEMBER_SELECTOR
A
MemberSelector instance that selects only data members that own a partition |
static MemberSelector |
LITE_MEMBER_SELECTOR
A
MemberSelector instance that selects only lite members that own no partition |
static MemberSelector |
LOCAL_MEMBER_SELECTOR
A
MemberSelector instance that selects only local members |
static MemberSelector |
NON_LOCAL_MEMBER_SELECTOR
A
MemberSelector instance that selects only remote members |
Modifier and Type | Method and Description |
---|---|
static MemberSelector |
and(MemberSelector... selectors)
Selects a member when all of the selectors succeed
|
static MemberSelector |
or(MemberSelector... selectors)
Selects a member when one of the selectors succeed
|
public static final MemberSelector LITE_MEMBER_SELECTOR
MemberSelector
instance that selects only lite members that own no partitionpublic static final MemberSelector DATA_MEMBER_SELECTOR
MemberSelector
instance that selects only data members that own a partitionpublic static final MemberSelector LOCAL_MEMBER_SELECTOR
MemberSelector
instance that selects only local memberspublic static final MemberSelector NON_LOCAL_MEMBER_SELECTOR
MemberSelector
instance that selects only remote memberspublic static MemberSelector or(MemberSelector... selectors)
selectors
- MemberSelector
instances to iterateMemberSelector
that selects a member when one of the sub-selectors succeedpublic static MemberSelector and(MemberSelector... selectors)
selectors
- MemberSelector
instances to iterateMemberSelector
that selects a member when all of the sub-selectors succeedCopyright © 2020 Hazelcast, Inc.. All Rights Reserved.