steps similar to runnables;
loops provide direct support for an
IdleStrategy and an
ExceptionHandler.See: Description
| Interface | Description |
|---|---|
| ComposableStep |
Extension of
Step with enhanced functionality facilitating the composition of step chains. |
| ExceptionHandler | |
| IdleStrategy |
Handler to define strategy in idle loops when no work is performed.
|
| LoopCondition |
While condition for a
Loop. |
| Shutdownable |
Shutdownable is a running service such as a thread that can be shutdown orderly or abruptly in a way similar to
ExecutorService. |
| Step |
Step is similar to
Runnable but returns true if substantial work has been performed. |
| StepProvider |
Provider for
Step distinguishing between normal (main loop) steps and shutdown steps that are used during the
termination phase of a ShutdownableThread as returned by
Loop#start(..). |
| Stoppable |
Stoppable is a running service such as a thread that can be stopped either by calling
stop or via Stoppable.close() method of AutoCloseable. |
| Class | Description |
|---|---|
| Loop |
A loop performing a series of
steps in an iterative manner as long as the LoopCondition is true. |
| ShutdownableThread |
A thread that performs a main
runnable in a new thread and another shutdown runnable the
graceful ShutdownableThread.shutdown() phase of the thread. |
| StoppableThread |
A thread that performs a
runnable in a new thread. |
steps similar to runnables;
loops provide direct support for an
IdleStrategy and an
ExceptionHandler.