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