public class Twister2SpoutDeclarer extends java.lang.Object implements SpoutDeclarer, java.io.Serializable
Constructor and Description |
---|
Twister2SpoutDeclarer() |
Modifier and Type | Method and Description |
---|---|
SpoutDeclarer |
addConfiguration(java.lang.String config,
java.lang.Object value) |
SpoutDeclarer |
addConfigurations(java.util.Map conf) |
java.util.HashMap<java.lang.String,java.lang.Object> |
getConfiguration() |
java.lang.Number |
getMaxSpoutPending() |
java.lang.Number |
getMaxTaskParallelism() |
java.lang.Number |
getNumTasks() |
boolean |
isDebug() |
SpoutDeclarer |
setDebug(boolean debug) |
SpoutDeclarer |
setMaxSpoutPending(java.lang.Number maxSpoutPending) |
SpoutDeclarer |
setMaxTaskParallelism(java.lang.Number maxTaskParallelism) |
SpoutDeclarer |
setNumTasks(java.lang.Number numTasks) |
public SpoutDeclarer addConfigurations(java.util.Map conf)
addConfigurations
in interface ComponentConfigurationDeclarer<SpoutDeclarer>
public SpoutDeclarer addConfiguration(java.lang.String config, java.lang.Object value)
addConfiguration
in interface ComponentConfigurationDeclarer<SpoutDeclarer>
public SpoutDeclarer setDebug(boolean debug)
setDebug
in interface ComponentConfigurationDeclarer<SpoutDeclarer>
public SpoutDeclarer setMaxTaskParallelism(java.lang.Number maxTaskParallelism)
setMaxTaskParallelism
in interface ComponentConfigurationDeclarer<SpoutDeclarer>
public SpoutDeclarer setMaxSpoutPending(java.lang.Number maxSpoutPending)
setMaxSpoutPending
in interface ComponentConfigurationDeclarer<SpoutDeclarer>
public SpoutDeclarer setNumTasks(java.lang.Number numTasks)
setNumTasks
in interface ComponentConfigurationDeclarer<SpoutDeclarer>
public java.lang.Number getMaxTaskParallelism()
public java.lang.Number getMaxSpoutPending()
public java.lang.Number getNumTasks()
public boolean isDebug()
public java.util.HashMap<java.lang.String,java.lang.Object> getConfiguration()