public class ItemListenerConfig extends ListenerConfig
className, implementation| Constructor and Description |
|---|
ItemListenerConfig() |
ItemListenerConfig(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.
|
ItemListener |
getImplementation()
Returns the EventListener implementation.
|
int |
hashCode() |
boolean |
isIncludeValue() |
void |
readData(ObjectDataInput in)
Reads fields from the input stream
|
ItemListenerConfig |
setImplementation(ItemListener implementation) |
ItemListenerConfig |
setIncludeValue(boolean includeValue) |
String |
toString() |
void |
writeData(ObjectDataOutput out)
Writes object fields to output stream
|
getClassName, getFactoryId, isLocal, setClassName, setImplementationpublic ItemListenerConfig()
public ItemListenerConfig(String className, boolean includeValue)
public ItemListenerConfig(ItemListener implementation, boolean includeValue)
public ItemListenerConfig(ItemListenerConfig config)
public ItemListener getImplementation()
ListenerConfiggetImplementation in class ListenerConfigListenerConfig.setImplementation(java.util.EventListener)public ItemListenerConfig setImplementation(ItemListener implementation)
public boolean isIncludeValue()
isIncludeValue in class ListenerConfigpublic ItemListenerConfig 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 getClassId()
IdentifiedDataSerializablegetClassId in interface IdentifiedDataSerializablegetClassId 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 © 2021 Hazelcast, Inc.. All rights reserved.