A C D F G I O P R S T U V 

A

AsyncRunLevelContext - Class in org.glassfish.hk2.runlevel.internal
 

C

cancel(boolean) - Method in class org.glassfish.hk2.runlevel.internal.CurrentTaskFuture
 
cancel() - Method in class org.glassfish.hk2.runlevel.internal.RunLevelControllerImpl
 
cancel() - Method in interface org.glassfish.hk2.runlevel.RunLevelController
If there is a current procedure in process this method will get it and cancel it
cancel(boolean) - Method in interface org.glassfish.hk2.runlevel.RunLevelFuture
The cancel method attempts to cancel the current running job (if the job is not already completed or already cancelled).
containsKey(ActiveDescriptor<?>) - Method in class org.glassfish.hk2.runlevel.internal.AsyncRunLevelContext
 
CurrentlyRunningException - Exception in org.glassfish.hk2.runlevel
This exception is thrown by proceedTo if there is currently a job being run when proceedTo is called
CurrentlyRunningException() - Constructor for exception org.glassfish.hk2.runlevel.CurrentlyRunningException
 
CurrentlyRunningException(RunLevelFuture) - Constructor for exception org.glassfish.hk2.runlevel.CurrentlyRunningException
 
CurrentTaskFuture - Class in org.glassfish.hk2.runlevel.internal
 
CurrentTaskFuture.DownAllTheWay - Class in org.glassfish.hk2.runlevel.internal
 
CurrentTaskFuture.DownAllTheWay(int, RunLevelFuture, List<ServiceHandle<RunLevelListener>>) - Constructor for class org.glassfish.hk2.runlevel.internal.CurrentTaskFuture.DownAllTheWay
 

D

destroyOne(ActiveDescriptor<?>) - Method in class org.glassfish.hk2.runlevel.internal.AsyncRunLevelContext
 

F

findOrCreate(ActiveDescriptor<U>, ServiceHandle<?>) - Method in class org.glassfish.hk2.runlevel.internal.AsyncRunLevelContext
 

G

get() - Method in class org.glassfish.hk2.runlevel.internal.CurrentTaskFuture
 
get(long, TimeUnit) - Method in class org.glassfish.hk2.runlevel.internal.CurrentTaskFuture
 
getCurrentFuture() - Method in class org.glassfish.hk2.runlevel.internal.AsyncRunLevelContext
 
