Class FakeCondition
java.lang.Object
uk.ac.ebi.utils.threading.fakelocks.FakeCondition
- All Implemented Interfaces:
Condition
- Author:
- brandizi
- Date:
- 9 Apr 2021
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
await()
boolean
long
awaitNanos
(long nanosTimeout) void
boolean
awaitUntil
(Date deadline) void
signal()
void
-
Constructor Details
-
FakeCondition
public FakeCondition()
-
-
Method Details
-
await
public void await() -
awaitUninterruptibly
public void awaitUninterruptibly()- Specified by:
awaitUninterruptibly
in interfaceCondition
-
awaitNanos
public long awaitNanos(long nanosTimeout) - Specified by:
awaitNanos
in interfaceCondition
-
await
-
awaitUntil
- Specified by:
awaitUntil
in interfaceCondition
-
signal
public void signal() -
signalAll
public void signalAll()
-