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, writeDatapublic QuorumListenerConfig()
public QuorumListenerConfig(String className)
public QuorumListenerConfig(QuorumListener implementation)
public QuorumListener getImplementation()
ListenerConfiggetImplementation in class ListenerConfigListenerConfig.setImplementation(java.util.EventListener)public ListenerConfig setImplementation(QuorumListener implementation)
public boolean isIncludeValue()
isIncludeValue in class ListenerConfigpublic boolean isLocal()
isLocal in class ListenerConfigpublic int getId()
IdentifiedDataSerializablegetId in interface IdentifiedDataSerializablegetId in class ListenerConfigCopyright © 2018 Hazelcast, Inc.. All Rights Reserved.