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.Lockpublic void lockInterruptibly() throws java.lang.InterruptedException
lockInterruptibly in interface java.util.concurrent.locks.Lockjava.lang.InterruptedExceptionpublic java.util.concurrent.locks.Condition newCondition()
newCondition in interface java.util.concurrent.locks.Lockpublic boolean tryLock()
tryLock in interface java.util.concurrent.locks.Lockpublic boolean tryLock(long time, java.util.concurrent.TimeUnit unit) throws java.lang.InterruptedException
tryLock in interface java.util.concurrent.locks.Lockjava.lang.InterruptedExceptionpublic void unlock()
unlock in interface java.util.concurrent.locks.Lock${project.version} - Copyright © 2003-2015 The Apache Software Foundation.