Package com.tangosol.net.events
Interface SessionLifecycleEvent
-
- All Superinterfaces:
Event<SessionLifecycleEvent.Type>
public interface SessionLifecycleEvent extends Event<SessionLifecycleEvent.Type>
ASessionLifecycleEvent
allows subscribers to capture events pertaining to the lifecycle of aSession
instance.- Since:
- 20.12
- Author:
- Jonathan Knight 2020.12.16
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
SessionLifecycleEvent.Type
The emitted event types for aSessionLifecycleEvent
.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SessionDispatcher
getDispatcher()
Return theEventDispatcher
this event was raised by.Session
getSession()
TheSession
instance that this event is associated with.-
Methods inherited from interface com.tangosol.net.events.Event
getType, nextInterceptor
-
-
-
-
Method Detail
-
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
-
-