Class ClosedWorkloadUserFactory
java.lang.Object
de.uka.ipd.sdq.simucomframework.usage.AbstractWorkloadUserFactory
de.uka.ipd.sdq.simucomframework.usage.ClosedWorkloadUserFactory
- All Implemented Interfaces:
IClosedWorkloadUserFactory
,IUserFactory
public abstract class ClosedWorkloadUserFactory
extends AbstractWorkloadUserFactory
implements IClosedWorkloadUserFactory
Factory to create closed workload users
-
Field Summary
Fields inherited from class de.uka.ipd.sdq.simucomframework.usage.AbstractWorkloadUserFactory
model, usageStartStopProbes
-
Constructor Summary
ConstructorDescriptionClosedWorkloadUserFactory
(SimuComModel model, String thinkTimeSpec, String usageScenarioURI, de.uka.ipd.sdq.scheduler.resources.active.IResourceTableManager resourceTableManager) ClosedWorkloadUserFactory
(SimuComModel model, String thinkTimeSpec, org.palladiosimulator.pcm.usagemodel.UsageScenario usageScenario, de.uka.ipd.sdq.scheduler.resources.active.IResourceTableManager resourceTableManager) -
Method Summary
Modifier and TypeMethodDescriptionabstract IScenarioRunner
Template method filled by the generator.Instruct this factory to spit out a new uservoid
setThinkTimeSpec
(String thinkTimeSpec) Sets a new think time specification that is applied to newly created users.Methods inherited from class de.uka.ipd.sdq.simucomframework.usage.AbstractWorkloadUserFactory
attachResponseTimeCalculator
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface de.uka.ipd.sdq.simucomframework.usage.IUserFactory
attachResponseTimeCalculator
-
Constructor Details
-
ClosedWorkloadUserFactory
public ClosedWorkloadUserFactory(SimuComModel model, String thinkTimeSpec, String usageScenarioURI, de.uka.ipd.sdq.scheduler.resources.active.IResourceTableManager resourceTableManager) -
ClosedWorkloadUserFactory
public ClosedWorkloadUserFactory(SimuComModel model, String thinkTimeSpec, org.palladiosimulator.pcm.usagemodel.UsageScenario usageScenario, de.uka.ipd.sdq.scheduler.resources.active.IResourceTableManager resourceTableManager)
-
-
Method Details
-
createUser
Description copied from interface:IUserFactory
Instruct this factory to spit out a new user- Specified by:
createUser
in interfaceIClosedWorkloadUserFactory
- Specified by:
createUser
in interfaceIUserFactory
- Returns:
- The newly born user
-
setThinkTimeSpec
Description copied from interface:IClosedWorkloadUserFactory
Sets a new think time specification that is applied to newly created users.- Specified by:
setThinkTimeSpec
in interfaceIClosedWorkloadUserFactory
- Parameters:
thinkTimeSpec
- the new tink time specification. Must not be null.
-
createScenarioRunner
Template method filled by the generator. Returns the users behaviour.- Returns:
- The behaviour of the users created by this factory
-