public class JdkConcurrentConversationLock extends java.lang.Object implements ConversationLock
ReentrantLock within Java 5's util.concurrent.locks
package.| Constructor and Description |
|---|
JdkConcurrentConversationLock(int timeoutSeconds) |
| Modifier and Type | Method and Description |
|---|---|
void |
lock()
Acquire the conversation lock.
|
void |
unlock()
Release the conversation lock.
|
public JdkConcurrentConversationLock(int timeoutSeconds)
public void lock()
throws ConversationLockException
ConversationLocklock in interface ConversationLockConversationLockException - if an exception is thrown attempting to acquire this lockpublic void unlock()
ConversationLockunlock in interface ConversationLock