@Entity public class RMNodeData extends Object implements Serializable
Constructor and Description |
---|
RMNodeData() |
RMNodeData(String name,
String nodeUrl,
Client owner,
Client provider,
Permission permission,
NodeState state,
long stateChangeTime,
String hostName,
String[] jmxUrls,
String jvmName) |
RMNodeData(String name,
String nodeUrl,
Client owner,
Client provider,
Permission permission,
NodeState state,
long stateChangeTime,
String hostName,
String[] jmxUrls,
String jvmName,
Map<String,String> usageInfo,
Set<String> tags) |
Modifier and Type | Method and Description |
---|---|
static RMNodeData |
createRMNodeData(RMNode rmNode)
Create an instance of
RMNodeData and populate its fields with the content of a node. |
boolean |
equals(Object obj) |
boolean |
equalsToNode(org.objectweb.proactive.core.node.Node node)
Say whether the current node data structure reflects a particular
instance of
Node . |
String |
getHostname() |
String[] |
getJmxUrls() |
String |
getJvmName() |
String |
getName() |
NodeSourceData |
getNodeSource() |
String |
getNodeUrl() |
Client |
getOwner() |
Client |
getProvider() |
NodeState |
getState() |
long |
getStateChangeTime() |
Set<String> |
getTags() |
Map<String,String> |
getUsageInfo() |
Permission |
getUserPermission() |
int |
hashCode() |
void |
setHostname(String hostname) |
void |
setJmxUrls(String[] jmxUrls) |
void |
setJvmName(String jvmName) |
void |
setName(String name) |
void |
setNodeSource(NodeSourceData nodeSource) |
void |
setNodeUrl(String nodeUrl) |
void |
setOwner(Client owner) |
void |
setProvider(Client provider) |
void |
setState(NodeState state) |
void |
setStateChangeTime(long stateChangeTime) |
void |
setTags(Set<String> tags) |
void |
setUsageInfo(Map<String,String> usageInfo) |
void |
setUserPermission(Permission nodeAccessPermission) |
public RMNodeData()
public RMNodeData(String name, String nodeUrl, Client owner, Client provider, Permission permission, NodeState state, long stateChangeTime, String hostName, String[] jmxUrls, String jvmName)
public static RMNodeData createRMNodeData(RMNode rmNode)
RMNodeData
and populate its fields with the content of a node.rmNode
- the object to take the values fromRMNodeData
with the values of the given RMNode
public String getName()
public void setName(String name)
public String getNodeUrl()
public void setNodeUrl(String nodeUrl)
public Client getOwner()
public void setOwner(Client owner)
public Client getProvider()
public void setProvider(Client provider)
public Permission getUserPermission()
public void setUserPermission(Permission nodeAccessPermission)
public NodeState getState()
public void setState(NodeState state)
public long getStateChangeTime()
public void setStateChangeTime(long stateChangeTime)
public NodeSourceData getNodeSource()
public void setNodeSource(NodeSourceData nodeSource)
public String getHostname()
public void setHostname(String hostname)
public String[] getJmxUrls()
public void setJmxUrls(String[] jmxUrls)
public String getJvmName()
public void setJvmName(String jvmName)
public boolean equalsToNode(org.objectweb.proactive.core.node.Node node)
Node
.node
- the node to compare to