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
-
Method Summary
-
Constructor Details
-
JdkConcurrentConversationLock
public JdkConcurrentConversationLock(int timeoutSeconds)
-
-
Method Details
-
lock
Description copied from interface:ConversationLock
Acquire the conversation lock.- Specified by:
lock
in interfaceConversationLock
- Throws:
ConversationLockException
- if an exception is thrown attempting to acquire this lock
-
unlock
public void unlock()Description copied from interface:ConversationLock
Release the conversation lock.- Specified by:
unlock
in interfaceConversationLock
-