Package com.hazelcast.config
Class CachePartitionLostListenerConfig
- java.lang.Object
-
- com.hazelcast.config.ListenerConfig
-
- com.hazelcast.config.CachePartitionLostListenerConfig
-
- All Implemented Interfaces:
DataSerializable
,IdentifiedDataSerializable
,java.io.Serializable
public class CachePartitionLostListenerConfig extends ListenerConfig implements java.io.Serializable
Configuration for CachePartitionLostListener- See Also:
CachePartitionLostListener
, Serialized Form
-
-
Field Summary
-
Fields inherited from class com.hazelcast.config.ListenerConfig
className, implementation
-
-
Constructor Summary
Constructors Constructor Description CachePartitionLostListenerConfig()
CachePartitionLostListenerConfig(com.hazelcast.cache.impl.event.CachePartitionLostListener implementation)
CachePartitionLostListenerConfig(CachePartitionLostListenerConfig config)
CachePartitionLostListenerConfig(java.lang.String className)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
int
getClassId()
Returns type identifier for this class.com.hazelcast.cache.impl.event.CachePartitionLostListener
getImplementation()
Returns the EventListener implementation.int
hashCode()
CachePartitionLostListenerConfig
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 Detail
-
CachePartitionLostListenerConfig
public CachePartitionLostListenerConfig()
-
CachePartitionLostListenerConfig
public CachePartitionLostListenerConfig(java.lang.String className)
-
CachePartitionLostListenerConfig
public CachePartitionLostListenerConfig(com.hazelcast.cache.impl.event.CachePartitionLostListener implementation)
-
CachePartitionLostListenerConfig
public CachePartitionLostListenerConfig(CachePartitionLostListenerConfig config)
-
-
Method Detail
-
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:
ListenerConfig.setImplementation(java.util.EventListener)
-
setImplementation
public CachePartitionLostListenerConfig setImplementation(com.hazelcast.cache.impl.event.CachePartitionLostListener implementation)
-
equals
public boolean equals(java.lang.Object o)
- 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
-
-