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
  • Method Details

    • getDispatcher

      Deprecated.
      Return the PartitionedCacheDispatcher this event was raised by or null if the dispatcher is not a PartitionedCacheDispatcher.
      Specified by:
      getDispatcher in interface Event<CacheLifecycleEvent.Type>
      Returns:
      the PartitionedCacheDispatcher this event was raised by or null if the dispatcher is not a PartitionedCacheDispatcher.
    • getEventDispatcher

      CacheLifecycleEventDispatcher getEventDispatcher()
      Return the CacheLifecycleEventDispatcher 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