public abstract class AbstractStateBackend extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
protected BackendType |
backendType |
protected Map<String,String> |
config |
protected int |
keyGroupIndex |
protected StateStrategy |
stateStrategy |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractStateBackend(Map<String,String> config) |
| Modifier and Type | Method and Description |
|---|---|
BackendType |
getBackendType() |
abstract <K,S,T> KeyMapStore<K,S,T> |
getKeyMapStore(String tableName) |
abstract <K,S,T> KeyMapStore<K,S,T> |
getKeyMapStore(String tableName,
KeyMapStoreSerializer keyMapStoreSerializer) |
abstract <K,V> KeyValueStore<K,V> |
getKeyValueStore(String tableName) |
String |
getStateKey(String descName,
String currentKey) |
StateStrategy |
getStateStrategy() |
String |
getTableName(AbstractStateDescriptor stateDescriptor) |
void |
setKeyGroupIndex(int keyGroupIndex) |
protected final StateStrategy stateStrategy
protected final BackendType backendType
protected int keyGroupIndex
public abstract <K,V> KeyValueStore<K,V> getKeyValueStore(String tableName)
public abstract <K,S,T> KeyMapStore<K,S,T> getKeyMapStore(String tableName)
public abstract <K,S,T> KeyMapStore<K,S,T> getKeyMapStore(String tableName, KeyMapStoreSerializer keyMapStoreSerializer)
public BackendType getBackendType()
public StateStrategy getStateStrategy()
public String getTableName(AbstractStateDescriptor stateDescriptor)
public void setKeyGroupIndex(int keyGroupIndex)
Copyright © 2020. All rights reserved.