Class BasicGroupStrategy
- java.lang.Object
-
- step.basic.restclient.old.simulation.AbstractSimulationStrategy
-
- step.basic.restclient.old.simulation.BasicGroupStrategy
-
public class BasicGroupStrategy extends AbstractSimulationStrategy
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class step.basic.restclient.old.simulation.AbstractSimulationStrategy
AbstractSimulationStrategy.BrokerGroup, AbstractSimulationStrategy.ExecutionType
-
-
Field Summary
-
Fields inherited from class step.basic.restclient.old.simulation.AbstractSimulationStrategy
duration, getters, gracePeriod, nbIterations, peekers, putters, sleepTime, strategyName, type
-
-
Constructor Summary
Constructors Constructor Description BasicGroupStrategy(java.lang.String strategyName, AbstractSimulationStrategy.ExecutionType type, AbstractSimulationStrategy.BrokerGroup putters, AbstractSimulationStrategy.BrokerGroup peekers, AbstractSimulationStrategy.BrokerGroup getters, java.time.Duration duration, int nbIterations, long sleepTime, long gracePeriod)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
doGroupAction(AbstractSimulationStrategy.BrokerGroup group, RemoteEventBrokerClient client, java.lang.String iterationIdentifier)
-
Methods inherited from class step.basic.restclient.old.simulation.AbstractSimulationStrategy
getDuration, getNbGetters, getNbIterations, getNbPeekers, getNbPuters, getSleepTime
-
-
-
-
Constructor Detail
-
BasicGroupStrategy
public BasicGroupStrategy(java.lang.String strategyName, AbstractSimulationStrategy.ExecutionType type, AbstractSimulationStrategy.BrokerGroup putters, AbstractSimulationStrategy.BrokerGroup peekers, AbstractSimulationStrategy.BrokerGroup getters, java.time.Duration duration, int nbIterations, long sleepTime, long gracePeriod)
-
-
Method Detail
-
doGroupAction
public void doGroupAction(AbstractSimulationStrategy.BrokerGroup group, RemoteEventBrokerClient client, java.lang.String iterationIdentifier) throws java.lang.Exception
- Specified by:
doGroupAction
in classAbstractSimulationStrategy
- Throws:
java.lang.Exception
-
-