Interface CacheLifecycleEvent
-
- All Superinterfaces:
Event<CacheLifecycleEvent.Type>
public interface CacheLifecycleEvent extends 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 Classes Modifier and Type Interface Description static classCacheLifecycleEvent.TypeThe emitted event types for aCacheLifecycleEvent.
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description StringgetCacheName()The name of the cache that the event is associated with.PartitionedCacheDispatchergetDispatcher()Deprecated.CacheLifecycleEventDispatchergetEventDispatcher()Return theCacheLifecycleEventDispatcherthis event was raised by.StringgetScopeName()The scope name that this event is associated with.StringgetServiceName()The name of the service that the event is associated with.StringgetSessionName()The optional Session name that this event is associated with.-
Methods inherited from interface com.tangosol.net.events.Event
getType, nextInterceptor
-
-
-
-
Method Detail
-
getDispatcher
@Deprecated PartitionedCacheDispatcher 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
-
-