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) |
ItemListenerConfigReadOnly |
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.
|
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, setImplementation
public ItemListenerConfig()
public ItemListenerConfig(String className, boolean includeValue)
public ItemListenerConfig(ItemListener implementation, boolean includeValue)
public ItemListenerConfig(ItemListenerConfig config)
public ItemListenerConfigReadOnly getAsReadOnly()
getAsReadOnly
in class ListenerConfig
public ItemListener getImplementation()
ListenerConfig
getImplementation
in class ListenerConfig
ListenerConfig.setImplementation(java.util.EventListener)
public ItemListenerConfig setImplementation(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 getId()
IdentifiedDataSerializable
getId
in interface IdentifiedDataSerializable
getId
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 © 2018 Hazelcast, Inc.. All Rights Reserved.