backtype.storm.topology
Class BaseConfigurationDeclarer<T extends ComponentConfigurationDeclarer>
java.lang.Object
backtype.storm.topology.BaseConfigurationDeclarer<T>
- All Implemented Interfaces:
- ComponentConfigurationDeclarer<T>
- Direct Known Subclasses:
- TopologyBuilder.ConfigGetter
public abstract class BaseConfigurationDeclarer<T extends ComponentConfigurationDeclarer>
- extends Object
- implements ComponentConfigurationDeclarer<T>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BaseConfigurationDeclarer
public BaseConfigurationDeclarer()
addConfiguration
public T addConfiguration(String config,
Object value)
- Specified by:
addConfiguration in interface ComponentConfigurationDeclarer<T extends ComponentConfigurationDeclarer>
setDebug
public T setDebug(boolean debug)
- Specified by:
setDebug in interface ComponentConfigurationDeclarer<T extends ComponentConfigurationDeclarer>
setMaxTaskParallelism
public T setMaxTaskParallelism(Number val)
- Specified by:
setMaxTaskParallelism in interface ComponentConfigurationDeclarer<T extends ComponentConfigurationDeclarer>
setMaxSpoutPending
public T setMaxSpoutPending(Number val)
- Specified by:
setMaxSpoutPending in interface ComponentConfigurationDeclarer<T extends ComponentConfigurationDeclarer>
setNumTasks
public T setNumTasks(Number val)
- Specified by:
setNumTasks in interface ComponentConfigurationDeclarer<T extends ComponentConfigurationDeclarer>
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.