public class CacheSimpleEntryListenerConfig extends Object implements IdentifiedDataSerializable
Constructor and Description |
---|
CacheSimpleEntryListenerConfig() |
CacheSimpleEntryListenerConfig(CacheSimpleEntryListenerConfig listenerConfig) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
CacheSimpleEntryListenerConfigReadOnly |
getAsReadOnly()
Deprecated.
this method will be removed in 4.0; it is meant for internal usage only
|
String |
getCacheEntryEventFilterFactory() |
String |
getCacheEntryListenerFactory() |
int |
getFactoryId()
Returns DataSerializableFactory factory ID for this class.
|
int |
getId()
Returns type identifier for this class.
|
int |
hashCode() |
boolean |
isOldValueRequired()
If old value is required, previously assigned values for the affected keys
will be sent to this cache entry listener implementation.
|
boolean |
isSynchronous()
If
true , this cache entry listener implementation will be called in a synchronous manner. |
void |
readData(ObjectDataInput in)
Reads fields from the input stream
|
void |
setCacheEntryEventFilterFactory(String cacheEntryEventFilterFactory) |
void |
setCacheEntryListenerFactory(String cacheEntryListenerFactory) |
void |
setOldValueRequired(boolean oldValueRequired)
If
true , previously assigned values for the affected keys will be sent to this
cache entry listener implementation. |
void |
setSynchronous(boolean synchronous)
If
true , this cache entry listener implementation will be called in a synchronous manner. |
String |
toString() |
void |
writeData(ObjectDataOutput out)
Writes object fields to output stream
|
public CacheSimpleEntryListenerConfig(CacheSimpleEntryListenerConfig listenerConfig)
public CacheSimpleEntryListenerConfig()
public CacheSimpleEntryListenerConfigReadOnly getAsReadOnly()
public String getCacheEntryListenerFactory()
public void setCacheEntryListenerFactory(String cacheEntryListenerFactory)
public String getCacheEntryEventFilterFactory()
public void setCacheEntryEventFilterFactory(String cacheEntryEventFilterFactory)
public boolean isOldValueRequired()
true
if old value is required, false
otherwisepublic void setOldValueRequired(boolean oldValueRequired)
true
, previously assigned values for the affected keys will be sent to this
cache entry listener implementation. Setting this attribute to true
creates additional traffic. Default value is false
.oldValueRequired
- true
to have old value required, false
otherwisepublic boolean isSynchronous()
true
, this cache entry listener implementation will be called in a synchronous manner.true
if this cache entry listener implementation will be called in a synchronous manner,
false
otherwisepublic void setSynchronous(boolean synchronous)
true
, this cache entry listener implementation will be called in a synchronous manner.synchronous
- true
to have this cache entry listener implementation called in a synchronous manner,
false
otherwise.public int getFactoryId()
IdentifiedDataSerializable
getFactoryId
in interface IdentifiedDataSerializable
public int getId()
IdentifiedDataSerializable
getId
in interface IdentifiedDataSerializable
public void writeData(ObjectDataOutput out) throws IOException
DataSerializable
writeData
in interface DataSerializable
out
- outputIOException
public void readData(ObjectDataInput in) throws IOException
DataSerializable
readData
in interface DataSerializable
in
- inputIOException
Copyright © 2017 Hazelcast, Inc.. All Rights Reserved.