public final class StormConfig extends ExecutionConfig.GlobalJobParameters implements Map
StormConfig
is used to provide a user-defined Storm configuration (ie, a raw Map
or Config
object) for embedded Spouts and Bolts.Constructor and Description |
---|
StormConfig()
Creates an empty configuration.
|
StormConfig(Map config)
Creates an configuration with initial values provided by the given
Map . |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
boolean |
containsKey(Object key) |
boolean |
containsValue(Object value) |
Set<Map.Entry<Object,Object>> |
entrySet() |
Object |
get(Object key) |
boolean |
isEmpty() |
Set<Object> |
keySet() |
Object |
put(Object key,
Object value) |
void |
putAll(Map m) |
Object |
remove(Object key) |
int |
size() |
Collection<Object> |
values() |
toMap
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
public StormConfig()
public StormConfig(Map config)
Map
.config
- Initial values for this configuration.public boolean containsKey(Object key)
containsKey
in interface Map
public boolean containsValue(Object value)
containsValue
in interface Map
public Collection<Object> values()
Copyright © 2014–2018 The Apache Software Foundation. All rights reserved.