com.sun.grid.jsv
public final class ParallelEnvironment extends java.lang.Object implements java.lang.Cloneable, java.io.Serializable
Constructor and Description |
---|
ParallelEnvironment() |
Modifier and Type | Method and Description |
---|---|
ParallelEnvironment |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getName()
Get the name of the parallel environment to be used
|
int |
getRangeMax()
Get the maximum number of parallel processes to be started for this job.
|
int |
getRangeMin()
Get the minimum number of parallel processes to be started for this job.
|
int |
hashCode() |
void |
setName(java.lang.String name)
Set the name of the parallel environment to be used
|
void |
setRange(int val)
Set the minimum and maximum number of parallel processes to be started
for this job to the same value, i.e.
|
void |
setRange(int min,
int max)
Set the minimum and maximum number of parallel processes to be started
for this job.
|
void |
setRangeMax(int max)
Set the maximum number of parallel processes to be started for this job.
|
void |
setRangeMin(int min)
Set the minimum number of parallel processes to be started for this job.
|
java.lang.String |
toString() |
public void setName(java.lang.String name)
name
- the PE namepublic java.lang.String getName()
public int getRangeMin()
public int getRangeMax()
public void setRange(int min, int max)
min
- the minimum number of processesmax
- the maximum number of processespublic void setRange(int val)
val
- the minimum and maximum number of processespublic void setRangeMin(int min)
min
- the minimum number of processespublic void setRangeMax(int max)
max
- the maximum number of processespublic boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ParallelEnvironment clone()
clone
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object