public final class CacheEventDescriptor
extends java.lang.Object
Modifier and Type | Method | Description |
---|---|---|
CacheDataModificationListener |
getCacheDataNotificationListener() |
Gets the Listener that triggers when any data changes in cache.
|
java.lang.String |
getCacheName() |
Name of the cache registered against
|
EventDataFilter |
getDataFilter() |
Gets the datafilter of the descriptor.
|
boolean |
getIsRegistered() |
Returns true if the linked event delegate is registered, returns false when the descriptor has been consumed
This property is ThreadSafe.
|
java.util.EnumSet<EventType> |
getRegisteredAgainst() |
Gets the Event Types against which the descriptor is registered.
|
void |
setCacheName(java.lang.String value) |
This method is intended to be called internally.
|
void |
setDataFilter(EventDataFilter value) |
Sets the value of the EventDataFilter.
|
void |
setIsRegistered(boolean value) |
This method is intended to be called internally.
|
void |
setRegisteredAgainst(java.util.EnumSet<EventType> value) |
Sets the Event Types against which the descriptor is registered.
|
void |
settCacheDataNotificationListener(CacheDataModificationListener listener) |
Sets the Listener that triggers when any data changes in cache.
|
public EventDataFilter getDataFilter()
public void setDataFilter(EventDataFilter value)
value
- EventDataFilter value.public boolean getIsRegistered()
public void setIsRegistered(boolean value)
value
- public java.lang.String getCacheName()
public void setCacheName(java.lang.String value)
value
- public java.util.EnumSet<EventType> getRegisteredAgainst()
public void setRegisteredAgainst(java.util.EnumSet<EventType> value)
value
- The enumset containing all the registered event types.public CacheDataModificationListener getCacheDataNotificationListener()
public void settCacheDataNotificationListener(CacheDataModificationListener listener)
listener
- The instance of data modification listener.