public class IlrSSPResourceAllocationPolicy
extends java.lang.Object
IlrSSPResourceAllocationPolicyManager referenced by the SSP.IlrSSPResourceAllocationPolicyManager| Modifier and Type | Class and Description |
|---|---|
static class |
IlrSSPResourceAllocationPolicy.ExecutionPriority
Defines the priority for the execution of a scenario suite in the SSP:
NORMAL: the standard priority (default value)
HIGH: use this priority to promote the execution of this scenario suite before others
LOW: use this priority to demote the execution of this scenario suite compared to others with a higher priority
|
| Constructor and Description |
|---|
IlrSSPResourceAllocationPolicy()
Creates a policy with the default values, where the maximum number of threads is
equal to the number of scenario parts to execute in parallel.
|
| Modifier and Type | Method and Description |
|---|---|
IlrSSPResourceAllocationPolicy.ExecutionPriority |
getExecutionPriority()
Gets the priority of the scenario suite in the SSP:
NORMAL: the standard priority (default value)
HIGH: use this priority to promote the execution of this scenario suite before others
LOW: use this priority to demote the execution of this scenario suite compared to others with a higher priority
If the SSP is running on WebSphere Application Server, the SSP uses the work manager defined for the level of priority to execute
the scenario suite.
|
int |
getMaximumNumberOfThreadsToAllocateForParallelExcecution()
Gets the number of threads allocated for the parallel execution of the
simulation.
|
void |
setExecutionPriority(IlrSSPResourceAllocationPolicy.ExecutionPriority theExecutionPriority)
Sets the priority for the scenario suite execution in the SSP:
NORMAL: the standard priority (default value)
HIGH: use this priority to promote the execution of this scenario suite before others
LOW: use this priority to demote the execution of this scenario suite compared to others with a higher priority
If the SSP is running on WebSphere Application Server, the SSP uses the work manager defined for the level of priority to execute
the scenario suite.
|
void |
setMaximumNumberOfThreadsToAllocateForParallelExcecution(int theMaximumNumberOfThreadsToAllocateForParallelExecution)
Sets the allocated number of threads for the parallel execution of the
simulation.
|
public IlrSSPResourceAllocationPolicy()
public int getMaximumNumberOfThreadsToAllocateForParallelExcecution()
IlrParallelScenarioProviderpublic void setMaximumNumberOfThreadsToAllocateForParallelExcecution(int theMaximumNumberOfThreadsToAllocateForParallelExecution)
IlrParallelScenarioProviderpublic IlrSSPResourceAllocationPolicy.ExecutionPriority getExecutionPriority()
public void setExecutionPriority(IlrSSPResourceAllocationPolicy.ExecutionPriority theExecutionPriority)
© Copyright IBM Corp. 1987, 2017