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 Lock
InterruptedException
public Condition newCondition()
newCondition
in interface Lock
public boolean tryLock(long time, TimeUnit unit) throws InterruptedException
tryLock
in interface Lock
InterruptedException
5.6.3 - Copyright © 2003-2021 The Apache Software Foundation.