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()
Deprecated.
this method will be removed in 4.0; it is meant for internal usage only
|
int |
getId()
Returns type identifier for this class.
|
EntryListener |
getImplementation()
Returns the EventListener implementation.
|
int |
hashCode() |
boolean |
isIncludeValue() |
boolean |
isLocal() |
void |
readData(ObjectDataInput in)
Reads fields from the input stream
|
EntryListenerConfig |
setImplementation(EntryListener implementation) |
ListenerConfig |
setImplementation(EventListener implementation)
Sets the EventListener implementation.
|
EntryListenerConfig |
setIncludeValue(boolean includeValue) |
EntryListenerConfig |
setLocal(boolean local) |
String |
toString() |
void |
writeData(ObjectDataOutput out)
Writes object fields to output stream
|
getClassName, getFactoryId, setClassNamepublic 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 ListenerConfigpublic ListenerConfig setImplementation(EventListener implementation)
ListenerConfigIf a className was set, it will be removed.
setImplementation in class ListenerConfigimplementation - the EventListener implementationListenerConfig.setClassName(String),
ListenerConfig.getImplementation()public EntryListener getImplementation()
ListenerConfiggetImplementation in class ListenerConfigListenerConfig.setImplementation(java.util.EventListener)public EntryListenerConfig setImplementation(EntryListener implementation)
public boolean isLocal()
isLocal in class ListenerConfigpublic EntryListenerConfig setLocal(boolean local)
public boolean isIncludeValue()
isIncludeValue in class ListenerConfigpublic EntryListenerConfig setIncludeValue(boolean includeValue)
public String toString()
toString in class ListenerConfigpublic boolean equals(Object o)
equals in class ListenerConfigpublic int hashCode()
hashCode in class ListenerConfigpublic int getId()
IdentifiedDataSerializablegetId in interface IdentifiedDataSerializablegetId in class ListenerConfigpublic void writeData(ObjectDataOutput out) throws IOException
DataSerializablewriteData in interface DataSerializablewriteData in class ListenerConfigout - outputIOException - if an I/O error occurs. In particular,
an IOException may be thrown if the
output stream has been closed.public void readData(ObjectDataInput in) throws IOException
DataSerializablereadData in interface DataSerializablereadData in class ListenerConfigin - inputIOException - if an I/O error occurs. In particular,
an IOException may be thrown if the
input stream has been closed.Copyright © 2020 Hazelcast, Inc.. All Rights Reserved.