getCurrentJob() - Method in exception org.glassfish.hk2.runlevel.CurrentlyRunningException
 
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.
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 interface org.glassfish.hk2.runlevel.RunLevelFuture
This gets the level that this future job is attempting to get to
getRunLevelMode(Descriptor) - Static method in class org.glassfish.hk2.runlevel.utilities.Utilities
Get the run level mode from the metadata of the given descriptor.
getRunLevelValue(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.internal.AsyncRunLevelContext
 
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

I

isActive() - Method in class org.glassfish.hk2.runlevel.internal.AsyncRunLevelContext
 
isCancelled() - Method in class org.glassfish.hk2.runlevel.internal.CurrentTaskFuture
 
isDone() - Method in class org.glassfish.hk2.runlevel.internal.CurrentTaskFuture
 
isDown() - Method in class org.glassfish.hk2.runlevel.internal.CurrentTaskFuture
 
isDown() - Method in interface org.glassfish.hk2.runlevel.RunLevelFuture
Returns true if this job represents the system going from a higher level to a lower level.
isUp() - Method in class org.glassfish.hk2.runlevel.internal.CurrentTaskFuture
 
isUp() - Method in interface org.glassfish.hk2.runlevel.RunLevelFuture
Returns true if this job represents the system going from a lower level to a higher level.

O

onCancelled(RunLevelFuture, int) - Method in interface org.glassfish.hk2.runlevel.RunLevelListener
Called when an RunLevelController implementation's proceedTo() operation has been canceled for some reason
onError(RunLevelFuture, Throwable) - Method in interface org.glassfish.hk2.runlevel.RunLevelListener
Called when a service throws an exception during lifecycle orchestration.
onProgress(RunLevelFuture, int) - Method in interface org.glassfish.hk2.runlevel.RunLevelListener
Called when the RunLevelController advances to the next level
org.glassfish.hk2.runlevel - package org.glassfish.hk2.runlevel
 
org.glassfish.hk2.runlevel.internal - package org.glassfish.hk2.runlevel.internal
 
org.glassfish.hk2.runlevel.utilities - package org.glassfish.hk2.runlevel.utilities
 

P

proceedTo(int) - Method in class org.glassfish.hk2.runlevel.internal.AsyncRunLevelContext
 
proceedTo(int) - Method in class org.glassfish.hk2.runlevel.internal.RunLevelControllerImpl
 
proceedTo(int) - Method in interface org.glassfish.hk2.runlevel.RunLevelController
This method will move to the given run level synchronously as per RunLevelController.proceedToAsync(int).
proceedToAsync(int) - Method in class org.glassfish.hk2.runlevel.internal.RunLevelControllerImpl
 
proceedToAsync(int) - Method in interface org.glassfish.hk2.runlevel.RunLevelController
Causes this RunLevelController to move to the specified run level for all RunLevel instances, orchestrating the appropriate lifecycle events.

R

run() - Method in class org.glassfish.hk2.runlevel.internal.CurrentTaskFuture.DownAllTheWay
 
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.
RunLevelController - Interface in org.glassfish.hk2.runlevel
Implementations of this contract are responsible for orchestration lifecycle events (i.e., start levels) in Hk2.
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
Exception related to the operations of the RunLevelController.
RunLevelException(String) - Constructor for exception org.glassfish.hk2.runlevel.RunLevelException
 
RunLevelException(Throwable) - Constructor for exception org.glassfish.hk2.runlevel.RunLevelException
 
RunLevelException(String, Throwable) - Constructor for exception org.glassfish.hk2.runlevel.RunLevelException
 
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
Implementations of RunLevelController should use this contract for publishing RunLevel events.

S

setMaximumUseableThreads(int) - Method in class org.glassfish.hk2.runlevel.internal.RunLevelControllerImpl
 
setMaximumUseableThreads(int) - Method in interface org.glassfish.hk2.runlevel.RunLevelController
This sets the maximum number of threads that the system can create for creation and/or destruction of threads.
setThreadingPolicy(RunLevelController.ThreadingPolicy) - Method in class org.glassfish.hk2.runlevel.internal.RunLevelControllerImpl
 
setThreadingPolicy(RunLevelController.ThreadingPolicy) - Method in interface org.glassfish.hk2.runlevel.RunLevelController
Sets the threading policy that will be used by this controller.
shutdown() - Method in class org.glassfish.hk2.runlevel.internal.AsyncRunLevelContext
 
sort(List<ActiveDescriptor<?>>) - Method in interface org.glassfish.hk2.runlevel.Sorter
Sort the given list of run level service descriptors.
Sorter - Interface in org.glassfish.hk2.runlevel
Contract for sorting descriptors for run level services.
supportsNullCreation() - Method in class org.glassfish.hk2.runlevel.internal.AsyncRunLevelContext
 

T

toString() - Method in class org.glassfish.hk2.runlevel.internal.CurrentTaskFuture
 

U

Utilities - Class in org.glassfish.hk2.runlevel.utilities
Run level service related utilities.
Utilities() - Constructor for class org.glassfish.hk2.runlevel.utilities.Utilities
 

V

valueOf(String) - Static method in enum org.glassfish.hk2.runlevel.RunLevelController.ThreadingPolicy
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.glassfish.hk2.runlevel.RunLevelController.ThreadingPolicy
Returns an array containing the constants of this enum type, in the order they are declared.
A C D F G I O P R S T U V 

Copyright © 2013 Oracle Corporation. All Rights Reserved.