public interface StateProvider
StateFactory
to create a new state instances.Modifier and Type | Method and Description |
---|---|
State |
newState(java.lang.String namespace,
java.util.Map<java.lang.String,java.lang.Object> topoConf,
TopologyContext context)
Returns a new state instance.
|
State newState(java.lang.String namespace, java.util.Map<java.lang.String,java.lang.Object> topoConf, TopologyContext context)
namespace
- a namespace of the statetopoConf
- the storm topology configurationcontext
- the TopologyContext