com.hazelcast.config
Class ItemListenerConfig
java.lang.Object
com.hazelcast.config.ListenerConfig
com.hazelcast.config.ItemListenerConfig
- Direct Known Subclasses:
- ItemListenerConfigReadOnly
public class ItemListenerConfig
- extends ListenerConfig
Contains the configuration for an Item Listener.
ItemListenerConfig
public ItemListenerConfig()
ItemListenerConfig
public ItemListenerConfig(String className,
boolean includeValue)
ItemListenerConfig
public ItemListenerConfig(ItemListener implementation,
boolean includeValue)
ItemListenerConfig
public ItemListenerConfig(ItemListenerConfig config)
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.