public interface ComponentConfigurationDeclarer<T extends ComponentConfigurationDeclarer> extends ResourceDeclarer<T>
| Modifier and Type | Method and Description | 
|---|---|
| T | addConfiguration(String config,
                Object value)Add in a single config. | 
| T | addConfigurations(Map<String,Object> conf)add in several configs to the component. | 
| T | addResource(String resourceName,
           Number resourceValue)Add generic resource for this component. | 
| T | addResources(Map<String,Double> resources)Add generic resources for this component. | 
| Map<String,Object> | getComponentConfiguration()return the current component configuration. | 
| T | setDebug(boolean debug)Turn on/off debug for this component. | 
| T | setMaxSpoutPending(Number val)Set the max spout pending config for this component. | 
| T | setMaxTaskParallelism(Number val)Set the max task parallelism for this component. | 
| T | setNumTasks(Number val)Set the number of tasks for this component. | 
addSharedMemory, setCPULoad, setMemoryLoad, setMemoryLoadT addConfigurations(Map<String,Object> conf)
conf - the configs to addMap<String,Object> getComponentConfiguration()
T addConfiguration(String config, Object value)
config - the key for the configvalue - the value of the configT setDebug(boolean debug)
debug - true for debug on false for debug offT setMaxTaskParallelism(Number val)
val - the maximum parallelismT setMaxSpoutPending(Number val)
val - the value of max spout pending.T setNumTasks(Number val)
val - the number of tasksCopyright © 2023 The Apache Software Foundation. All rights reserved.