Class JdkConcurrentConversationLock
java.lang.Object
org.springframework.webflow.conversation.impl.JdkConcurrentConversationLock
- All Implemented Interfaces:
Serializable,ConversationLock
A conversation lock that relies on a
ReentrantLock within Java 5's util.concurrent.locks
package.- Author:
- Keith Donald
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
JdkConcurrentConversationLock
public JdkConcurrentConversationLock(int timeoutSeconds)
-
-
Method Details
-
lock
Description copied from interface:ConversationLockAcquire the conversation lock.- Specified by:
lockin interfaceConversationLock- Throws:
ConversationLockException- if an exception is thrown attempting to acquire this lock
-
unlock
public void unlock()Description copied from interface:ConversationLockRelease the conversation lock.- Specified by:
unlockin interfaceConversationLock
-