public interface Pausable extends ManageableLifecycle
Modifier and Type | Method and Description |
---|---|
default boolean |
isPaused()
Check if the endpoint is paused.
|
void |
pause()
Pause the endpoint.
|
void |
resume()
Resume the endpoint if paused.
|
isRunning, start, stop
@ManagedOperation(description="Pause the component") void pause()
@ManagedOperation(description="Resume the component") void resume()
@ManagedAttribute(description="Is the component paused?") default boolean isPaused()