public abstract class Waiter extends Object
It will throw Waiter.WasInterrupted if
the current thread is interrupted while
doWait() is blocking.
| Modifier and Type | Class and Description |
|---|---|
static class |
Waiter.WasInterrupted |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
doWait()
Invoking this method will do nothing but block for
any duration decided by the instance it is
invoked on.
|
static Waiter |
wait(Duration duration) |
static Waiter |
wait(Duration duration,
String waiterName) |
public abstract void doWait()
Waiter.WasInterrupted - if the current thread is
interrupted while the
method is blocking.Copyright © 2018 Digipost. All rights reserved.