public class QuorumEvent extends EventObject
Quorum
changes.
Hold member list, quorum threshold and the quorum result.source
Constructor and Description |
---|
QuorumEvent(Object source,
int threshold,
Collection<Member> currentMembers,
boolean presence) |
Modifier and Type | Method and Description |
---|---|
Collection<Member> |
getCurrentMembers()
Returns the snapshot of member list at the time quorum happened
|
int |
getThreshold()
Returns the predefined quorum threshold
|
boolean |
isPresent()
Returns the presence of the quorum
|
String |
toString() |
getSource
public QuorumEvent(Object source, int threshold, Collection<Member> currentMembers, boolean presence)
public int getThreshold()
public Collection<Member> getCurrentMembers()
public boolean isPresent()
public String toString()
toString
in class EventObject
Copyright © 2020 Hazelcast, Inc.. All Rights Reserved.