|
Spring Web Flow | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.webflow.conversation.impl.JdkConcurrentConversationLock
public class JdkConcurrentConversationLock
A conversation lock that relies on a ReentrantLock
within Java 5's util.concurrent.locks
package.
Constructor Summary | |
---|---|
JdkConcurrentConversationLock(int timeoutSeconds)
|
Method Summary | |
---|---|
void |
lock()
Acquire the conversation lock. |
void |
unlock()
Release the conversation lock. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JdkConcurrentConversationLock(int timeoutSeconds)
Method Detail |
---|
public void lock() throws ConversationLockException
ConversationLock
lock
in interface ConversationLock
ConversationLockException
- if an exception is thrown attempting to acquire this lockpublic void unlock()
ConversationLock
unlock
in interface ConversationLock
|
Spring Web Flow | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |