@Ignored public interface IRedisCommander extends Closeable
Modifier and Type | Method and Description |
---|---|
default Long |
expire(byte[] key,
int seconds)
Deprecated.
|
Object |
getOriginJedis()
获取原始Jedis对象
|
boolean |
isClosed()
判断当前是否已被关闭
|
boolean |
isCluster()
判断当前是否为集群模式
|
boolean |
isNormal()
判断当前是否为正常模式(即排除集群、分片模式)
|
boolean |
isSentinel()
判断当前是否为哨兵模式
|
boolean |
isSharded()
判断当前是否为分片模式
|
default String |
restore(byte[] key,
int ttl,
byte[] serializedValue)
Deprecated.
|
default String |
setex(byte[] key,
int seconds,
byte[] value)
Deprecated.
|
default List<byte[]> |
xrange(byte[] key,
byte[] start,
byte[] end,
long count)
Deprecated.
|
boolean isCluster()
boolean isSentinel()
boolean isSharded()
boolean isNormal()
boolean isClosed()
Object getOriginJedis()
@Deprecated default String restore(byte[] key, int ttl, byte[] serializedValue)
@Deprecated default String setex(byte[] key, int seconds, byte[] value)
@Deprecated default List<byte[]> xrange(byte[] key, byte[] start, byte[] end, long count)
@Deprecated default Long expire(byte[] key, int seconds)
Copyright © 2022. All rights reserved.