- java.lang.Object
-
- org.hsqldb.lib.ReadWriteLockDummy.LockDummy
-
- All Implemented Interfaces:
java.util.concurrent.locks.Lock
- Enclosing class:
- ReadWriteLockDummy
public static class ReadWriteLockDummy.LockDummy extends java.lang.Object implements java.util.concurrent.locks.Lock
-
-
Constructor Summary
Constructors Constructor Description LockDummy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
lock()
void
lockInterruptibly()
java.util.concurrent.locks.Condition
newCondition()
boolean
tryLock()
boolean
tryLock(long time, java.util.concurrent.TimeUnit unit)
void
unlock()
-
-
-
Method Detail
-
lock
public void lock()
- Specified by:
lock
in interfacejava.util.concurrent.locks.Lock
-
lockInterruptibly
public void lockInterruptibly()
- Specified by:
lockInterruptibly
in interfacejava.util.concurrent.locks.Lock
-
tryLock
public boolean tryLock()
- Specified by:
tryLock
in interfacejava.util.concurrent.locks.Lock
-
tryLock
public boolean tryLock(long time, java.util.concurrent.TimeUnit unit)
- Specified by:
tryLock
in interfacejava.util.concurrent.locks.Lock
-
unlock
public void unlock()
- Specified by:
unlock
in interfacejava.util.concurrent.locks.Lock
-
newCondition
public java.util.concurrent.locks.Condition newCondition()
- Specified by:
newCondition
in interfacejava.util.concurrent.locks.Lock
-
-