public class ItemListenerConfig extends ListenerConfig
className, implementation
Constructor and Description |
---|
ItemListenerConfig() |
ItemListenerConfig(com.hazelcast.collection.ItemListener implementation,
boolean includeValue) |
ItemListenerConfig(ItemListenerConfig config) |
ItemListenerConfig(String className,
boolean includeValue) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
int |
getClassId()
Returns type identifier for this class.
|
com.hazelcast.collection.ItemListener |
getImplementation()
Returns the EventListener implementation.
|
int |
hashCode() |
boolean |
isIncludeValue() |
void |
readData(ObjectDataInput in)
Reads fields from the input stream
|
ItemListenerConfig |
setImplementation(com.hazelcast.collection.ItemListener implementation) |
ItemListenerConfig |
setIncludeValue(boolean includeValue) |
String |
toString() |
void |
writeData(ObjectDataOutput out)
Writes object fields to output stream
|
getClassName, getFactoryId, isLocal, setClassName, setImplementation
public ItemListenerConfig()
public ItemListenerConfig(String className, boolean includeValue)
public ItemListenerConfig(com.hazelcast.collection.ItemListener implementation, boolean includeValue)
public ItemListenerConfig(ItemListenerConfig config)
public com.hazelcast.collection.ItemListener getImplementation()
ListenerConfig
getImplementation
in class ListenerConfig
ListenerConfig.setImplementation(java.util.EventListener)
public ItemListenerConfig setImplementation(com.hazelcast.collection.ItemListener implementation)
public boolean isIncludeValue()
isIncludeValue
in class ListenerConfig
public ItemListenerConfig 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 © 2022 Hazelcast, Inc.. All rights reserved.