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
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumThe emitted event types for aCacheLifecycleEvent. -
Method Summary
Modifier and TypeMethodDescriptionThe name of the cache that the event is associated with.Deprecated.Return theCacheLifecycleEventDispatcherthis 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 thePartitionedCacheDispatcherthis event was raised by ornullif the dispatcher is not aPartitionedCacheDispatcher.- Specified by:
getDispatcherin interfaceEvent<CacheLifecycleEvent.Type>- Returns:
- the
PartitionedCacheDispatcherthis event was raised by ornullif the dispatcher is not aPartitionedCacheDispatcher.
-
getEventDispatcher
CacheLifecycleEventDispatcher getEventDispatcher()Return theCacheLifecycleEventDispatcherthis 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
nullif 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
nullif 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
nullif this event is not associated with a Session
-
getEventDispatcher()