public interface StateProvider
Used by the
StateFactory to create a new state instances.
|Modifier and Type||Method and Description|
Returns a new state instance.
State newState(String namespace, Map<String,Object> topoConf, TopologyContext context)
Returns a new state instance. Each state belongs unique namespace which is typically the componentid-task of the task, so that each task can have its own unique state.
namespace- a namespace of the state
topoConf- the storm topology configuration
Copyright © 2022 The Apache Software Foundation. All rights reserved.