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
get, get, isCancelled, isDone
int changeProposedLevel(int proposedLevel) throws IllegalStateException
This method may be called from the RunLevelListener.onProgress(ChangeableRunLevelFuture, int)
callback
proposedLevel
- The new proposed levelIllegalStateException
- if this is called on a future that is doneCopyright © 2009-2017, Oracle and/or its affiliates. All Rights Reserved.