public interface QuorumListener extends EventListener
IMPORTANT: The term "quorum" simply refers to the count of members in the cluster required for an operation to succeed. It does NOT refer to an implementation of Paxos or Raft protocols as used in many NoSQL and distributed systems. The mechanism it provides in Hazelcast protects the user in case the number of nodes in a cluster drops below the specified one.
QuorumEvent
s are fired only after the quorum is met for the first time.
For instance, see the following scenario for a quorum size is equal to 3:
Modifier and Type | Method and Description |
---|---|
void |
onChange(QuorumEvent quorumEvent)
Called when quorum presence state is changed.
|
void onChange(QuorumEvent quorumEvent)
quorumEvent
- provides information about quorum presence and current member list.Copyright © 2020 Hazelcast, Inc.. All Rights Reserved.