java.lang.Object
org.tentackle.task.DefaultTaskDispatcherLock
org.tentackle.session.SessionTaskDispatcherLock
- All Implemented Interfaces:
TaskDispatcherLock
Lock for the DefaultSessionTaskDispatcher.
- Author:
- harald
-
Constructor Summary
ConstructorDescriptionSessionTaskDispatcherLock
(DefaultSessionTaskDispatcher dispatcher, Object key) Creates a dispatcher lock. -
Method Summary
Modifier and TypeMethodDescriptionGets the session associated to this lock.Methods inherited from class org.tentackle.task.DefaultTaskDispatcherLock
getKey, toString
-
Constructor Details
-
SessionTaskDispatcherLock
Creates a dispatcher lock.- Parameters:
dispatcher
- the locked dispatcherkey
- the locking key
-
-
Method Details
-
getTaskDispatcher
- Specified by:
getTaskDispatcher
in interfaceTaskDispatcherLock
- Overrides:
getTaskDispatcher
in classDefaultTaskDispatcherLock
-
getSession
Gets the session associated to this lock.- Returns:
- the session
-