public interface CPGroupAvailabilityEvent
Modifier and Type | Method and Description |
---|---|
CPGroupId |
getGroupId()
Returns the id of the related CP group.
|
Collection<CPMember> |
getGroupMembers()
Returns the current members of the CP group.
|
int |
getMajority()
Returns the majority member count of the CP group.
|
Collection<CPMember> |
getUnavailableMembers()
Returns the unavailable members of the CP group.
|
boolean |
isMajorityAvailable()
Returns whether this group has the majority of its members available or not.
|
boolean |
isMetadataGroup()
Returns whether this is the METADATA CP group or not.
|
CPGroupId getGroupId()
Collection<CPMember> getGroupMembers()
Collection<CPMember> getUnavailableMembers()
int getMajority()
(memberCount/2) + 1
boolean isMajorityAvailable()
boolean isMetadataGroup()
Copyright © 2020 Hazelcast, Inc.. All rights reserved.