Enum Constant | Description |
---|---|
DOWNLOAD_STARTING_CONTRACT |
CloudProcessor is downloading requestContract from pool starter ubot.
|
FAILED |
CloudProcessor is failed.
|
FINISHED |
CloudProcessor is finished.
|
INIT |
UBot creates new CloudProcessor with this state if it has received UBotCloudNotification, but CloudProcessor
with corresponding poolId not found.
|
SEND_STARTING_CONTRACT |
At this state CloudProcessor should select ubots for new pool,
and periodically send to them udp notifications with invite to download requestContract.
|
START_EXEC |
CloudProcessor is executing cloud method.
|
Modifier and Type | Method | Description |
---|---|---|
boolean |
isRunning() |
|
static PoolState |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static PoolState[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PoolState INIT
public static final PoolState SEND_STARTING_CONTRACT
public static final PoolState DOWNLOAD_STARTING_CONTRACT
public static final PoolState START_EXEC
public static final PoolState FINISHED
public static final PoolState FAILED
public static PoolState[] values()
for (PoolState c : PoolState.values()) System.out.println(c);
public static PoolState valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic boolean isRunning()