Class Overview
A dummy lock as a replacement for ReentrantLock to disable locking
Summary
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
From interface
java.util.concurrent.locks.Lock
abstract
void
|
lock()
|
abstract
void
|
lockInterruptibly()
|
abstract
Condition
|
newCondition()
|
abstract
boolean
|
tryLock()
|
abstract
boolean
|
tryLock(long arg0, TimeUnit arg1)
|
abstract
void
|
unlock()
|
|
Fields
a default instance, can be always used, as this Lock
is stateless.
Public Constructors
public
DummyConcurrentLock
()
Public Methods
public
void
lockInterruptibly
()
public
boolean
tryLock
()
public
boolean
tryLock
(long time, TimeUnit unit)