com.hazelcast.config
Class EntryListenerConfig

java.lang.Object
  extended by com.hazelcast.config.ListenerConfig
      extended by com.hazelcast.config.EntryListenerConfig
Direct Known Subclasses:
EntryListenerConfigReadOnly

public class EntryListenerConfig
extends ListenerConfig

Configuration for EntryListener


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

Constructor Detail

EntryListenerConfig

public EntryListenerConfig()

EntryListenerConfig

public EntryListenerConfig(String className,
                           boolean local,
                           boolean includeValue)

EntryListenerConfig

public EntryListenerConfig(EntryListener implementation,
                           boolean local,
                           boolean includeValue)

EntryListenerConfig

public EntryListenerConfig(EntryListenerConfig config)
Method Detail

getAsReadOnly

public EntryListenerConfigReadOnly getAsReadOnly()
Overrides:
getAsReadOnly in class ListenerConfig

getImplementation

public EntryListener 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 EntryListenerConfig setImplementation(EntryListener implementation)

isLocal

public boolean isLocal()
Overrides:
isLocal in class ListenerConfig

setLocal

public EntryListenerConfig setLocal(boolean local)

isIncludeValue

public boolean isIncludeValue()
Overrides:
isIncludeValue in class ListenerConfig

setIncludeValue

public EntryListenerConfig 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.