public class HBaseKeyValueStateProvider extends Object implements StateProvider
Provides HBaseKeyValueState
.
Constructor and Description |
---|
HBaseKeyValueStateProvider() |
Modifier and Type | Method and Description |
---|---|
State |
newState(String namespace,
Map stormConf,
TopologyContext context)
Returns a new state instance.
|
public State newState(String namespace, Map stormConf, TopologyContext context)
StateProvider
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.
newState
in interface StateProvider
namespace
- a namespace of the statestormConf
- the storm topology configurationcontext
- the TopologyContext
Copyright © 2019 The Apache Software Foundation. All Rights Reserved.