public class RedisMapState<T> extends AbstractRedisState<T> implements storm.trident.state.map.MapState<T>
| Modifier and Type | Class and Description |
|---|---|
static class |
RedisMapState.Factory<T> |
config, id, pool, serializer| Constructor and Description |
|---|
RedisMapState(String id) |
RedisMapState(String id,
RedisConfig config) |
| Modifier and Type | Method and Description |
|---|---|
void |
beginCommit(Long txid) |
void |
commit(Long txid) |
List<T> |
multiGet(List<List<Object>> keys) |
void |
multiPut(List<List<Object>> keys,
List<T> vals) |
List<T> |
multiUpdate(List<List<Object>> keys,
List<storm.trident.state.ValueUpdater> updaters) |
flushAll, generateKey, generateKey, generateKeypublic RedisMapState(String id)
public RedisMapState(String id, RedisConfig config)
public void beginCommit(Long txid)
beginCommit in interface storm.trident.state.Statepublic void commit(Long txid)
commit in interface storm.trident.state.Statepublic List<T> multiGet(List<List<Object>> keys)
multiGet in interface storm.trident.state.map.ReadOnlyMapState<T>public void multiPut(List<List<Object>> keys, List<T> vals)
multiPut in interface storm.trident.state.map.MapState<T>Copyright © 2013. All rights reserved.