Package com.hazelcast.config
Class SplitBrainProtectionListenerConfig
java.lang.Object
com.hazelcast.config.ListenerConfig
com.hazelcast.config.SplitBrainProtectionListenerConfig
- All Implemented Interfaces:
DataSerializable
,IdentifiedDataSerializable
Configuration class for
SplitBrainProtectionListener
-
Field Summary
Fields inherited from class com.hazelcast.config.ListenerConfig
className, implementation
-
Constructor Summary
ConstructorDescriptionSplitBrainProtectionListenerConfig
(SplitBrainProtectionListener implementation) SplitBrainProtectionListenerConfig
(String className) -
Method Summary
Modifier and TypeMethodDescriptionint
Returns type identifier for this class.Returns the EventListener implementation.boolean
boolean
isLocal()
setImplementation
(SplitBrainProtectionListener implementation) Methods inherited from class com.hazelcast.config.ListenerConfig
equals, getClassName, getFactoryId, hashCode, readData, setClassName, setImplementation, toString, writeData
-
Constructor Details
-
SplitBrainProtectionListenerConfig
public SplitBrainProtectionListenerConfig() -
SplitBrainProtectionListenerConfig
-
SplitBrainProtectionListenerConfig
-
-
Method Details
-
getImplementation
Description copied from class:ListenerConfig
Returns the EventListener implementation. If none has been specified, null is returned.- Overrides:
getImplementation
in classListenerConfig
- Returns:
- the EventListener implementation
- See Also:
-
setImplementation
-
isIncludeValue
public boolean isIncludeValue()- Overrides:
isIncludeValue
in classListenerConfig
-
isLocal
public boolean isLocal()- Overrides:
isLocal
in classListenerConfig
-
getClassId
public int getClassId()Description copied from interface:IdentifiedDataSerializable
Returns type identifier for this class. It should be unique per DataSerializableFactory.- Specified by:
getClassId
in interfaceIdentifiedDataSerializable
- Overrides:
getClassId
in classListenerConfig
- Returns:
- type ID
-