CompositeComponent, CompositeComponent.ExtendedCompositeComponent<CTX,CON>, ConfigurableLifeCycleComponent<CTX>, ConfigurableLifeCycleComponent.ConfigurableLifeCycleAutomaton<CTX>, LifeCycleComponent, LifeCycleComponent.LifeCycleAutomaton, LifeCycleComponent.UncheckedLifeCycleComponent, Stoppable.StopAutomaton, Stoppable.UncheckedStoppableCompositeComponentImpl, CompositeComponentImpl.ExtendedCompositeComponentImpl, ConfigurableLifeCycleAutomatonImpl, LifeCycleAutomatonImpl, LifeCycleAutomatonImpl.ManualLifeCycleAutomatonImplpublic interface Stoppable
| Modifier and Type | Interface | 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 | 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.StopException.StopRuntimeException - encapsulates the cause and is thrown upon
encountering a StopException exceptionCopyright © 2018. All rights reserved.