public class JdkConcurrentConversationLock extends java.lang.Object implements ConversationLock
ReentrantLock within Java 5's util.concurrent.locks
package.| Constructor and Description |
|---|
JdkConcurrentConversationLock(int timeoutSeconds) |
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