State newState(String namespace, Map stormConf, 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
stormConf- the storm topology configuration
Copyright © 2022 The Apache Software Foundation. All Rights Reserved.