public class OpenWorkload extends SimuComSimProcess implements IWorkloadDriver
| Constructor and Description |
|---|
OpenWorkload(SimuComModel model,
IUserFactory userFactory,
String interArrivalTime)
Constructor of the open workload driver
|
| Modifier and Type | Method and Description |
|---|---|
IUserFactory |
getUserFactory() |
void |
run()
Starts the workload
|
void |
setInterarrivalTime(String newInterarrivalTime) |
activate, addTerminatedObserver, fireTerminated, getCurrentSessionId, getModel, getPriority, getRequestContext, getRootProcess, getSimProcessStatus, hold, isFinished, lifeCycle, notifyResuming, notifySuspending, notifyTerminated, removeTerminatedObserver, setPriority, timeoutaddProcessListener, getId, getRawId, isTerminated, passivate, passivate, removeProcessListener, scheduleAtgetEncapsulatedEntity, isScheduled, reschedulegetNameequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetId, passivateisScheduled, reschedulepublic OpenWorkload(SimuComModel model, IUserFactory userFactory, String interArrivalTime)
model - The simulation model this driver belongs touserFactory - The factory which is used to bread the usersinterArrivalTime - The time to wait between leaving a new user to its fatepublic void run()
IWorkloadDriverrun in interface IWorkloadDriverpublic IUserFactory getUserFactory()
getUserFactory in interface IWorkloadDriverpublic void setInterarrivalTime(String newInterarrivalTime)