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
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumThe emitted event types for aSessionLifecycleEvent. -
Method Summary
Modifier and TypeMethodDescriptionReturn theEventDispatcherthis event was raised by.TheSessioninstance that this event is associated with.Methods inherited from interface com.tangosol.net.events.Event
getType, nextInterceptor
-
Method Details
-
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
-