Package org.apache.storm.flux.model
Class VertexDef
java.lang.Object
org.apache.storm.flux.model.ObjectDef
org.apache.storm.flux.model.BeanDef
org.apache.storm.flux.model.VertexDef
Abstract parent class of component definitions.
(spouts/bolts)
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
int
int
int
int
void
setCpuLoad
(int cpuLoad) void
setNumTasks
(int numTasks) void
setOffHeapMemoryLoad
(int offHeapMemoryLoad) void
setOnHeapMemoryLoad
(int onHeapMemoryLoad) void
setParallelism
(int parallelism) Methods inherited from class org.apache.storm.flux.model.ObjectDef
getClassName, getConfigMethods, getConstructorArgs, getFactory, getFactoryArgs, getProperties, hasConstructorArgs, hasFactory, hasFactoryArgs, hasReferences, setClassName, setConfigMethods, setConstructorArgs, setFactory, setFactoryArgs, setProperties
-
Constructor Details
-
VertexDef
public VertexDef()
-
-
Method Details
-
getParallelism
public int getParallelism() -
setParallelism
public void setParallelism(int parallelism) -
getNumTasks
public int getNumTasks() -
setNumTasks
public void setNumTasks(int numTasks) -
getOnHeapMemoryLoad
public int getOnHeapMemoryLoad() -
setOnHeapMemoryLoad
public void setOnHeapMemoryLoad(int onHeapMemoryLoad) -
getOffHeapMemoryLoad
public int getOffHeapMemoryLoad() -
setOffHeapMemoryLoad
public void setOffHeapMemoryLoad(int offHeapMemoryLoad) -
getCpuLoad
public int getCpuLoad() -
setCpuLoad
public void setCpuLoad(int cpuLoad)
-