public abstract class BaseConfigurationDeclarer<T extends ComponentConfigurationDeclarer> extends Object implements ComponentConfigurationDeclarer<T>
Constructor and Description |
---|
BaseConfigurationDeclarer() |
Modifier and Type | Method and Description |
---|---|
T |
addConfiguration(String config,
Object value) |
T |
setCPULoad(Number amount) |
T |
setDebug(boolean debug) |
T |
setMaxSpoutPending(Number val) |
T |
setMaxTaskParallelism(Number val) |
T |
setMemoryLoad(Number onHeap) |
T |
setMemoryLoad(Number onHeap,
Number offHeap) |
T |
setNumTasks(Number val) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addConfigurations
public T addConfiguration(String config, Object value)
addConfiguration
in interface ComponentConfigurationDeclarer<T extends ComponentConfigurationDeclarer>
public T setDebug(boolean debug)
setDebug
in interface ComponentConfigurationDeclarer<T extends ComponentConfigurationDeclarer>
public T setMaxTaskParallelism(Number val)
setMaxTaskParallelism
in interface ComponentConfigurationDeclarer<T extends ComponentConfigurationDeclarer>
public T setMaxSpoutPending(Number val)
setMaxSpoutPending
in interface ComponentConfigurationDeclarer<T extends ComponentConfigurationDeclarer>
public T setNumTasks(Number val)
setNumTasks
in interface ComponentConfigurationDeclarer<T extends ComponentConfigurationDeclarer>
public T setMemoryLoad(Number onHeap)
setMemoryLoad
in interface ResourceDeclarer<T extends ComponentConfigurationDeclarer>
public T setMemoryLoad(Number onHeap, Number offHeap)
setMemoryLoad
in interface ResourceDeclarer<T extends ComponentConfigurationDeclarer>
public T setCPULoad(Number amount)
setCPULoad
in interface ResourceDeclarer<T extends ComponentConfigurationDeclarer>
Copyright © 2022 The Apache Software Foundation. All Rights Reserved.