Uses of Interface
org.glassfish.hk2.runlevel.RunLevelFuture
Packages that use RunLevelFuture
-
Uses of RunLevelFuture in org.glassfish.hk2.runlevel
Subinterfaces of RunLevelFuture in org.glassfish.hk2.runlevelFields in org.glassfish.hk2.runlevel declared as RunLevelFutureMethods in org.glassfish.hk2.runlevel that return RunLevelFutureModifier and TypeMethodDescriptionCurrentlyRunningException.getCurrentJob()
Gets the job current in progressRunLevelController.getCurrentProceeding()
This method will return the current proceedTo that the RunLevelController is working on, or it will return null if the controller is not currently moving up or downRunLevelController.proceedToAsync
(int runLevel) Causes this RunLevelController to move to the specified run level for allRunLevel
instances, orchestrating the appropriate lifecycle events.Methods in org.glassfish.hk2.runlevel with parameters of type RunLevelFutureModifier and TypeMethodDescriptionvoid
RunLevelListener.onCancelled
(RunLevelFuture currentJob, int levelAchieved) Called when an RunLevelController implementation's proceedTo() operation has been canceled for some reason.void
RunLevelListener.onError
(RunLevelFuture currentJob, ErrorInformation errorInformation) Called when a service throws an exception during a proceedTo operationConstructors in org.glassfish.hk2.runlevel with parameters of type RunLevelFutureModifierConstructorDescriptionCurrentlyRunningException
(RunLevelFuture runLevelFuture) Constructor with job that is in progress -
Uses of RunLevelFuture in org.glassfish.hk2.runlevel.internal
Classes in org.glassfish.hk2.runlevel.internal that implement RunLevelFutureModifier and TypeClassDescriptionclass
This is the implementation of RunLevelFuture.class
This object is used to wrap the internal CurrentTaskFuture which is a ChangeableRunLevelFuture.Methods in org.glassfish.hk2.runlevel.internal that return RunLevelFutureModifier and TypeMethodDescriptionAsyncRunLevelContext.getCurrentFuture()
Gets the current taskRunLevelControllerImpl.getCurrentProceeding()
AsyncRunLevelContext.proceedTo
(int level) This method is called to change the proceedTo level of the systemRunLevelControllerImpl.proceedToAsync
(int runLevel)