com.hazelcast.config
Class ItemListenerConfig

java.lang.Object
  extended by com.hazelcast.config.ListenerConfig
      extended by com.hazelcast.config.ItemListenerConfig
Direct Known Subclasses:
ItemListenerConfigReadOnly

public class ItemListenerConfig
extends ListenerConfig

Contains the configuration for an Item Listener.


Field Summary
 
Fields inherited from class com.hazelcast.config.ListenerConfig
className, implementation
 
Constructor Summary
ItemListenerConfig()
           
ItemListenerConfig(ItemListener implementation, boolean includeValue)
           
ItemListenerConfig(ItemListenerConfig config)
           
ItemListenerConfig(String className, boolean includeValue)
           
 
Method Summary
 boolean equals(Object o)
           
 ItemListenerConfigReadOnly getAsReadOnly()
           
 ItemListener getImplementation()
          Returns the EventListener implementation.
 int hashCode()
           
 boolean isIncludeValue()
           
 ItemListenerConfig setImplementation(ItemListener implementation)
           
 ItemListenerConfig setIncludeValue(boolean includeValue)
           
 String toString()
           
 
Methods inherited from class com.hazelcast.config.ListenerConfig
getClassName, isLocal, setClassName, setImplementation
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ItemListenerConfig

public ItemListenerConfig()

ItemListenerConfig

public ItemListenerConfig(String className,
                          boolean includeValue)

ItemListenerConfig

public ItemListenerConfig(ItemListener implementation,
                          boolean includeValue)

ItemListenerConfig

public ItemListenerConfig(ItemListenerConfig config)
Method Detail

getAsReadOnly

public ItemListenerConfigReadOnly getAsReadOnly()
Overrides:
getAsReadOnly in class ListenerConfig

getImplementation

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

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

setImplementation

public ItemListenerConfig setImplementation(ItemListener implementation)

isIncludeValue

public boolean isIncludeValue()
Overrides:
isIncludeValue in class ListenerConfig

setIncludeValue

public ItemListenerConfig setIncludeValue(boolean includeValue)

toString

public String toString()
Overrides:
toString in class ListenerConfig

equals

public boolean equals(Object o)
Overrides:
equals in class ListenerConfig

hashCode

public int hashCode()
Overrides:
hashCode in class ListenerConfig


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