public class DummyLock extends java.lang.Object implements java.util.concurrent.locks.Lock
Constructor and Description |
---|
DummyLock()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
lock()
Deprecated.
|
void |
lockInterruptibly()
Deprecated.
|
java.util.concurrent.locks.Condition |
newCondition()
Deprecated.
Returns null.
|
boolean |
tryLock()
Deprecated.
|
boolean |
tryLock(long time,
java.util.concurrent.TimeUnit unit)
Deprecated.
|
void |
unlock()
Deprecated.
|
public DummyLock()
public void lock()
lock
in interface java.util.concurrent.locks.Lock
public void lockInterruptibly() throws java.lang.InterruptedException
lockInterruptibly
in interface java.util.concurrent.locks.Lock
java.lang.InterruptedException
public java.util.concurrent.locks.Condition newCondition()
newCondition
in interface java.util.concurrent.locks.Lock
public boolean tryLock()
tryLock
in interface java.util.concurrent.locks.Lock
public boolean tryLock(long time, java.util.concurrent.TimeUnit unit) throws java.lang.InterruptedException
tryLock
in interface java.util.concurrent.locks.Lock
java.lang.InterruptedException
public void unlock()
unlock
in interface java.util.concurrent.locks.Lock
${project.version} - Copyright © 2003-2015 The Apache Software Foundation.