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
public static class GenerateLoad.GeneratorInstance extends java.lang.Object implements Instance
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.zookeeper.test.system.Instance
Instance.Reporter
-
-
Constructor Summary
Constructors Constructor Description GeneratorInstance()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconfigure(java.lang.String params)This will be the second method invoked by the InstanceContainer.voidsetReporter(Instance.Reporter r)This will be the first method invoked by the InstanceContainer after an instance of this interface has been constructed.voidstart()Starts this instance.voidstop()Stops this instance.
-
-
-
Method Detail
-
configure
public void configure(java.lang.String params)
Description copied from interface:InstanceThis will be the second method invoked by the InstanceContainer. It may be invoked again if the configuration changes.
-
setReporter
public void setReporter(Instance.Reporter r)
Description copied from interface:InstanceThis 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:
setReporterin interfaceInstance- Parameters:
r- a handle to use to report on status changes.
-
start
public void start()
Description copied from interface:InstanceStarts this instance.
-
-