com.hazelcast.config
Class MapPartitionLostListenerConfigReadOnly

java.lang.Object
  extended by com.hazelcast.config.ListenerConfig
      extended by com.hazelcast.config.MapPartitionLostListenerConfig
          extended by com.hazelcast.config.MapPartitionLostListenerConfigReadOnly

public class MapPartitionLostListenerConfigReadOnly
extends MapPartitionLostListenerConfig

Read-Only Configuration for MapPartitionLostListener

See Also:
MapPartitionLostListener

Field Summary
 
Fields inherited from class com.hazelcast.config.ListenerConfig
className, implementation
 
Constructor Summary
MapPartitionLostListenerConfigReadOnly(MapPartitionLostListenerConfig config)
           
 
Method Summary
 MapPartitionLostListener getImplementation()
          Returns the EventListener implementation.
 ListenerConfig setClassName(String className)
          Sets the class name of the EventListener.
 ListenerConfig setImplementation(EventListener implementation)
          Sets the EventListener implementation.
 
Methods inherited from class com.hazelcast.config.MapPartitionLostListenerConfig
equals, getAsReadOnly, hashCode, setImplementation
 
Methods inherited from class com.hazelcast.config.ListenerConfig
getClassName, isIncludeValue, isLocal, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MapPartitionLostListenerConfigReadOnly

public MapPartitionLostListenerConfigReadOnly(MapPartitionLostListenerConfig config)
Method Detail

getImplementation

public MapPartitionLostListener getImplementation()
Description copied from class: ListenerConfig
Returns the EventListener implementation. If none has been specified, null is returned.

Overrides:
getImplementation in class MapPartitionLostListenerConfig
Returns:
the EventListener implementation.
See Also:
ListenerConfig.setImplementation(java.util.EventListener)

setClassName

public ListenerConfig setClassName(String className)
Description copied from class: ListenerConfig
Sets the class name of the EventListener.

If a implementation was set, it will be removed.

Overrides:
setClassName in class ListenerConfig
Parameters:
className - the name of the class of the EventListener.
Returns:
the updated ListenerConfig.
See Also:
ListenerConfig.setImplementation(java.util.EventListener), ListenerConfig.getClassName()

setImplementation

public ListenerConfig setImplementation(EventListener implementation)
Description copied from class: ListenerConfig
Sets the EventListener implementation.

If a className was set, it will be removed.

Overrides:
setImplementation in class ListenerConfig
Parameters:
implementation - the EventListener implementation.
Returns:
the updated ListenerConfig.
See Also:
ListenerConfig.setClassName(String), ListenerConfig.getImplementation()


Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.