|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ace.mws.nodes.Node
class Node
This class represents a node in the Moab Workload Manager. Moab recognizes a node as a collection of resources with a particular set of associated attributes. This definition is similar to the traditional notion of a node found in a Linux cluster or supercomputer wherein a node is defined as one or more CPUs, associated memory, and possibly other compute resources such as local disk, swap, network adapters, and software licenses. Additionally, this node is described by various attributes such as an architecture type or operating system. Nodes range in size from small uniprocessor PCs to large symmetric multiprocessing (SMP) systems where a single node may consist of hundreds of CPUs and massive amounts of memory.
Field Summary | |
---|---|
private String |
architecture
This node's processor architecture. |
private Set |
classes
(String collection) The classes that this node can be scheduled for. |
private Set |
featuresReported
(String collection) The features this node advertises. |
private String |
id
The unique identifier of this node. |
private Integer |
index
The index for this node as reported by the resource manager. |
private String |
ipAddress
This node's IPv4 address. |
private Boolean |
isHypervisor
True if the node is a hypervisor, false otherwise. |
private Set |
jobs
(DomainProxy collection) Jobs associated with this node. |
private Date |
lastUpdatedDate
The timestamp of the last moment when this node was updated. |
private Set |
messages
(Message collection) The list of messages attached to this node. |
private Map |
metrics
(Map of String => Double) Metrics are the measurable, quantitative, and changing aspects of this node. |
private Boolean |
migrationDisabled
True if VM migration is disabled on this node. |
private String |
name
The name of this node. |
private NodeOperatingSystemInformation |
operatingSystem
Describes the current or expected operating system image information for this node. |
private String |
partition
The partition this node belongs to. |
private Integer |
processorSpeed
The speed, in MHz, or the processors on this node. |
private Boolean |
profilingEnabled
Indicates whether historical data gathering and reporting is enabled for this node. |
private Integer |
rack
The rack where this node is located in the datacenter/cluster. |
private Set |
reservations
(DomainProxy collection) Reservations associated with this node. |
private Map |
resourceManagerMessages
(Map of String => String) The resource manager messages for this node. |
private Set |
resourceManagers
(NodeResourceManager collection) The resource managers that are reporting or have previously reported this node. |
private Map |
resources
(Map of String => Resource) Contains references of a string representing a resource name to a resource object detailing the amount of the resource that is available, configured, etc. |
private Integer |
slot
The slot in the rack where this node is located. |
private NodeStateInformation |
states
This node's state. |
private Set |
triggers
(DomainProxy collection) Triggers associated with this node. |
private NodeType |
type
The type of this node is governed by the types of resources it offers. |
private Map |
variables
(Map of String => String) Variables is a map of key-value pairs, synonymous, but not directly related to, environment variables. |
private Set |
virtualContainers
(DomainProxy collection) The set of virtual containers that directly (not recursively) contain this node. |
private Set |
virtualMachines
(DomainProxy collection) Virtual machines associated with this node. |
Constructor Summary | |
Node()
|
Method Summary | |
---|---|
String
|
getArchitecture()
This node's processor architecture. |
Set
|
getClasses()
(String collection) The classes that this node can be scheduled for. |
Set
|
getFeaturesReported()
(String collection) The features this node advertises. |
String
|
getId()
The unique identifier of this node. |
Integer
|
getIndex()
The index for this node as reported by the resource manager. |
String
|
getIpAddress()
This node's IPv4 address. |
Boolean
|
getIsHypervisor()
True if the node is a hypervisor, false otherwise. |
Set
|
getJobs()
(DomainProxy collection) Jobs associated with this node. |
Date
|
getLastUpdatedDate()
The timestamp of the last moment when this node was updated. |
Set
|
getMessages()
(Message collection) The list of messages attached to this node. |
Map
|
getMetrics()
(Map of String => Double) Metrics are the measurable, quantitative, and changing aspects of this node. |
Boolean
|
getMigrationDisabled()
True if VM migration is disabled on this node. |
String
|
getName()
The name of this node. |
NodeOperatingSystemInformation
|
getOperatingSystem()
Describes the current or expected operating system image information for this node. |
String
|
getPartition()
The partition this node belongs to. |
Integer
|
getProcessorSpeed()
The speed, in MHz, or the processors on this node. |
Boolean
|
getProfilingEnabled()
Indicates whether historical data gathering and reporting is enabled for this node. |
Integer
|
getRack()
The rack where this node is located in the datacenter/cluster. |
Set
|
getReservations()
(DomainProxy collection) Reservations associated with this node. |
Map
|
getResourceManagerMessages()
(Map of String => String) The resource manager messages for this node. |
Set
|
getResourceManagers()
(NodeResourceManager collection) The resource managers that are reporting or have previously reported this node. |
Map
|
getResources()
(Map of String => Resource) Contains references of a string representing a resource name to a resource object detailing the amount of the resource that is available, configured, etc. |
Integer
|
getSlot()
The slot in the rack where this node is located. |
NodeStateInformation
|
getStates()
This node's state. |
Set
|
getTriggers()
(DomainProxy collection) Triggers associated with this node. |
NodeType
|
getType()
The type of this node is governed by the types of resources it offers. |
Map
|
getVariables()
(Map of String => String) Variables is a map of key-value pairs, synonymous, but not directly related to, environment variables. |
Set
|
getVirtualContainers()
(DomainProxy collection) The set of virtual containers that directly (not recursively) contain this node. |
Set
|
getVirtualMachines()
(DomainProxy collection) Virtual machines associated with this node. |
void
|
setArchitecture(String architecture)
This node's processor architecture. |
void
|
setClasses(Set classes)
(String collection) The classes that this node can be scheduled for. |
void
|
setFeaturesReported(Set featuresReported)
(String collection) The features this node advertises. |
void
|
setId(String id)
The unique identifier of this node. |
void
|
setIndex(Integer index)
The index for this node as reported by the resource manager. |
void
|
setIpAddress(String ipAddress)
This node's IPv4 address. |
void
|
setIsHypervisor(Boolean isHypervisor)
True if the node is a hypervisor, false otherwise. |
void
|
setJobs(Set jobs)
(DomainProxy collection) Jobs associated with this node. |
void
|
setLastUpdatedDate(Date lastUpdatedDate)
The timestamp of the last moment when this node was updated. |
void
|
setMessages(Set messages)
(Message collection) The list of messages attached to this node. |
void
|
setMetrics(Map metrics)
(Map of String => Double) Metrics are the measurable, quantitative, and changing aspects of this node. |
void
|
setMigrationDisabled(Boolean migrationDisabled)
True if VM migration is disabled on this node. |
void
|
setName(String name)
The name of this node. |
void
|
setOperatingSystem(NodeOperatingSystemInformation operatingSystem)
Describes the current or expected operating system image information for this node. |
void
|
setPartition(String partition)
The partition this node belongs to. |
void
|
setProcessorSpeed(Integer processorSpeed)
The speed, in MHz, or the processors on this node. |
void
|
setProfilingEnabled(Boolean profilingEnabled)
Indicates whether historical data gathering and reporting is enabled for this node. |
void
|
setRack(Integer rack)
The rack where this node is located in the datacenter/cluster. |
void
|
setReservations(Set reservations)
(DomainProxy collection) Reservations associated with this node. |
void
|
setResourceManagerMessages(Map resourceManagerMessages)
(Map of String => String) The resource manager messages for this node. |
void
|
setResourceManagers(Set resourceManagers)
(NodeResourceManager collection) The resource managers that are reporting or have previously reported this node. |
void
|
setResources(Map resources)
(Map of String => Resource) Contains references of a string representing a resource name to a resource object detailing the amount of the resource that is available, configured, etc. |
void
|
setSlot(Integer slot)
The slot in the rack where this node is located. |
void
|
setStates(NodeStateInformation states)
This node's state. |
void
|
setTriggers(Set triggers)
(DomainProxy collection) Triggers associated with this node. |
void
|
setType(NodeType type)
The type of this node is governed by the types of resources it offers. |
void
|
setVariables(Map variables)
(Map of String => String) Variables is a map of key-value pairs, synonymous, but not directly related to, environment variables. |
void
|
setVirtualContainers(Set virtualContainers)
(DomainProxy collection) The set of virtual containers that directly (not recursively) contain this node. |
void
|
setVirtualMachines(Set virtualMachines)
(DomainProxy collection) Virtual machines associated with this node. |
String
|
toString()
|
Methods inherited from class Object | |
---|---|
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Field Detail |
---|
private String architecture
private Set classes
private Set featuresReported
private String id
private Integer index
private String ipAddress
private Boolean isHypervisor
private Set jobs
private Date lastUpdatedDate
private Set messages
private Map metrics
private Boolean migrationDisabled
private String name
private NodeOperatingSystemInformation operatingSystem
private String partition
private Integer processorSpeed
private Boolean profilingEnabled
private Integer rack
private Set reservations
private Map resourceManagerMessages
private Set resourceManagers
private Map resources
private Integer slot
private NodeStateInformation states
private Set triggers
private NodeType type
private Map variables
private Set virtualContainers
private Set virtualMachines
Constructor Detail |
---|
Node()
Method Detail |
---|
String getArchitecture()
Set getClasses()
Set getFeaturesReported()
String getId()
Integer getIndex()
String getIpAddress()
Boolean getIsHypervisor()
Set getJobs()
Date getLastUpdatedDate()
Set getMessages()
Map getMetrics()
Boolean getMigrationDisabled()
String getName()
NodeOperatingSystemInformation getOperatingSystem()
String getPartition()
Integer getProcessorSpeed()
Boolean getProfilingEnabled()
Integer getRack()
Set getReservations()
Map getResourceManagerMessages()
Set getResourceManagers()
Map getResources()
Integer getSlot()
NodeStateInformation getStates()
Set getTriggers()
NodeType getType()
Map getVariables()
Set getVirtualContainers()
Set getVirtualMachines()
void setArchitecture(String architecture)
void setClasses(Set classes)
void setFeaturesReported(Set featuresReported)
void setId(String id)
void setIndex(Integer index)
void setIpAddress(String ipAddress)
void setIsHypervisor(Boolean isHypervisor)
void setJobs(Set jobs)
void setLastUpdatedDate(Date lastUpdatedDate)
void setMessages(Set messages)
void setMetrics(Map metrics)
void setMigrationDisabled(Boolean migrationDisabled)
void setName(String name)
void setOperatingSystem(NodeOperatingSystemInformation operatingSystem)
void setPartition(String partition)
void setProcessorSpeed(Integer processorSpeed)
void setProfilingEnabled(Boolean profilingEnabled)
void setRack(Integer rack)
void setReservations(Set reservations)
void setResourceManagerMessages(Map resourceManagerMessages)
void setResourceManagers(Set resourceManagers)
void setResources(Map resources)
void setSlot(Integer slot)
void setStates(NodeStateInformation states)
void setTriggers(Set triggers)
void setType(NodeType type)
void setVariables(Map variables)
void setVirtualContainers(Set virtualContainers)
void setVirtualMachines(Set virtualMachines)
String toString()
Groovy Documentation