com.lordofthejars.nosqlunit.redis.embedded
Interface RedisDatatypeOperations
- All Known Implementing Classes:
- HashDatatypeOperations, ListDatatypeOperations, SetDatatypeOperations, SortsetDatatypeOperations, StringDatatypeOperations
public interface RedisDatatypeOperations
getNumberOfKeys
long getNumberOfKeys()
flushAllKeys
void flushAllKeys()
del
Long del(byte[]... keys)
exists
boolean exists(byte[] key)
renameKey
boolean renameKey(byte[] key,
byte[] newKey)
addExpirationTime
void addExpirationTime(byte[] key,
long duration,
TimeUnit unit)
addExpirationAt
void addExpirationAt(byte[] key,
long time,
TimeUnit unit)
timedoutState
ExpirationDatatypeOperations.TtlState timedoutState(byte[] key)
removeExpiration
boolean removeExpiration(byte[] key)
remainingTime
long remainingTime(byte[] key)
keys
List<byte[]> keys()
type
String type()
sort
List<byte[]> sort(byte[] key)
Copyright © 2012. All Rights Reserved.