Package redis.clients.jedis.commands
Interface KeyBinaryCommands
- All Known Subinterfaces:
JedisBinaryCommands
- All Known Implementing Classes:
Jedis,JedisCluster,JedisPooled,JedisSentineled,JedisSharding,UnifiedJedis
public interface KeyBinaryCommands
-
Method Summary
Modifier and TypeMethodDescriptionbooleancopy(byte[] srcKey, byte[] dstKey, boolean replace) longdel(byte[] key) longdel(byte[]... keys) byte[]dump(byte[] key) booleanexists(byte[] key) longexists(byte[]... keys) longexpire(byte[] key, long seconds) longexpire(byte[] key, long seconds, ExpiryOption expiryOption) longexpireAt(byte[] key, long unixTime) longexpireAt(byte[] key, long unixTime, ExpiryOption expiryOption) longexpireTime(byte[] key) Set<byte[]> keys(byte[] pattern) memoryUsage(byte[] key) memoryUsage(byte[] key, int samples) migrate(String host, int port, int timeout, MigrateParams params, byte[]... keys) byte[]objectEncoding(byte[] key) objectFreq(byte[] key) objectIdletime(byte[] key) objectRefcount(byte[] key) longpersist(byte[] key) longpexpire(byte[] key, long milliseconds) longpexpire(byte[] key, long milliseconds, ExpiryOption expiryOption) longpexpireAt(byte[] key, long millisecondsTimestamp) longpexpireAt(byte[] key, long millisecondsTimestamp, ExpiryOption expiryOption) longpexpireTime(byte[] key) longpttl(byte[] key) byte[]rename(byte[] oldkey, byte[] newkey) longrenamenx(byte[] oldkey, byte[] newkey) restore(byte[] key, long ttl, byte[] serializedValue) 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) longsort(byte[] key, byte[] dstkey) List<byte[]> sort(byte[] key, SortingParams sortingParams) longsort(byte[] key, SortingParams sortingParams, byte[] dstkey) List<byte[]> sortReadonly(byte[] key, SortingParams sortingParams) longtouch(byte[] key) longtouch(byte[]... keys) longttl(byte[] key) type(byte[] key) longunlink(byte[] key) longunlink(byte[]... keys)
-
Method Details
-
exists
boolean exists(byte[] key) -
exists
long exists(byte[]... keys) -
persist
long persist(byte[] key) -
type
-
dump
byte[] dump(byte[] key) -
restore
-
restore
-
expire
long expire(byte[] key, long seconds) -
expire
-
pexpire
long pexpire(byte[] key, long milliseconds) -
pexpire
-
expireTime
long expireTime(byte[] key) -
pexpireTime
long pexpireTime(byte[] key) -
expireAt
long expireAt(byte[] key, long unixTime) -
expireAt
-
pexpireAt
long pexpireAt(byte[] key, long millisecondsTimestamp) -
pexpireAt
-
ttl
long ttl(byte[] key) -
pttl
long pttl(byte[] key) -
touch
long touch(byte[] key) -
touch
long touch(byte[]... keys) -
sort
-
sort
-
del
long del(byte[] key) -
del
long del(byte[]... keys) -
unlink
long unlink(byte[] key) -
unlink
long unlink(byte[]... keys) -
copy
boolean copy(byte[] srcKey, byte[] dstKey, boolean replace) -
rename
-
renamenx
long renamenx(byte[] oldkey, byte[] newkey) -
sort
-
sort
long sort(byte[] key, byte[] dstkey) -
sortReadonly
-
memoryUsage
-
memoryUsage
-
objectRefcount
-
objectEncoding
byte[] objectEncoding(byte[] key) -
objectIdletime
-
objectFreq
-
migrate
-
migrate
-
keys
-
scan
-
scan
-
scan
-
randomBinaryKey
byte[] randomBinaryKey()
-