public interface KeyBinaryCommands
Modifier and Type | Method and Description |
---|---|
boolean |
copy(byte[] srcKey,
byte[] dstKey,
boolean replace) |
long |
del(byte[]... keys) |
long |
del(byte[] key) |
byte[] |
dump(byte[] key) |
long |
exists(byte[]... keys) |
boolean |
exists(byte[] key) |
long |
expire(byte[] key,
long seconds) |
long |
expireAt(byte[] key,
long unixTime) |
Set<byte[]> |
keys(byte[] pattern) |
Long |
memoryUsage(byte[] key) |
Long |
memoryUsage(byte[] key,
int samples) |
String |
migrate(String host,
int port,
byte[] key,
int timeout) |
String |
migrate(String host,
int port,
int timeout,
MigrateParams params,
byte[]... keys) |
byte[] |
objectEncoding(byte[] key) |
Long |
objectFreq(byte[] key) |
Long |
objectIdletime(byte[] key) |
Long |
objectRefcount(byte[] key) |
long |
persist(byte[] key) |
long |
pexpire(byte[] key,
long milliseconds) |
long |
pexpireAt(byte[] key,
long millisecondsTimestamp) |
long |
pttl(byte[] key) |
byte[] |
randomBinaryKey() |
String |
rename(byte[] oldkey,
byte[] newkey) |
long |
renamenx(byte[] oldkey,
byte[] newkey) |
String |
restore(byte[] key,
long ttl,
byte[] serializedValue) |
String |
restore(byte[] key,
long ttl,
byte[] serializedValue,
RestoreParams params) |
ScanResult<byte[]> |
scan(byte[] cursor) |
ScanResult<byte[]> |
scan(byte[] cursor,
ScanParams params) |
ScanResult<byte[]> |
scan(byte[] cursor,
ScanParams params,
byte[] type) |
List<byte[]> |
sort(byte[] key) |
long |
sort(byte[] key,
byte[] dstkey) |
List<byte[]> |
sort(byte[] key,
SortingParams sortingParams) |
long |
sort(byte[] key,
SortingParams sortingParams,
byte[] dstkey) |
List<byte[]> |
sortReadonly(byte[] key,
SortingParams sortingParams) |
long |
touch(byte[]... keys) |
long |
touch(byte[] key) |
long |
ttl(byte[] key) |
String |
type(byte[] key) |
long |
unlink(byte[]... keys) |
long |
unlink(byte[] key) |
boolean exists(byte[] key)
long exists(byte[]... keys)
long persist(byte[] key)
String type(byte[] key)
byte[] dump(byte[] key)
String restore(byte[] key, long ttl, byte[] serializedValue)
String restore(byte[] key, long ttl, byte[] serializedValue, RestoreParams params)
long expire(byte[] key, long seconds)
long pexpire(byte[] key, long milliseconds)
long expireAt(byte[] key, long unixTime)
long pexpireAt(byte[] key, long millisecondsTimestamp)
long ttl(byte[] key)
long pttl(byte[] key)
long touch(byte[] key)
long touch(byte[]... keys)
List<byte[]> sort(byte[] key)
List<byte[]> sort(byte[] key, SortingParams sortingParams)
long del(byte[] key)
long del(byte[]... keys)
long unlink(byte[] key)
long unlink(byte[]... keys)
boolean copy(byte[] srcKey, byte[] dstKey, boolean replace)
String rename(byte[] oldkey, byte[] newkey)
long renamenx(byte[] oldkey, byte[] newkey)
long sort(byte[] key, SortingParams sortingParams, byte[] dstkey)
long sort(byte[] key, byte[] dstkey)
List<byte[]> sortReadonly(byte[] key, SortingParams sortingParams)
Long memoryUsage(byte[] key)
Long memoryUsage(byte[] key, int samples)
Long objectRefcount(byte[] key)
byte[] objectEncoding(byte[] key)
Long objectIdletime(byte[] key)
Long objectFreq(byte[] key)
String migrate(String host, int port, int timeout, MigrateParams params, byte[]... keys)
Set<byte[]> keys(byte[] pattern)
ScanResult<byte[]> scan(byte[] cursor)
ScanResult<byte[]> scan(byte[] cursor, ScanParams params)
ScanResult<byte[]> scan(byte[] cursor, ScanParams params, byte[] type)
byte[] randomBinaryKey()
Copyright © 2022. All rights reserved.