Package com.sun.grid.jsv
Class ParallelEnvironment
java.lang.Object
com.sun.grid.jsv.ParallelEnvironment
- All Implemented Interfaces:
Serializable,Cloneable
The ParallelEnvironment object represents the parallel environment settings
for a job. It contains the name of the parallel environment to be used and
the minimum and maximum number of parallel processes to be started. The
minimum and maximum number of processes are set to 1 by default.
- Since:
- 6.2u5
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleangetName()Get the name of the parallel environment to be usedintGet the maximum number of parallel processes to be started for this job.intGet the minimum number of parallel processes to be started for this job.inthashCode()voidSet the name of the parallel environment to be usedvoidsetRange(int val) Set the minimum and maximum number of parallel processes to be started for this job to the same value, i.e.voidsetRange(int min, int max) Set the minimum and maximum number of parallel processes to be started for this job.voidsetRangeMax(int max) Set the maximum number of parallel processes to be started for this job.voidsetRangeMin(int min) Set the minimum number of parallel processes to be started for this job.toString()
-
Constructor Details
-
ParallelEnvironment
public ParallelEnvironment()
-
-
Method Details
-
setName
Set the name of the parallel environment to be used- Parameters:
name- the PE name
-
getName
Get the name of the parallel environment to be used- Returns:
- the PE name
-
getRangeMin
public int getRangeMin()Get the minimum number of parallel processes to be started for this job.- Returns:
- the minimum number of processes
-
getRangeMax
public int getRangeMax()Get the maximum number of parallel processes to be started for this job.- Returns:
- the maximum number of processes
-
setRange
public void setRange(int min, int max) Set the minimum and maximum number of parallel processes to be started for this job.- Parameters:
min- the minimum number of processesmax- the maximum number of processes
-
setRange
public 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. a range of 1.- Parameters:
val- the minimum and maximum number of processes
-
setRangeMin
public void setRangeMin(int min) Set the minimum number of parallel processes to be started for this job.- Parameters:
min- the minimum number of processes
-
setRangeMax
public void setRangeMax(int max) Set the maximum number of parallel processes to be started for this job.- Parameters:
max- the maximum number of processes
-
equals
-
hashCode
public int hashCode() -
clone
-
toString
-