public class DistributionSetup
extends java.lang.Object
implements java.io.Serializable
Distribution
of the simulation setup.Distribution
,
Serialized FormModifier and Type | Field and Description |
---|---|
static java.lang.String |
DEFAULT_DynamicLoadBalancingClass |
static java.lang.String |
DEFAULT_StaticLoadBalancingClass |
Constructor and Description |
---|
DistributionSetup() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDynamicLoadBalancingClass()
Gets the dynamic load balancing class.
|
long |
getLoadRecordingInterval()
Returns the load recording interval.
|
int |
getNumberOfAgents()
Gets the number of agents.
|
int |
getNumberOfContainer()
Gets the number of container.
|
java.lang.String |
getStaticLoadBalancingClass()
Gets the static load balancing class.
|
LoadThresholdLevels |
getUserThresholds()
Gets the user thresholds.
|
boolean |
isAutoSaveRealMetricsOnSimStop()
Checks if is auto save on sim stop.
|
boolean |
isDoDynamicLoadBalancing()
Checks if is do dynamic load balancing.
|
boolean |
isDoStaticLoadBalancing()
Checks if is do static load balancing.
|
boolean |
isEvenDistribution()
Checks if is even distribution.
|
boolean |
isImmediatelyStartLoadRecording()
Checks if is immediately start load recording.
|
boolean |
isRemoteOnly()
Checks if is remote only.
|
boolean |
isShowLoadMonitorAtPlatformStart()
Checks if is show load monitor at platform start.
|
boolean |
isShowThreadMonitorAtPlatformStart()
Checks if is show thread monitor at platform start.
|
boolean |
isUseUserThresholds()
Checks if is use user thresholds.
|
void |
setAutoSaveRealMetricsOnSimStop(boolean autoSaveRealMetricsOnSimStop)
Sets the auto save real metrics on sim stop.
|
void |
setDoDynamicLoadBalancing(boolean doDynamicLoadBalancing)
Sets the do dynamic load balancing.
|
void |
setDoStaticLoadBalancing(boolean doStaticLoadBalalncing)
Sets the do static load balancing.
|
void |
setDynamicLoadBalancingClass(java.lang.String dynamicLoadBalancingClass)
Sets the dynamic load balancing class.
|
void |
setEvenDistribution(boolean isEvenDistribution)
Sets the even distribution.
|
void |
setImmediatelyStartLoadRecording(boolean immediatelyStartLoadRecording)
Sets the immediately start load recording.
|
void |
setLoadRecordingInterval(long loadRecordingInterval)
Sets the load recording interval.
|
void |
setNumberOfAgents(int numberOfAgents)
Sets the number of agents.
|
void |
setNumberOfContainer(int numberOfContainer)
Sets the number of container.
|
void |
setRemoteOnly(boolean isRemoteOnly)
Sets the remote only.
|
void |
setShowLoadMonitorAtPlatformStart(boolean showLoadMonitorAtPlatformStart)
Sets the show load monitor at platform start.
|
void |
setShowThreadMonitorAtPlatformStart(boolean showThreadMonitorAtPlatformStart)
Sets the show thread monitor at platform start
|
void |
setStaticLoadBalancingClass(java.lang.String staticLoadBalancingClass)
Sets the static load balancing class.
|
void |
setUserThresholds(LoadThresholdLevels userThresholds)
Sets the user thresholds.
|
void |
setUseUserThresholds(boolean useUserThresholds)
Sets the use user thresholds.
|
public static final java.lang.String DEFAULT_StaticLoadBalancingClass
public static final java.lang.String DEFAULT_DynamicLoadBalancingClass
public boolean isDoStaticLoadBalancing()
public void setDoStaticLoadBalancing(boolean doStaticLoadBalalncing)
doStaticLoadBalalncing
- the doStaticLoadBalalncing to setpublic int getNumberOfAgents()
public void setNumberOfAgents(int numberOfAgents)
numberOfAgents
- the numberOfAgents to setpublic int getNumberOfContainer()
public void setNumberOfContainer(int numberOfContainer)
numberOfContainer
- the numberOfContainer to setpublic void setStaticLoadBalancingClass(java.lang.String staticLoadBalancingClass)
staticLoadBalancingClass
- the staticLoadBalancingClass to setpublic java.lang.String getStaticLoadBalancingClass()
public boolean isDoDynamicLoadBalancing()
public void setDoDynamicLoadBalancing(boolean doDynamicLoadBalancing)
doDynamicLoadBalancing
- the doDynamicLoadBalalncing to setpublic java.lang.String getDynamicLoadBalancingClass()
public void setDynamicLoadBalancingClass(java.lang.String dynamicLoadBalancingClass)
dynamicLoadBalancingClass
- the dynamicLoadBalancingClass to setpublic boolean isUseUserThresholds()
public void setUseUserThresholds(boolean useUserThresholds)
useUserThresholds
- the useUserThresholds to setpublic LoadThresholdLevels getUserThresholds()
public void setUserThresholds(LoadThresholdLevels userThresholds)
userThresholds
- the userThresholds to setpublic boolean isShowLoadMonitorAtPlatformStart()
public boolean isShowThreadMonitorAtPlatformStart()
public boolean isAutoSaveRealMetricsOnSimStop()
public void setShowLoadMonitorAtPlatformStart(boolean showLoadMonitorAtPlatformStart)
showLoadMonitorAtPlatformStart
- the new show load monitor at platform startpublic void setShowThreadMonitorAtPlatformStart(boolean showThreadMonitorAtPlatformStart)
showThreadMonitorAtPlatformStart
- the new show thread monitor at platform startpublic void setAutoSaveRealMetricsOnSimStop(boolean autoSaveRealMetricsOnSimStop)
autoSaveRealMetricsOnSimStop
- the new auto save real metrics on sim stoppublic boolean isImmediatelyStartLoadRecording()
public void setImmediatelyStartLoadRecording(boolean immediatelyStartLoadRecording)
immediatelyStartLoadRecording
- the new immediately start load recordingpublic long getLoadRecordingInterval()
public void setLoadRecordingInterval(long loadRecordingInterval)
loadRecordingInterval
- the new load recording intervalpublic boolean isRemoteOnly()
public void setRemoteOnly(boolean isRemoteOnly)
isRemoteOnly
- the isRemoteOnly to setpublic boolean isEvenDistribution()
public void setEvenDistribution(boolean isEvenDistribution)
isEvenDistribution
- the new even distribution