@PublicAPI public class ParallelEnvironment extends Object implements Serializable
Modifier | Constructor and Description |
---|---|
protected |
ParallelEnvironment()
Default constructor for hibernate
|
|
ParallelEnvironment(int nodesNumber)
Creates new instance of the parallel environment.
|
|
ParallelEnvironment(int nodesNumber,
TopologyDescriptor topologyDescriptor)
Creates new instance of the parallel environment.
|
|
ParallelEnvironment(ParallelEnvironment original)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
int |
getNodesNumber()
Returns the node number of the parallel task.
|
TopologyDescriptor |
getTopologyDescriptor()
Returns the topology descriptor of the parallel task.
|
int |
hashCode() |
void |
setTopologyDescriptor(TopologyDescriptor topologyDescriptor) |
String |
toString() |
protected ParallelEnvironment()
public ParallelEnvironment(int nodesNumber)
nodesNumber
- the number of nodes required by task.public ParallelEnvironment(int nodesNumber, TopologyDescriptor topologyDescriptor)
nodesNumber
- the number of nodes required by task.topologyDescriptor
- nodes topology that will be used for this task.public ParallelEnvironment(ParallelEnvironment original)
Does not properly copy the topology descriptor, shares the same reference
original
- the original parallel env to copypublic int getNodesNumber()
public TopologyDescriptor getTopologyDescriptor()
public void setTopologyDescriptor(TopologyDescriptor topologyDescriptor)