Package com.tangosol.net.events
Interface SessionLifecycleEvent
-
- All Superinterfaces:
Event<SessionLifecycleEvent.Type>
public interface SessionLifecycleEvent extends Event<SessionLifecycleEvent.Type>
ASessionLifecycleEventallows subscribers to capture events pertaining to the lifecycle of aSessioninstance.- Since:
- 20.12
- Author:
- Jonathan Knight 2020.12.16
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classSessionLifecycleEvent.TypeThe emitted event types for aSessionLifecycleEvent.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SessionDispatchergetDispatcher()Return theEventDispatcherthis event was raised by.SessiongetSession()TheSessioninstance that this event is associated with.-
Methods inherited from interface com.tangosol.net.events.Event
getType, nextInterceptor
-
-
-
-
Method Detail
-
getSession
Session getSession()
TheSessioninstance that this event is associated with.- Returns:
- the
Sessioninstance that this event is associated with
-
getDispatcher
SessionDispatcher getDispatcher()
Description copied from interface:EventReturn theEventDispatcherthis event was raised by.- Specified by:
getDispatcherin interfaceEvent<SessionLifecycleEvent.Type>- Returns:
- the EventDispatcher this event was raised by
-
-