public class RedisBase extends Object
| Constructor and Description |
|---|
RedisBase() |
| Modifier and Type | Method and Description |
|---|---|
void |
addSubscriber(Slice channel,
RedisClient client) |
void |
addSyncBase(RedisBase base) |
void |
clear() |
void |
del(Slice key) |
Set<RedisClient> |
getSubscribers(Slice channel) |
List<Slice> |
getSubscriptions(RedisClient client) |
Long |
getTTL(Slice key) |
Set<Slice> |
keys() |
Slice |
rawGet(Slice key) |
void |
rawPut(Slice key,
Slice value,
Long ttl) |
boolean |
removeSubscriber(Slice channel,
RedisClient client) |
long |
setDeadline(Slice key,
long deadline) |
long |
setTTL(Slice key,
long ttl) |
public void addSyncBase(RedisBase base)
public long setTTL(Slice key, long ttl)
public long setDeadline(Slice key, long deadline)
public void clear()
public void del(Slice key)
public void addSubscriber(Slice channel, RedisClient client)
public boolean removeSubscriber(Slice channel, RedisClient client)
public Set<RedisClient> getSubscribers(Slice channel)
public List<Slice> getSubscriptions(RedisClient client)
Copyright © 2018. All rights reserved.