|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ICondition
Distributed implementation of Condition.
An ICondition instance is created using ILock.newCondition(String)
HazelcastInstance instance = ...;
ILock lock = instance.getLock("lock");
ICondition cond = lock.newCondition("condition");
...
Condition,
ILock| Method Summary | |
|---|---|
void |
await()
|
boolean |
await(long time,
TimeUnit unit)
|
long |
awaitNanos(long nanosTimeout)
|
void |
awaitUninterruptibly()
|
boolean |
awaitUntil(Date deadline)
|
void |
signal()
|
void |
signalAll()
|
| Method Detail |
|---|
void await()
throws InterruptedException
await in interface ConditionInterruptedExceptionvoid awaitUninterruptibly()
awaitUninterruptibly in interface Condition
long awaitNanos(long nanosTimeout)
throws InterruptedException
awaitNanos in interface ConditionInterruptedException
boolean await(long time,
TimeUnit unit)
throws InterruptedException
await in interface ConditionInterruptedException
boolean awaitUntil(Date deadline)
throws InterruptedException
awaitUntil in interface ConditionInterruptedExceptionvoid signal()
signal in interface Conditionvoid signalAll()
signalAll in interface Condition
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||