| Package | Description |
|---|---|
| no.digipost.concurrent |
| Modifier and Type | Method and Description |
|---|---|
static TargetState.TaskControl |
TargetState.TaskControl.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TargetState.TaskControl[] |
TargetState.TaskControl.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
default void |
TargetState.untilThen(Supplier<TargetState.TaskControl> loopingTask,
Consumer<? super Exception> exceptionHandler)
Run a task in a loop until the target state is reached (
TargetState.yet() returns true),
though the loop can be controlled to exit prematurely using EXIT. |
Copyright © 2019 Digipost. All rights reserved.