public class RedisSetMultiMapState<K,V> extends AbstractRedisState implements SetMultiMapState<K,V>
| Modifier and Type | Class and Description |
|---|---|
static class |
RedisSetMultiMapState.Factory |
DEFAULT_HOST, DEFAULT_PORT, host, id, pool, port, REDIS_HOST_CONF, REDIS_PORT_CONF, serializer| Constructor and Description |
|---|
RedisSetMultiMapState(String id) |
RedisSetMultiMapState(String id,
String host,
int port) |
| Modifier and Type | Method and Description |
|---|---|
void |
beginCommit(Long txid) |
void |
commit(Long txid) |
Set<V> |
get(K key) |
boolean |
put(K key,
V value) |
long |
sizeOf(K key) |
flushAll, generateKey, generateKey, generateKey, getHost, getPortpublic RedisSetMultiMapState(String id)
public void beginCommit(Long txid)
beginCommit in interface storm.trident.state.Statepublic void commit(Long txid)
commit in interface storm.trident.state.Statepublic long sizeOf(K key)
sizeOf in interface SetMultiMapState<K,V>Copyright © 2013. All Rights Reserved.