public interface Killable extends Priorized
The framework lifecycle is split into three phases:
DEFAULT_PRIORITY
Modifier and Type | Method and Description |
---|---|
void |
awaitTermination()
Called after
Stoppable.stopped() has been called to wait until all tasks are fully finished. |
default int |
getPriority()
Returns the priority of this element.
|
default int getPriority()
Priorized
getPriority
in interface Priorized
void awaitTermination()
Stoppable.stopped()
has been called to wait until all tasks are fully finished.
This method may block for a certain amount of time to permit the subsystem to shut down properly. However, it should not block infinitely...
Copyright © 2018. All rights reserved.