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 class
CacheLifecycleEvent.Type
The emitted event types for aCacheLifecycleEvent
.
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description String
getCacheName()
The name of the cache that the event is associated with.PartitionedCacheDispatcher
getDispatcher()
Deprecated.CacheLifecycleEventDispatcher
getEventDispatcher()
Return theCacheLifecycleEventDispatcher
this event was raised by.String
getScopeName()
The scope name that this event is associated with.String
getServiceName()
The name of the service that the event is associated with.String
getSessionName()
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 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
-
-