public class RedisSetState<T> extends AbstractRedisState implements SetState<T>
| Modifier and Type | Class and Description |
|---|---|
static class |
RedisSetState.Factory |
DEFAULT_HOST, DEFAULT_PORT, host, id, pool, port, REDIS_HOST_CONF, REDIS_PORT_CONF, serializer| Constructor and Description |
|---|
RedisSetState(String id) |
RedisSetState(String id,
String host,
int port) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(T e) |
boolean |
addAll(Collection<? extends T> c) |
void |
beginCommit(Long txid) |
void |
clear() |
void |
commit(Long txid) |
Set<T> |
get() |
flushAll, generateKey, generateKey, generateKey, getHost, getPortpublic RedisSetState(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 boolean addAll(Collection<? extends T> c)
Copyright © 2013. All Rights Reserved.