|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.grid.jsv.BindingSpecifier
public final class BindingSpecifier
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.
JobDescription.getParallelEnvironment()
,
JobDescription.setParallelEnvironment(com.sun.grid.jsv.ParallelEnvironment)
,
Serialized FormNested Class Summary | |
---|---|
class |
BindingSpecifier.CoreSpecifier
|
static class |
BindingSpecifier.Strategy
|
static class |
BindingSpecifier.Type
|
Constructor Summary | |
---|---|
BindingSpecifier()
|
Method Summary | |
---|---|
BindingSpecifier |
clone()
|
boolean |
equals(java.lang.Object obj)
|
int |
getAmount()
Returns the amount of cores |
int |
getCore()
Returns the core on the start socket |
java.util.List<BindingSpecifier.CoreSpecifier> |
getCoreSpecifiers()
Returns the core specifier list (only explicit binding) |
int |
getSocket()
Returns the start socket |
int |
getStep()
Returns the step size |
BindingSpecifier.Strategy |
getStrategy()
Returns the binding strategy string |
BindingSpecifier.Type |
getType()
Returns the binding type |
int |
hashCode()
|
java.lang.Boolean |
isEnvType()
Returns true if type is env |
java.lang.Boolean |
isExplicit()
Returns true if binding strategy is explicit |
java.lang.Boolean |
isLinear()
Returns true if binding strategy is linear |
java.lang.Boolean |
isPeType()
Returns true if type is pe |
java.lang.Boolean |
isSetType()
Returns true if type is set |
java.lang.Boolean |
isStriding()
Returns true if binding strategy is striding |
void |
setAmount(int amount)
Sets the binding amount |
void |
setCore(int core)
Sets the binding core |
void |
setExplicitStrategy(java.util.List<BindingSpecifier.CoreSpecifier> socketCore)
Set explicit binding strategy specifying socket/core map |
void |
setLinearStrategy(int amount)
Set linear-automatic binding strategy |
void |
setLinearStrategy(int amount,
int socket,
int core)
Set linear binding strategy |
void |
setPeType()
Set binding type to type pe |
void |
setSetType()
Set binding type to type 'set' |
void |
setSocket(int socket)
Sets the binding socket |
void |
setStep(int step)
Sets the binding step size |
void |
setStrategy(BindingSpecifier.Strategy strategy)
Set binding strategy string |
void |
setStridingStrategy(int amount)
Set striding-automatic binding strategy |
void |
setStridingStrategy(int amount,
int socket,
int core)
Set striding binding strategy |
void |
setType(BindingSpecifier.Type type)
Set binding type |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public BindingSpecifier()
Method Detail |
---|
public void setStrategy(BindingSpecifier.Strategy strategy)
strategy
- new strategypublic void setLinearStrategy(int amount, int socket, int core)
amount
- number of coressocket
- first socketcore
- first core on socketpublic void setLinearStrategy(int amount)
amount
- number of socketspublic void setStridingStrategy(int amount, int socket, int core)
amount
- number of coressocket
- first socketcore
- first core on socketpublic void setStridingStrategy(int amount)
amount
- number of corespublic void setExplicitStrategy(java.util.List<BindingSpecifier.CoreSpecifier> socketCore)
socketCore
- list of corespublic java.lang.Boolean isLinear()
public java.lang.Boolean isStriding()
public java.lang.Boolean isExplicit()
public BindingSpecifier.Strategy getStrategy()
public void setType(BindingSpecifier.Type type)
public void setSetType()
public void setPeType()
public java.lang.Boolean isSetType()
public java.lang.Boolean isPeType()
public java.lang.Boolean isEnvType()
public BindingSpecifier.Type getType()
public int getAmount()
public void setAmount(int amount)
amount
- binding amountpublic int getSocket()
public void setSocket(int socket)
socket
- binding socketpublic int getCore()
public void setCore(int core)
core
- binding corepublic int getStep()
public void setStep(int step)
step
- binding step sizepublic java.util.List<BindingSpecifier.CoreSpecifier> getCoreSpecifiers()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public BindingSpecifier clone()
clone
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |