Package com.hazelcast.config
Class CachePartitionLostListenerConfig
java.lang.Object
com.hazelcast.config.ListenerConfig
com.hazelcast.config.CachePartitionLostListenerConfig
- All Implemented Interfaces:
DataSerializable
,IdentifiedDataSerializable
,Serializable
Configuration for CachePartitionLostListener
- See Also:
-
CachePartitionLostListener
- Serialized Form
-
Field Summary
Fields inherited from class com.hazelcast.config.ListenerConfig
className, implementation
-
Constructor Summary
ConstructorDescriptionCachePartitionLostListenerConfig
(com.hazelcast.cache.impl.event.CachePartitionLostListener implementation) CachePartitionLostListenerConfig
(String className) -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
Returns type identifier for this class.com.hazelcast.cache.impl.event.CachePartitionLostListener
Returns the EventListener implementation.int
hashCode()
setImplementation
(com.hazelcast.cache.impl.event.CachePartitionLostListener implementation) Methods inherited from class com.hazelcast.config.ListenerConfig
getClassName, getFactoryId, isIncludeValue, isLocal, readData, setClassName, setImplementation, toString, writeData
-
Constructor Details
-
CachePartitionLostListenerConfig
public CachePartitionLostListenerConfig() -
CachePartitionLostListenerConfig
-
CachePartitionLostListenerConfig
public CachePartitionLostListenerConfig(com.hazelcast.cache.impl.event.CachePartitionLostListener implementation) -
CachePartitionLostListenerConfig
-
-
Method Details
-
getImplementation
public com.hazelcast.cache.impl.event.CachePartitionLostListener 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
public CachePartitionLostListenerConfig setImplementation(com.hazelcast.cache.impl.event.CachePartitionLostListener implementation) -
equals
- Overrides:
equals
in classListenerConfig
-
hashCode
public int hashCode()- Overrides:
hashCode
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
-