|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ow2.clif.scenario.isac.egui.loadprofile.LoadProfile
public class LoadProfile
A load profile set for a specific behavior.
Constructor Summary | |
---|---|
LoadProfile(java.lang.String id,
java.util.List<ProfilePoint> profPoints,
boolean force)
Constructor |
Method Summary | |
---|---|
void |
addPoint(ProfilePoint point)
Add a new point in this profile |
boolean |
containsTime(int time)
Check if profile have already a point at this time |
boolean |
enoughPoints()
Check if there is enough point |
int |
getAdditionalPoints()
If the profile have some crenel_xx points we need to add some additional points. |
boolean |
getForceStop()
|
java.lang.String |
getId()
|
int |
getMaxPopulation()
|
int |
getMaxTime()
|
java.util.List<ProfilePoint> |
getProfilesPoints()
|
boolean |
isCorrect()
Check if the profile is correct |
void |
removePoint(ProfilePoint point)
Remove a point |
void |
removeTime(int time)
Remove point at this time |
void |
setForceStop(boolean force)
Sets the force stop flag |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LoadProfile(java.lang.String id, java.util.List<ProfilePoint> profPoints, boolean force)
id
- profPoints
- force
- Method Detail |
---|
public java.lang.String getId()
public java.util.List<ProfilePoint> getProfilesPoints()
public boolean getForceStop()
public void setForceStop(boolean force)
force
- if true, means running vUsers may be terminated
before full behavior completion, according to the load profile.
If false, running vUsers will complete their behavior.public int getAdditionalPoints()
public int getMaxTime()
public int getMaxPopulation()
public void addPoint(ProfilePoint point)
point
- the new pointpublic void removePoint(ProfilePoint point)
point
- the point to removepublic boolean containsTime(int time)
time
-
public void removeTime(int time)
time
- public boolean isCorrect()
public boolean enoughPoints()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |