public class EntryListenerConfig extends ListenerConfig
Modifier and Type | Class and Description |
---|---|
static class |
EntryListenerConfig.MapListenerToEntryListenerAdapter
Wraps a MapListener into an EntryListener.
|
className, implementation
Constructor and Description |
---|
EntryListenerConfig() |
EntryListenerConfig(EntryListener implementation,
boolean local,
boolean includeValue) |
EntryListenerConfig(EntryListenerConfig config) |
EntryListenerConfig(MapListener implementation,
boolean local,
boolean includeValue) |
EntryListenerConfig(String className,
boolean local,
boolean includeValue) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
EntryListenerConfigReadOnly |
getAsReadOnly() |
EntryListener |
getImplementation()
Returns the EventListener implementation.
|
int |
hashCode() |
boolean |
isIncludeValue() |
boolean |
isLocal() |
EntryListenerConfig |
setImplementation(EntryListener implementation) |
ListenerConfig |
setImplementation(EventListener implementation)
Sets the EventListener implementation.
|
EntryListenerConfig |
setIncludeValue(boolean includeValue) |
EntryListenerConfig |
setLocal(boolean local) |
String |
toString() |
getClassName, setClassName
public EntryListenerConfig()
public EntryListenerConfig(String className, boolean local, boolean includeValue)
public EntryListenerConfig(EntryListener implementation, boolean local, boolean includeValue)
public EntryListenerConfig(MapListener implementation, boolean local, boolean includeValue)
public EntryListenerConfig(EntryListenerConfig config)
public EntryListenerConfigReadOnly getAsReadOnly()
getAsReadOnly
in class ListenerConfig
public ListenerConfig setImplementation(EventListener implementation)
ListenerConfig
setImplementation
in class ListenerConfig
implementation
- the EventListener implementation.ListenerConfig.setClassName(String)
,
ListenerConfig.getImplementation()
public EntryListener getImplementation()
ListenerConfig
getImplementation
in class ListenerConfig
ListenerConfig.setImplementation(java.util.EventListener)
public EntryListenerConfig setImplementation(EntryListener implementation)
public boolean isLocal()
isLocal
in class ListenerConfig
public EntryListenerConfig setLocal(boolean local)
public boolean isIncludeValue()
isIncludeValue
in class ListenerConfig
public EntryListenerConfig setIncludeValue(boolean includeValue)
public String toString()
toString
in class ListenerConfig
public boolean equals(Object o)
equals
in class ListenerConfig
public int hashCode()
hashCode
in class ListenerConfig
Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.