|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<NonBlockingLockManager.RunState>
com.bigdata.concurrent.NonBlockingLockManager.RunState
public static enum NonBlockingLockManager.RunState
Run states for the NonBlockingLockManager.
| Enum Constant Summary | |
|---|---|
Halted
When halted. |
|
Running
While running (aka open). |
|
Shutdown
When shutting down normally. |
|
ShutdownNow
When shutting down immediately. |
|
Starting
During startup. |
|
| Method Summary | |
|---|---|
boolean |
isTransitionLegal(NonBlockingLockManager.RunState newval)
|
int |
value()
|
static NonBlockingLockManager.RunState |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static NonBlockingLockManager.RunState[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final NonBlockingLockManager.RunState Starting
public static final NonBlockingLockManager.RunState Running
public static final NonBlockingLockManager.RunState Shutdown
Futures are still monitored for completion and waiting tasks
will eventually be granted their locks and execute on the delegate.
public static final NonBlockingLockManager.RunState ShutdownNow
Futures for running tasks are cancelled (they are
interrupted).
public static final NonBlockingLockManager.RunState Halted
Futures were cancelled.
| Method Detail |
|---|
public static NonBlockingLockManager.RunState[] values()
for (NonBlockingLockManager.RunState c : NonBlockingLockManager.RunState.values()) System.out.println(c);
public static NonBlockingLockManager.RunState valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic int value()
public boolean isTransitionLegal(NonBlockingLockManager.RunState newval)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||