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 |
expire(byte[] key,
long seconds,
ExpiryOption expiryOption) |
long |
expireAt(byte[] key,
long unixTime) |
long |
expireAt(byte[] key,
long unixTime,
ExpiryOption expiryOption) |
long |
expireTime(byte[] key) |
java.util.Set<byte[]> |
keys(byte[] pattern) |
java.lang.Long |
memoryUsage(byte[] key) |
java.lang.Long |
memoryUsage(byte[] key,
int samples) |
java.lang.String |
migrate(java.lang.String host,
int port,
byte[] key,
int timeout) |
java.lang.String |
migrate(java.lang.String host,
int port,
int timeout,
MigrateParams params,
byte[]... keys) |
byte[] |
objectEncoding(byte[] key) |
java.lang.Long |
objectFreq(byte[] key) |
java.lang.Long |
objectIdletime(byte[] key) |
java.lang.Long |
objectRefcount(byte[] key) |
long |
persist(byte[] key) |
long |
pexpire(byte[] key,
long milliseconds) |
long |
pexpire(byte[] key,
long milliseconds,
ExpiryOption expiryOption) |
long |
pexpireAt(byte[] key,
long millisecondsTimestamp) |
long |
pexpireAt(byte[] key,
long millisecondsTimestamp,
ExpiryOption expiryOption) |
long |
pexpireTime(byte[] key) |
long |
pttl(byte[] key) |
byte[] |
randomBinaryKey() |
java.lang.String |
rename(byte[] oldkey,
byte[] newkey) |
long |
renamenx(byte[] oldkey,
byte[] newkey) |
java.lang.String |
restore(byte[] key,
long ttl,
byte[] serializedValue) |
java.lang.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) |
java.util.List<byte[]> |
sort(byte[] key) |
long |
sort(byte[] key,
byte[] dstkey) |
java.util.List<byte[]> |
sort(byte[] key,
SortingParams sortingParams) |
long |
sort(byte[] key,
SortingParams sortingParams,
byte[] dstkey) |
java.util.List<byte[]> |
sortReadonly(byte[] key,
SortingParams sortingParams) |
long |
touch(byte[]... keys) |
long |
touch(byte[] key) |
long |
ttl(byte[] key) |
java.lang.String |
type(byte[] key) |
long |
unlink(byte[]... keys) |
long |
unlink(byte[] key) |
boolean exists(byte[] key)
long exists(byte[]... keys)
long persist(byte[] key)
java.lang.String type(byte[] key)
byte[] dump(byte[] key)
java.lang.String restore(byte[] key, long ttl, byte[] serializedValue)
java.lang.String restore(byte[] key, long ttl, byte[] serializedValue, RestoreParams params)
long expire(byte[] key, long seconds)
long expire(byte[] key, long seconds, ExpiryOption expiryOption)
long pexpire(byte[] key, long milliseconds)
long pexpire(byte[] key, long milliseconds, ExpiryOption expiryOption)
long expireTime(byte[] key)
long pexpireTime(byte[] key)
long expireAt(byte[] key, long unixTime)
long expireAt(byte[] key, long unixTime, ExpiryOption expiryOption)
long pexpireAt(byte[] key, long millisecondsTimestamp)
long pexpireAt(byte[] key, long millisecondsTimestamp, ExpiryOption expiryOption)
long ttl(byte[] key)
long pttl(byte[] key)
long touch(byte[] key)
long touch(byte[]... keys)
java.util.List<byte[]> sort(byte[] key)
java.util.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)
java.lang.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)
java.util.List<byte[]> sortReadonly(byte[] key, SortingParams sortingParams)
java.lang.Long memoryUsage(byte[] key)
java.lang.Long memoryUsage(byte[] key, int samples)
java.lang.Long objectRefcount(byte[] key)
byte[] objectEncoding(byte[] key)
java.lang.Long objectIdletime(byte[] key)
java.lang.Long objectFreq(byte[] key)
java.lang.String migrate(java.lang.String host, int port, byte[] key, int timeout)
java.lang.String migrate(java.lang.String host, int port, int timeout, MigrateParams params, byte[]... keys)
java.util.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 © 2023. All rights reserved.