public class RedisBase extends Object
| Constructor and Description |
|---|
RedisBase() |
public RMDataStructure getValue(Slice key)
public RMHyperLogLog getHLL(Slice key)
public long setTTL(Slice key, long ttl)
public long setDeadline(Slice key, long deadline)
public void clear()
public void putValueWithoutClearingTtl(Slice key, RMDataStructure value)
public void putValue(Slice key, RMDataStructure value, Long ttl)
public void putValue(Slice key, RMDataStructure value)
public void deleteValue(Slice key)
public void addSubscriber(Slice channel, RedisClient client)
public void subscribeByPattern(Slice pattern, RedisClient client)
public boolean removeSubscriber(Slice channel, RedisClient client)
public boolean removePSubscriber(Slice channel, RedisClient client)
public Set<RedisClient> getSubscribers(Slice channel)
public Map<Slice,Set<RedisClient>> getPsubscribers(Slice channel)
public int getNumpat()
public List<Slice> getSubscriptions(RedisClient client)
public List<Slice> getPSubscriptions(RedisClient client)
public boolean exists(Slice slice)
public void watch(OperationExecutorState state, Slice key)
public void unwatchSingleKey(OperationExecutorState state, Slice key)
Copyright © 2023. All rights reserved.