Package org.apache.zookeeper.test.system
Class GenerateLoad.GeneratorInstance
java.lang.Object
org.apache.zookeeper.test.system.GenerateLoad.GeneratorInstance
- All Implemented Interfaces:
Instance
- Enclosing class:
GenerateLoad
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.zookeeper.test.system.Instance
Instance.Reporter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
This will be the second method invoked by the InstanceContainer.void
This will be the first method invoked by the InstanceContainer after an instance of this interface has been constructed.void
start()
Starts this instance.void
stop()
Stops this instance.
-
Constructor Details
-
GeneratorInstance
public GeneratorInstance()
-
-
Method Details
-
configure
Description copied from interface:Instance
This will be the second method invoked by the InstanceContainer. It may be invoked again if the configuration changes. -
setReporter
Description copied from interface:Instance
This will be the first method invoked by the InstanceContainer after an instance of this interface has been constructed. It will only be invoked once.- Specified by:
setReporter
in interfaceInstance
- Parameters:
r
- a handle to use to report on status changes.
-
start
public void start()Description copied from interface:Instance
Starts this instance. -
stop
public void stop()Description copied from interface:Instance
Stops this instance.
-