public class Node extends Object implements Serializable
Constructor and Description |
---|
Node(String name,
int numberOfProcessors,
String nodeType,
QueueState state) |
Modifier and Type | Method and Description |
---|---|
List<Job> |
getJobs() |
String |
getName() |
String |
getNodeType() |
int |
getNumberOfProcessors() |
List<String> |
getProperties() |
QueueState |
getState() |
Map<String,String> |
getStatus() |
String |
toString() |
public Node(String name, int numberOfProcessors, String nodeType, QueueState state)
name
- node namenumberOfProcessors
- number of processors available in this nodenodeType
- node typestate
- current Queue
statepublic String getName()
public int getNumberOfProcessors()
public String getNodeType()
public QueueState getState()
Copyright © 2012–2015 TupiLabs. All rights reserved.