Constructor and Description |
---|
LockAdapter(String lockId,
LockGroup lockGroup) |
Modifier and Type | Method and Description |
---|---|
void |
lock() |
void |
lockInterruptibly() |
Condition |
newCondition() |
boolean |
tryLock() |
boolean |
tryLock(long timeout,
TimeUnit timeUnit) |
void |
unlock() |
public void lockInterruptibly() throws InterruptedException
lockInterruptibly
in interface Lock
InterruptedException
public boolean tryLock(long timeout, TimeUnit timeUnit) throws InterruptedException
tryLock
in interface Lock
InterruptedException
public Condition newCondition()
newCondition
in interface Lock
Copyright © 2003–2015 MuleSoft, Inc.. All rights reserved.