|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object be.ac.ua.broker.input.tasks.generation.wm2.WorkloadGenerator
public class WorkloadGenerator
This class is used to generate a workload distribution for a workload model two task, it provides a load for every supported instance type according to the ratios provided by the number of EC2 compute units associated with the instance type.
Constructor Summary | |
---|---|
WorkloadGenerator(java.lang.String inputComputeInstanceCSV)
Constructor for WorkloadGenerator |
Method Summary | |
---|---|
void |
createWorkload(java.lang.String filePath,
int lengthInHours)
Create a random workload with a wave distribution for all the possible instance types for a task with a given length. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WorkloadGenerator(java.lang.String inputComputeInstanceCSV)
inputComputeInstanceCSV
- the file providing the ECU information for the supported
instance typesMethod Detail |
---|
public void createWorkload(java.lang.String filePath, int lengthInHours)
filePath
- location of the file to store the generated workload inlengthInHours
- the length of the task to generated the workload for
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |