Modifier and Type | Field and Description |
---|---|
static NoOpCondition |
INSTANCE |
Modifier and Type | Method and Description |
---|---|
void |
await() |
boolean |
await(long l,
TimeUnit timeUnit) |
long |
awaitNanos(long l) |
void |
awaitUninterruptibly() |
boolean |
awaitUntil(@NotNull Date date) |
void |
signal() |
void |
signalAll() |
public static final NoOpCondition INSTANCE
public void await() throws InterruptedException
await
in interface Condition
InterruptedException
public void awaitUninterruptibly()
awaitUninterruptibly
in interface Condition
public long awaitNanos(long l)
awaitNanos
in interface Condition
public boolean await(long l, TimeUnit timeUnit) throws InterruptedException
await
in interface Condition
InterruptedException
public boolean awaitUntil(@NotNull @NotNull Date date)
awaitUntil
in interface Condition
Copyright © 2022. All rights reserved.