- get() - Method in class org.glassfish.hk2.runlevel.internal.CurrentTaskFuture
-
- get(long, TimeUnit) - Method in class org.glassfish.hk2.runlevel.internal.CurrentTaskFuture
-
- get() - Method in class org.glassfish.hk2.runlevel.internal.CurrentTaskFutureWrapper
-
- get(long, TimeUnit) - Method in class org.glassfish.hk2.runlevel.internal.CurrentTaskFutureWrapper
-
- getAction() - Method in interface org.glassfish.hk2.runlevel.ErrorInformation
-
Returns the action the system will take
- getAction() - Method in class org.glassfish.hk2.runlevel.internal.ErrorInformationImpl
-
- getCancelTimeoutMilliseconds() - Method in class org.glassfish.hk2.runlevel.internal.RunLevelControllerImpl
-
- getCancelTimeoutMilliseconds() - Method in interface org.glassfish.hk2.runlevel.RunLevelController
-
Returns the amount of time in milliseconds
the run level service will
wait after a cancel call before orphaning
services that have not yet completed execution
- getCurrentFuture() - Method in class org.glassfish.hk2.runlevel.internal.AsyncRunLevelContext
-
Gets the current task
- getCurrentJob() - Method in exception org.glassfish.hk2.runlevel.CurrentlyRunningException
-
Gets the job current in progress
- getCurrentProceeding() - Method in class org.glassfish.hk2.runlevel.internal.RunLevelControllerImpl
-
- getCurrentProceeding() - Method in interface org.glassfish.hk2.runlevel.RunLevelController
-
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 down
- getCurrentRunLevel() - Method in class org.glassfish.hk2.runlevel.internal.RunLevelControllerImpl
-
- getCurrentRunLevel() - Method in interface org.glassfish.hk2.runlevel.RunLevelController
-
The current run level state.
- getError() - Method in interface org.glassfish.hk2.runlevel.ErrorInformation
-
Returns the throwable that caused the error
- getError() - Method in class org.glassfish.hk2.runlevel.internal.ErrorInformationImpl
-
- getExecutor() - Method in class org.glassfish.hk2.runlevel.internal.RunLevelControllerImpl
-
- getExecutor() - Method in interface org.glassfish.hk2.runlevel.RunLevelController
-
Gets the executor that will be used by the system
when executing tasks.
- getFailedDescriptor() - Method in interface org.glassfish.hk2.runlevel.ErrorInformation
-
Returns the descriptor associated with this failure,
or null if the descriptor could not be determined
- getFailedDescriptor() - Method in class org.glassfish.hk2.runlevel.internal.ErrorInformationImpl
-
- getMaximumUseableThreads() - Method in class org.glassfish.hk2.runlevel.internal.RunLevelControllerImpl
-
- getMaximumUseableThreads() - Method in interface org.glassfish.hk2.runlevel.RunLevelController
-
Returns the current number of maximum useable threads
- getProposedLevel() - Method in class org.glassfish.hk2.runlevel.internal.CurrentTaskFuture
-
- getProposedLevel() - Method in class org.glassfish.hk2.runlevel.internal.CurrentTaskFutureWrapper
-
- getProposedLevel() - Method in interface org.glassfish.hk2.runlevel.RunLevelFuture
-
This gets the level that this future job is attempting
to get to
- getRunLevelAnnotation(int) - Static method in class org.glassfish.hk2.runlevel.RunLevelServiceUtilities
-
Returns a
RunLevel scope annotation with the
given value and RUNLEVEL_MODE_VALIDATING as the mode
- getRunLevelAnnotation(int, int) - Static method in class org.glassfish.hk2.runlevel.RunLevelServiceUtilities
-
Returns a
RunLevel scope annotation with the
given value and mode
- getRunLevelMode(ServiceLocator, Descriptor) - Static method in class org.glassfish.hk2.runlevel.utilities.Utilities
-
Get the run level mode from the metadata of the given descriptor.
- getRunLevelValue(ServiceLocator, Descriptor) - Static method in class org.glassfish.hk2.runlevel.utilities.Utilities
-
Get the run level value from the metadata of the given descriptor.
- getScope() - Method in class org.glassfish.hk2.runlevel.RunLevelContext
-
- getThreadingPolicy() - Method in class org.glassfish.hk2.runlevel.internal.RunLevelControllerImpl
-
- getThreadingPolicy() - Method in interface org.glassfish.hk2.runlevel.RunLevelController
-
Returns the threading policy currently being used by
this controller
- RunLevel - Annotation Type in org.glassfish.hk2.runlevel
-
Defines a run/start level.
- RUNLEVEL_MODE_META_TAG - Static variable in annotation type org.glassfish.hk2.runlevel.RunLevel
-
The metadata key for run level mode.
- RUNLEVEL_MODE_NON_VALIDATING - Static variable in annotation type org.glassfish.hk2.runlevel.RunLevel
-
Services set to have a non-validating run level mode will be
activated by their associated run level service or through
injection into another service.
- RUNLEVEL_MODE_VALIDATING - Static variable in annotation type org.glassfish.hk2.runlevel.RunLevel
-
Services set to have a validating run level mode will be activated
and deactivated by their associated run level service but may also
be activated through injection into another service.
- RUNLEVEL_VAL_IMMEDIATE - Static variable in annotation type org.glassfish.hk2.runlevel.RunLevel
-
The immediate run level.
- RUNLEVEL_VAL_INITIAL - Static variable in annotation type org.glassfish.hk2.runlevel.RunLevel
-
The initial run level.
- RUNLEVEL_VAL_META_TAG - Static variable in annotation type org.glassfish.hk2.runlevel.RunLevel
-
The metadata key for run level value.
- RunLevelContext - Class in org.glassfish.hk2.runlevel
-
- RunLevelController - Interface in org.glassfish.hk2.runlevel
-
A RunLevelContoller controls the current state of
services registered in the
RunLevel scope.
- RunLevelController.ThreadingPolicy - Enum in org.glassfish.hk2.runlevel
-
These are the policies for how the RunLevelController
will use threads
- RunLevelControllerImpl - Class in org.glassfish.hk2.runlevel.internal
-
This is the implementation of the RunLevelController
- RunLevelControllerImpl() - Constructor for class org.glassfish.hk2.runlevel.internal.RunLevelControllerImpl
-
- RunLevelException - Exception in org.glassfish.hk2.runlevel
-
- RunLevelException() - Constructor for exception org.glassfish.hk2.runlevel.RunLevelException
-
Basic no-args constructor
- RunLevelException(String) - Constructor for exception org.glassfish.hk2.runlevel.RunLevelException
-
Exception with message
- RunLevelException(Throwable) - Constructor for exception org.glassfish.hk2.runlevel.RunLevelException
-
Exception with origin
- RunLevelException(String, Throwable) - Constructor for exception org.glassfish.hk2.runlevel.RunLevelException
-
Exception with message and origin
- RunLevelFuture - Interface in org.glassfish.hk2.runlevel
-
This is the Future object that will be returned by the
RunLevelController and it contains extra information about
the job being done
- RunLevelListener - Interface in org.glassfish.hk2.runlevel
-
Instances of classes implementing this contract can be registered with HK2
to be informed of events of RunLevelControllers.
- RunLevelServiceModule - Class in org.glassfish.hk2.runlevel
-
This module can be used to enable the RunLevelService
in a system not using automatic service discovery.
- RunLevelServiceModule() - Constructor for class org.glassfish.hk2.runlevel.RunLevelServiceModule
-
- RunLevelServiceUtilities - Class in org.glassfish.hk2.runlevel
-
Utilities for using the RunLevelService
- RunLevelServiceUtilities() - Constructor for class org.glassfish.hk2.runlevel.RunLevelServiceUtilities
-