public class CacheSimpleEntryListenerConfig extends Object
| 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 |
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 |
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. |
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.Copyright © 2017 Hazelcast, Inc.. All Rights Reserved.