public interface ChangeableRunLevelFuture extends RunLevelFuture
Modifier and Type | Method and Description |
---|---|
int |
changeProposedLevel(int proposedLevel)
Changes the proposedLevel of this future.
|
cancel, getProposedLevel, isDown, isUp
int changeProposedLevel(int proposedLevel) throws java.lang.IllegalStateException
This method may be called from the RunLevelListener.onProgress(ChangeableRunLevelFuture, int)
callback
proposedLevel
- The new proposed leveljava.lang.IllegalStateException
- if this is called on a future that is done