| Constructor and Description |
|---|
DummyLock()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
lock()
Deprecated.
|
void |
lockInterruptibly()
Deprecated.
|
Condition |
newCondition()
Deprecated.
Returns null.
|
boolean |
tryLock()
Deprecated.
|
boolean |
tryLock(long time,
TimeUnit unit)
Deprecated.
|
void |
unlock()
Deprecated.
|
public DummyLock()
public void lockInterruptibly() throws InterruptedException
lockInterruptibly in interface LockInterruptedExceptionpublic Condition newCondition()
newCondition in interface Lockpublic boolean tryLock(long time, TimeUnit unit) throws InterruptedException
tryLock in interface LockInterruptedException5.6.4 - Copyright © 2003-2021 The Apache Software Foundation.