Class FakeLock
- java.lang.Object
-
- jetbrains.buildServer.serverSide.util.FakeLock
-
-
Constructor Summary
Constructors Constructor Description FakeLock()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
lock()
void
lockInterruptibly()
Condition
newCondition()
String
toString()
boolean
tryLock()
boolean
tryLock(long time, TimeUnit unit)
void
unlock()
-
-
-
Method Detail
-
lockInterruptibly
public void lockInterruptibly() throws InterruptedException
- Specified by:
lockInterruptibly
in interfaceLock
- Throws:
InterruptedException
-
newCondition
public Condition newCondition()
- Specified by:
newCondition
in interfaceLock
-
-