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
ConversationLock
lock
in interface ConversationLock
ConversationLockException
- if an exception is thrown attempting to acquire this lockpublic void unlock()
ConversationLock
unlock
in interface ConversationLock