Constructor and Description |
---|
LockAdapter(Lock delegate)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
lock()
Deprecated.
|
void |
lockInterruptibly()
Deprecated.
This implementation does not support interruption, so InterruptedException is never thrown.
|
Condition |
newCondition()
Deprecated.
Not supported by this implementation.
|
boolean |
tryLock()
Deprecated.
|
boolean |
tryLock(long time,
TimeUnit unit)
Deprecated.
This implementation does not support timeouts, so InterruptedException is never thrown.
|
void |
unlock()
Deprecated.
|
public LockAdapter(Lock delegate)
public void lockInterruptibly()
lockInterruptibly
in interface Lock
public boolean tryLock(long time, TimeUnit unit)
public Condition newCondition() throws UnsupportedOperationException
newCondition
in interface Lock
UnsupportedOperationException
- alwaysCopyright © 2003–2016 Atlassian. All rights reserved.