public class EntryListenerConfig extends ListenerConfig
EntryListener
className, implementation
Constructor and Description |
---|
EntryListenerConfig() |
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) |
int |
getClassId()
Returns type identifier for this class.
|
MapListener |
getImplementation()
Returns the EventListener implementation.
|
int |
hashCode() |
boolean |
isIncludeValue() |
boolean |
isLocal() |
void |
readData(ObjectDataInput in)
Reads fields from the input stream
|
ListenerConfig |
setImplementation(EventListener implementation)
Sets the EventListener implementation.
|
EntryListenerConfig |
setImplementation(MapListener implementation) |
EntryListenerConfig |
setIncludeValue(boolean includeValue) |
EntryListenerConfig |
setLocal(boolean local) |
String |
toString() |
void |
writeData(ObjectDataOutput out)
Writes object fields to output stream
|
getClassName, getFactoryId, setClassName
public EntryListenerConfig()
public EntryListenerConfig(String className, boolean local, boolean includeValue)
public EntryListenerConfig(MapListener implementation, boolean local, boolean includeValue)
public EntryListenerConfig(EntryListenerConfig config)
public ListenerConfig setImplementation(EventListener implementation)
ListenerConfig
If a className was set, it will be removed.
setImplementation
in class ListenerConfig
implementation
- the EventListener implementationListenerConfig.setClassName(String)
,
ListenerConfig.getImplementation()
public EntryListenerConfig setImplementation(MapListener implementation)
public MapListener getImplementation()
ListenerConfig
getImplementation
in class ListenerConfig
ListenerConfig.setImplementation(java.util.EventListener)
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
public int getClassId()
IdentifiedDataSerializable
getClassId
in interface IdentifiedDataSerializable
getClassId
in class ListenerConfig
public void writeData(ObjectDataOutput out) throws IOException
DataSerializable
writeData
in interface DataSerializable
writeData
in class ListenerConfig
out
- 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
DataSerializable
readData
in interface DataSerializable
readData
in class ListenerConfig
in
- inputIOException
- if an I/O error occurs. In particular,
an IOException
may be thrown if the
input stream has been closed.Copyright © 2024 Hazelcast, Inc.. All rights reserved.