public interface Stoppable
Modifier and Type | Interface and Description |
---|---|
static interface |
Stoppable.StopAutomaton
The
Stoppable.StopAutomaton interface defines those methods related to the
stop life-cycle. |
static interface |
Stoppable.StopBuilder<B extends Stoppable.StopBuilder<B>>
To enable the
Stoppable functionality to be invoked in a builder
chain. |
static interface |
Stoppable.UncheckedStoppable
See
Stoppable without any checked exception being declared. |
Modifier and Type | Method and Description |
---|---|
void |
stop()
Stops the component.
|
default void |
stopUnchecked()
Stops the component by calling
stop() without you to require
catching an StopException . |
void stop() throws StopException
StopException
- Thrown in case stopping fails.default void stopUnchecked()
stop()
without you to require
catching an StopException
.org.refcodes.exception.HiddenException
- encapsulates the cause and is thrown upon
encountering a StopException
exceptionCopyright © 2017. All rights reserved.