Interface CacheLifecycleEventDispatcher
- All Superinterfaces:
EventDispatcher
- All Known Subinterfaces:
PartitionedCacheDispatcher
A CacheLifecycleEventDispatcher raises
CacheLifecycleEvent
s.- Since:
- 20.12
- Author:
- Jonathan Knight 2020.11.16
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.tangosol.net.events.EventDispatcher
EventDispatcher.InterceptorRegistrationEvent<E extends Event<? extends Enum>>
-
Method Summary
Modifier and TypeMethodDescriptionReturn the name of thecache
that this dispatcher is associated with.Return theCacheService
associated with this dispatcher.Return the optional scope name that this dispatcher is associated with.Return the optional name of theservice
that this dispatcher is associated with.Methods inherited from interface com.tangosol.net.events.EventDispatcher
addEventInterceptor, addEventInterceptor, addEventInterceptor, getSupportedTypes, removeEventInterceptor, removeEventInterceptor
-
Method Details
-
getCacheName
String getCacheName()Return the name of thecache
that this dispatcher is associated with.- Returns:
- the cache name
-
getServiceName
String getServiceName()Return the optional name of theservice
that this dispatcher is associated with.- Returns:
- the service name that this dispatcher is associated with or
null
if this dispatcher is not associated with a cache service.
-
getCacheService
CacheService getCacheService()Return theCacheService
associated with this dispatcher.- Returns:
- the
CacheService
-
getScopeName
String getScopeName()Return the optional scope name that this dispatcher is associated with.- Returns:
- the scope name that this dispatcher is associated with or
null
if this dispatcher is not associated with a scope.
-