Interface CacheLifecycleEvent
- All Superinterfaces:
Event<CacheLifecycleEvent.Type>
A CacheLifecycleEvent allows subscribers to capture events pertaining to
the lifecycle of a cache.
- Since:
- 12.2.1
- Author:
- bbc 2015.09.01
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic enum
The emitted event types for aCacheLifecycleEvent
. -
Method Summary
Modifier and TypeMethodDescriptionThe name of the cache that the event is associated with.Deprecated.Return theCacheLifecycleEventDispatcher
this event was raised by.The scope name that this event is associated with.The name of the service that the event is associated with.The optional Session name that this event is associated with.Methods inherited from interface com.tangosol.net.events.Event
getType, nextInterceptor
-
Method Details
-
getDispatcher
Deprecated.Return thePartitionedCacheDispatcher
this event was raised by ornull
if the dispatcher is not aPartitionedCacheDispatcher
.- Specified by:
getDispatcher
in interfaceEvent<CacheLifecycleEvent.Type>
- Returns:
- the
PartitionedCacheDispatcher
this event was raised by ornull
if the dispatcher is not aPartitionedCacheDispatcher
.
-
getEventDispatcher
CacheLifecycleEventDispatcher getEventDispatcher()Return theCacheLifecycleEventDispatcher
this event was raised by.- Returns:
- the CacheLifecycleEventDispatcher this event was raised by
-
getCacheName
String getCacheName()The name of the cache that the event is associated with.- Returns:
- the name of the cache that the event is associated with
-
getServiceName
String getServiceName()The name of the service that the event is associated with.- Returns:
- the name of the service that the event is associated with
null
if this event is not associated with a service
-
getScopeName
String getScopeName()The scope name that this event is associated with.- Returns:
- the scope name that this event is associated with or
null
if this event is not associated with a scope
-
getSessionName
String getSessionName()The optional Session name that this event is associated with.- Returns:
- the optional Session name that this event is associated with or
null
if this event is not associated with a Session
-
getEventDispatcher()