public enum TxServiceRunState extends Enum<TxServiceRunState>
AbstractTransactionService
.Enum Constant and Description |
---|
Halted
When halted.
|
Running
While running (aka open).
|
Shutdown
When shutting down normally.
|
ShutdownNow
When shutting down immediately.
|
Starting
During startup.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isTransitionLegal(TxServiceRunState newval) |
int |
value() |
static TxServiceRunState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TxServiceRunState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TxServiceRunState Starting
public static final TxServiceRunState Running
public static final TxServiceRunState Shutdown
public static final TxServiceRunState ShutdownNow
public static final TxServiceRunState Halted
public static TxServiceRunState[] values()
for (TxServiceRunState c : TxServiceRunState.values()) System.out.println(c);
public static TxServiceRunState valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int value()
public boolean isTransitionLegal(TxServiceRunState newval)
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.