|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.n1.util.enum.EnumImpl
com.sun.n1.util.enumx.EnumXImpl
com.sun.n1.sps.model.host.UpgradeNodeState
public class UpgradeNodeState
Instances of this class indicate the exact state of a node within an upgrade task. The state transitions happen as follows..
UNPROCESSED(initial state for all nodes) | | processing (mark upgradable nodes) | |--UPGRADED(nodes already upgraded) |--FAILED(nodes not reachable, impacts all descendents of the node) | | processing (trim upgraded nodes) removes all subtrees having only upgraded nodes. |NOT_STARTED(nodes needing upgrades) | | processing (find upgrade jars) | |--FAILED(no upgrade jars available to upgrade these nodes) |IN_PROGRESS(nodes ready to be upgraded) | | processing (push jars to the node) | |--FAILED(failed to push jars, impacts all descendents of the node) |UPGRADING(node needing upgrades and receiving jars) | | processing (deploy jars) | |--FAILED(failed to deploy jars) |DEPLOYED(nodes with upgrades deployed) | | processing (restart upgraded nodes) | |--ACTION_REQUIRED(node needs manual restart or failed when restarting) | |--PARTIALLY_COMPLETED(node needs to be upgraded again) |SUCCESSFUL(successfully upgraded node)
| Nested Class Summary | |
|---|---|
static class |
UpgradeNodeState.FACTORY
Factory for upgrade node state enums. |
| Field Summary | |
|---|---|
static UpgradeNodeState |
ACTION_REQUIRED
Indicates that processing of the node completed successfully but user action is required to make the node operational again. |
static UpgradeNodeState |
DEPLOYED
Indicates that files were successfully deployed to the node.. |
static UpgradeNodeState.FACTORY |
Factory
The factory which may be used to lookup UpgradeNodeState by string or int value. |
static UpgradeNodeState |
FAILED
Indicates that processing of the node failed with errors. |
static UpgradeNodeState |
IN_PROGRESS
Indicates that processing of the node has started but has not completed yet. |
static UpgradeNodeState |
NOT_STARTED
Indicates that processing of the node has not started yet. |
static UpgradeNodeState |
PARTIALLY_COMPLETED
Indicates that the node has been partially upgraded. |
static UpgradeNodeState |
SUCCESSFUL
Indicates that processing of the node completed successfully. |
static UpgradeNodeState |
UNPROCESSED
Indicates that the node hasn't been processed. |
static UpgradeNodeState |
UPGRADED
Indicates that the node is already upgraded. |
static UpgradeNodeState |
UPGRADING
Indicates that the node is being currently upgraded. |
| Method Summary |
|---|
| Methods inherited from class com.sun.n1.util.enum.EnumImpl |
|---|
equals, hashCode, toInt, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.sun.n1.util.enum.Enum |
|---|
toInt |
| Field Detail |
|---|
public static final UpgradeNodeState.FACTORY Factory
public static final UpgradeNodeState UNPROCESSED
public static final UpgradeNodeState UPGRADED
public static final UpgradeNodeState NOT_STARTED
public static final UpgradeNodeState IN_PROGRESS
public static final UpgradeNodeState UPGRADING
public static final UpgradeNodeState FAILED
public static final UpgradeNodeState DEPLOYED
public static final UpgradeNodeState SUCCESSFUL
public static final UpgradeNodeState ACTION_REQUIRED
public static final UpgradeNodeState PARTIALLY_COMPLETED
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||