Package com.tangosol.net.events
Interface SessionLifecycleEvent
- All Superinterfaces:
Event<SessionLifecycleEvent.Type>
A
SessionLifecycleEvent
allows subscribers
to capture events pertaining to the lifecycle of
a Session
instance.- Since:
- 20.12
- Author:
- Jonathan Knight 2020.12.16
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic enum
The emitted event types for aSessionLifecycleEvent
. -
Method Summary
Modifier and TypeMethodDescriptionReturn theEventDispatcher
this event was raised by.TheSession
instance that this event is associated with.Methods inherited from interface com.tangosol.net.events.Event
getType, nextInterceptor
-
Method Details
-
getSession
Session getSession()TheSession
instance that this event is associated with.- Returns:
- the
Session
instance that this event is associated with
-
getDispatcher
SessionDispatcher getDispatcher()Description copied from interface:Event
Return theEventDispatcher
this event was raised by.- Specified by:
getDispatcher
in interfaceEvent<SessionLifecycleEvent.Type>
- Returns:
- the EventDispatcher this event was raised by
-