arrival_generator
Class FILE_READ_AG
java.lang.Object
arrival_generator.ArrivalGenerator
arrival_generator.FILE_READ_AG
public class FILE_READ_AG
- extends ArrivalGenerator
This class allows a user to read the arrival times and iterations from a file,
as opposed to having them generated using a probability distribution
- Author:
- Ben Kybartas
Method Summary |
void |
findInfo(int JobClassId)
|
long[] |
getNextJobInfo()
Only one method should be used in a new workload scheme, each time it is called it
will return an array which contains the following information in order
JobClassID, Arrival Rate, Iterations |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FILE_READ_AG
public FILE_READ_AG(JobClass jobClass,
Mapper mapper,
java.lang.String filename)
findInfo
public void findInfo(int JobClassId)
throws java.io.IOException
- Throws:
java.io.IOException
getNextJobInfo
public long[] getNextJobInfo()
- Description copied from class:
ArrivalGenerator
- Only one method should be used in a new workload scheme, each time it is called it
will return an array which contains the following information in order
JobClassID, Arrival Rate, Iterations
- Specified by:
getNextJobInfo
in class ArrivalGenerator