Groovy Documentation

com.ace.mws.nodes
[Groovy] Class NodeStateInformation

java.lang.Object
  com.ace.mws.nodes.NodeStateInformation

class NodeStateInformation

Authors:
bsaville


Field Summary
private NodePower powerState

The state of the node's power system, as reported by the RM layer.

private NodePower powerStateExpected

The expected state of the node's power system.

private NodeState state

The scheduling state of the Node, as reported by the resource management layer.

private NodeState stateExpected

The scheduling state of the Node, as expected by Moab.

private Date stateLastUpdatedDate

A timestamp recording when the state of the Node was last modified.

private String subState

A text description of the state of the Node, with the intention of giving more details.

private String subStateLast

The previous sub-state of the Node as reported by the resource management layer.

private Date subStateLastUpdatedDate

A timestamp recording when the sub-state was last modified.

 
Constructor Summary
NodeStateInformation()

 
Method Summary
NodePower getPowerState()

The state of the node's power system, as reported by the RM layer.

NodePower getPowerStateExpected()

The expected state of the node's power system.

NodeState getState()

The scheduling state of the Node, as reported by the resource management layer.

NodeState getStateExpected()

The scheduling state of the Node, as expected by Moab.

Date getStateLastUpdatedDate()

A timestamp recording when the state of the Node was last modified.

String getSubState()

A text description of the state of the Node, with the intention of giving more details.

String getSubStateLast()

The previous sub-state of the Node as reported by the resource management layer.

Date getSubStateLastUpdatedDate()

A timestamp recording when the sub-state was last modified.

void setPowerState(NodePower powerState)

The state of the node's power system, as reported by the RM layer.

void setPowerStateExpected(NodePower powerStateExpected)

The expected state of the node's power system.

void setState(NodeState state)

The scheduling state of the Node, as reported by the resource management layer.

void setStateExpected(NodeState stateExpected)

The scheduling state of the Node, as expected by Moab.

void setStateLastUpdatedDate(Date stateLastUpdatedDate)

A timestamp recording when the state of the Node was last modified.

void setSubState(String subState)

A text description of the state of the Node, with the intention of giving more details.

void setSubStateLast(String subStateLast)

The previous sub-state of the Node as reported by the resource management layer.

void setSubStateLastUpdatedDate(Date subStateLastUpdatedDate)

A timestamp recording when the sub-state was last modified.

String toString()

 
Methods inherited from class Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Field Detail

powerState

private NodePower powerState
The state of the node's power system, as reported by the RM layer. Modifying the powerState is possible, and, if Moab is configured properly, a request will be made to modify the power state accordingly. Valid during PUT.


powerStateExpected

private NodePower powerStateExpected
The expected state of the node's power system. If a user has requested that a node be powered off (e.g. by modifying the powerState attribute to NodePower.OFF), the requested state will be shown in this field until the state change is completed. If there is no pending power change request, this will be null.


state

private NodeState state
The scheduling state of the Node, as reported by the resource management layer.


stateExpected

private NodeState stateExpected
The scheduling state of the Node, as expected by Moab. For example, Moab may think that a Node is "Busy" because it has allocated all configured resources, but a resource manager may report the state as "Running" based on actual utilization of the resources.


stateLastUpdatedDate

private Date stateLastUpdatedDate
A timestamp recording when the state of the Node was last modified.


subState

private String subState
A text description of the state of the Node, with the intention of giving more details. Resource Managers may use this field to further describe the state being reported. Resource Managers should provide documented meaning to the possible sub-states that they can report.


subStateLast

private String subStateLast
The previous sub-state of the Node as reported by the resource management layer.


subStateLastUpdatedDate

private Date subStateLastUpdatedDate
A timestamp recording when the sub-state was last modified.


 
Constructor Detail

NodeStateInformation

NodeStateInformation()


 
Method Detail

getPowerState

NodePower getPowerState()
The state of the node's power system, as reported by the RM layer. Modifying the powerState is possible, and, if Moab is configured properly, a request will be made to modify the power state accordingly. Valid during PUT.


getPowerStateExpected

NodePower getPowerStateExpected()
The expected state of the node's power system. If a user has requested that a node be powered off (e.g. by modifying the powerState attribute to NodePower.OFF), the requested state will be shown in this field until the state change is completed. If there is no pending power change request, this will be null.


getState

NodeState getState()
The scheduling state of the Node, as reported by the resource management layer.


getStateExpected

NodeState getStateExpected()
The scheduling state of the Node, as expected by Moab. For example, Moab may think that a Node is "Busy" because it has allocated all configured resources, but a resource manager may report the state as "Running" based on actual utilization of the resources.


getStateLastUpdatedDate

Date getStateLastUpdatedDate()
A timestamp recording when the state of the Node was last modified.


getSubState

String getSubState()
A text description of the state of the Node, with the intention of giving more details. Resource Managers may use this field to further describe the state being reported. Resource Managers should provide documented meaning to the possible sub-states that they can report.


getSubStateLast

String getSubStateLast()
The previous sub-state of the Node as reported by the resource management layer.


getSubStateLastUpdatedDate

Date getSubStateLastUpdatedDate()
A timestamp recording when the sub-state was last modified.


setPowerState

void setPowerState(NodePower powerState)
The state of the node's power system, as reported by the RM layer. Modifying the powerState is possible, and, if Moab is configured properly, a request will be made to modify the power state accordingly. Valid during PUT.


setPowerStateExpected

void setPowerStateExpected(NodePower powerStateExpected)
The expected state of the node's power system. If a user has requested that a node be powered off (e.g. by modifying the powerState attribute to NodePower.OFF), the requested state will be shown in this field until the state change is completed. If there is no pending power change request, this will be null.


setState

void setState(NodeState state)
The scheduling state of the Node, as reported by the resource management layer.


setStateExpected

void setStateExpected(NodeState stateExpected)
The scheduling state of the Node, as expected by Moab. For example, Moab may think that a Node is "Busy" because it has allocated all configured resources, but a resource manager may report the state as "Running" based on actual utilization of the resources.


setStateLastUpdatedDate

void setStateLastUpdatedDate(Date stateLastUpdatedDate)
A timestamp recording when the state of the Node was last modified.


setSubState

void setSubState(String subState)
A text description of the state of the Node, with the intention of giving more details. Resource Managers may use this field to further describe the state being reported. Resource Managers should provide documented meaning to the possible sub-states that they can report.


setSubStateLast

void setSubStateLast(String subStateLast)
The previous sub-state of the Node as reported by the resource management layer.


setSubStateLastUpdatedDate

void setSubStateLastUpdatedDate(Date subStateLastUpdatedDate)
A timestamp recording when the sub-state was last modified.


toString

String toString()


 

Groovy Documentation