Package org.apache.storm.loadgen
Class LoadCompConf.Builder
java.lang.Object
org.apache.storm.loadgen.LoadCompConf.Builder
- Enclosing class:
- LoadCompConf
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbuild()getId()intwithCpuLoad(double cpuLoad) withMemoryLoad(double memoryLoad) withParallelism(int parallelism) withStream(OutputStream stream) Add in a single OutputStream to this component.withStreams(List<OutputStream> streams) 
- 
Constructor Details- 
Builderpublic Builder()
 
- 
- 
Method Details- 
getId
- 
withId
- 
getParallelismpublic int getParallelism()
- 
withParallelism
- 
getStreams
- 
withStreamAdd in a single OutputStream to this component.- Parameters:
- stream- the stream to add
- Returns:
- this
 
- 
withStreams
- 
withCpuLoad
- 
withMemoryLoad
- 
withSlowExecutorPattern
- 
build
 
-