Package org.apache.storm.loadgen
Class OutputStream.Builder
- java.lang.Object
-
- org.apache.storm.loadgen.OutputStream.Builder
-
- Enclosing class:
- OutputStream
public static class OutputStream.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OutputStream
build()
String
getId()
NormalDistStats
getRate()
boolean
isAreKeysSkewed()
OutputStream.Builder
withAreKeysSkewed(boolean areKeysSkewed)
OutputStream.Builder
withId(String id)
OutputStream.Builder
withRate(NormalDistStats rate)
-
-
-
Method Detail
-
getId
public String getId()
-
withId
public OutputStream.Builder withId(String id)
-
getRate
public NormalDistStats getRate()
-
withRate
public OutputStream.Builder withRate(NormalDistStats rate)
-
isAreKeysSkewed
public boolean isAreKeysSkewed()
-
withAreKeysSkewed
public OutputStream.Builder withAreKeysSkewed(boolean areKeysSkewed)
-
build
public OutputStream build()
-
-