public interface RedisDatatypeOperations
| Modifier and Type | Method and Description |
|---|---|
void |
addExpirationAt(byte[] key,
long time,
TimeUnit unit) |
void |
addExpirationTime(byte[] key,
long duration,
TimeUnit unit) |
Long |
del(byte[]... keys) |
boolean |
exists(byte[] key) |
void |
flushAllKeys() |
long |
getNumberOfKeys() |
List<byte[]> |
keys() |
long |
remainingTime(byte[] key) |
boolean |
removeExpiration(byte[] key) |
boolean |
renameKey(byte[] key,
byte[] newKey) |
List<byte[]> |
sort(byte[] key) |
ExpirationDatatypeOperations.TtlState |
timedoutState(byte[] key) |
String |
type() |
long getNumberOfKeys()
void flushAllKeys()
Long del(byte[]... keys)
boolean exists(byte[] key)
boolean renameKey(byte[] key,
byte[] newKey)
void addExpirationTime(byte[] key,
long duration,
TimeUnit unit)
void addExpirationAt(byte[] key,
long time,
TimeUnit unit)
ExpirationDatatypeOperations.TtlState timedoutState(byte[] key)
boolean removeExpiration(byte[] key)
long remainingTime(byte[] key)
List<byte[]> keys()
String type()
List<byte[]> sort(byte[] key)
Copyright © 2016. All Rights Reserved.