public class QuorumListenerConfig extends ListenerConfig
QuorumListener
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.className, implementation
Constructor and Description |
---|
QuorumListenerConfig() |
QuorumListenerConfig(QuorumListener implementation) |
QuorumListenerConfig(String className) |
Modifier and Type | Method and Description |
---|---|
int |
getId()
Returns type identifier for this class.
|
QuorumListener |
getImplementation()
Returns the EventListener implementation.
|
boolean |
isIncludeValue() |
boolean |
isLocal() |
ListenerConfig |
setImplementation(QuorumListener implementation) |
equals, getAsReadOnly, getClassName, getFactoryId, hashCode, readData, setClassName, setImplementation, toString, writeData
public QuorumListenerConfig()
public QuorumListenerConfig(String className)
public QuorumListenerConfig(QuorumListener implementation)
public QuorumListener getImplementation()
ListenerConfig
getImplementation
in class ListenerConfig
ListenerConfig.setImplementation(java.util.EventListener)
public ListenerConfig setImplementation(QuorumListener implementation)
public boolean isIncludeValue()
isIncludeValue
in class ListenerConfig
public boolean isLocal()
isLocal
in class ListenerConfig
public int getId()
IdentifiedDataSerializable
getId
in interface IdentifiedDataSerializable
getId
in class ListenerConfig
Copyright © 2021 Hazelcast, Inc.. All Rights Reserved.