public class JedisClusterCommander extends Object implements IRedisCommander
Modifier and Type | Method and Description |
---|---|
List<String> |
aclCat() |
List<byte[]> |
aclCat(byte[] category) |
List<String> |
aclCat(String category) |
List<byte[]> |
aclCatBinary() |
Long |
aclDelUser(byte[] name) |
Long |
aclDelUser(String name) |
String |
aclGenPass() |
byte[] |
aclGenPassBinary() |
AccessControlUser |
aclGetUser(byte[] name) |
AccessControlUser |
aclGetUser(String name) |
List<String> |
aclList() |
List<byte[]> |
aclListBinary() |
String |
aclLoad() |
List<AccessControlLogEntry> |
aclLog() |
byte[] |
aclLog(byte[] options) |
List<AccessControlLogEntry> |
aclLog(int limit) |
String |
aclLog(String options) |
List<byte[]> |
aclLogBinary() |
List<byte[]> |
aclLogBinary(int limit) |
String |
aclLogReset() |
String |
aclSave() |
String |
aclSetUser(byte[] name) |
String |
aclSetUser(byte[] name,
byte[]... keys) |
String |
aclSetUser(String name) |
String |
aclSetUser(String name,
String... keys) |
List<String> |
aclUsers() |
List<byte[]> |
aclUsersBinary() |
String |
aclWhoAmI() |
byte[] |
aclWhoAmIBinary() |
Long |
append(byte[] key,
byte[] value) |
Long |
append(String key,
String value) |
String |
auth(String password) |
String |
auth(String user,
String password) |
String |
bgrewriteaof() |
String |
bgsave() |
Long |
bitcount(byte[] key) |
Long |
bitcount(byte[] key,
long start,
long end) |
Long |
bitcount(String key) |
Long |
bitcount(String key,
long start,
long end) |
List<Long> |
bitfield(byte[] key,
byte[]... arguments) |
List<Long> |
bitfield(String key,
String... arguments) |
List<Long> |
bitfieldReadonly(byte[] key,
byte[]... arguments) |
List<Long> |
bitfieldReadonly(String key,
String... arguments) |
Long |
bitop(BitOP op,
byte[] destKey,
byte[]... srcKeys) |
Long |
bitop(BitOP op,
String destKey,
String... srcKeys) |
Long |
bitpos(String key,
boolean value) |
Long |
bitpos(String key,
boolean value,
BitPosParams params) |
byte[] |
blmove(byte[] srcKey,
byte[] dstKey,
ListDirection from,
ListDirection to,
double timeout) |
String |
blmove(String srcKey,
String dstKey,
ListDirection from,
ListDirection to,
double timeout) |
List<byte[]> |
blpop(byte[]... args) |
List<byte[]> |
blpop(double timeout,
byte[]... keys) |
KeyedListElement |
blpop(double timeout,
String... keys) |
KeyedListElement |
blpop(double timeout,
String key) |
List<byte[]> |
blpop(int timeout,
byte[]... keys) |
List<String> |
blpop(int timeout,
String... keys) |
List<String> |
blpop(int timeout,
String key) |
List<String> |
blpop(String... args) |
List<byte[]> |
brpop(byte[]... args) |
List<byte[]> |
brpop(double timeout,
byte[]... keys) |
KeyedListElement |
brpop(double timeout,
String... keys) |
KeyedListElement |
brpop(double timeout,
String key) |
List<byte[]> |
brpop(int timeout,
byte[]... keys) |
List<String> |
brpop(int timeout,
String... keys) |
List<String> |
brpop(int timeout,
String key) |
List<String> |
brpop(String... args) |
byte[] |
brpoplpush(byte[] source,
byte[] destination,
int timeout) |
String |
brpoplpush(String source,
String destination,
int timeout) |
List<byte[]> |
bzpopmax(double timeout,
byte[]... keys) |
KeyedZSetElement |
bzpopmax(double timeout,
String... keys) |
List<byte[]> |
bzpopmin(double timeout,
byte[]... keys) |
KeyedZSetElement |
bzpopmin(double timeout,
String... keys) |
String |
clientGetname() |
byte[] |
clientGetnameBinary() |
Long |
clientId() |
String |
clientInfo() |
byte[] |
clientInfoBinary() |
String |
clientKill(byte[] ipPort) |
Long |
clientKill(ClientKillParams params) |
String |
clientKill(String ipPort) |
String |
clientKill(String ip,
int port) |
String |
clientList() |
String |
clientList(ClientType type) |
String |
clientList(long... clientIds) |
byte[] |
clientListBinary() |
byte[] |
clientListBinary(ClientType type) |
byte[] |
clientListBinary(long... clientIds) |
String |
clientPause(long timeout) |
String |
clientPause(long timeout,
ClientPauseMode mode) |
String |
clientSetname(byte[] name) |
String |
clientSetname(String name) |
Long |
clientUnblock(long clientId,
UnblockType unblockType) |
void |
close() |
String |
clusterAddSlots(int... slots) |
Long |
clusterCountKeysInSlot(int slot) |
String |
clusterDelSlots(int... slots) |
String |
clusterFailover() |
String |
clusterFailover(ClusterFailoverOption failoverOption) |
String |
clusterFlushSlots() |
String |
clusterForget(String nodeId) |
List<String> |
clusterGetKeysInSlot(int slot,
int count) |
List<byte[]> |
clusterGetKeysInSlotBinary(int slot,
int count) |
String |
clusterInfo() |
Long |
clusterKeySlot(String key) |
String |
clusterMeet(String ip,
int port) |
String |
clusterMyId() |
String |
clusterNodes() |
String |
clusterReplicas(String nodeId) |
String |
clusterReplicate(String nodeId) |
String |
clusterReset(ClusterReset resetType) |
String |
clusterReset(ClusterResetType resetType) |
String |
clusterSaveConfig() |
String |
clusterSetSlotImporting(int slot,
String nodeId) |
String |
clusterSetSlotMigrating(int slot,
String nodeId) |
String |
clusterSetSlotNode(int slot,
String nodeId) |
String |
clusterSetSlotStable(int slot) |
List<String> |
clusterSlaves(String nodeId) |
List<Object> |
clusterSlots() |
List<byte[]> |
configGet(byte[] pattern) |
List<String> |
configGet(String pattern) |
String |
configResetStat() |
String |
configRewrite() |
byte[] |
configSet(byte[] parameter,
byte[] value) |
String |
configSet(String parameter,
String value) |
String |
configSetBinary(byte[] parameter,
byte[] value) |
Boolean |
copy(byte[] srcKey,
byte[] dstKey,
boolean replace) |
Boolean |
copy(byte[] srcKey,
byte[] dstKey,
int db,
boolean replace) |
Boolean |
copy(String srcKey,
String dstKey,
boolean replace) |
Boolean |
copy(String srcKey,
String dstKey,
int db,
boolean replace) |
Long |
dbSize() |
String |
debug(DebugParams params) |
Long |
decr(byte[] key) |
Long |
decr(String key) |
Long |
decrBy(byte[] key,
long decrement) |
Long |
decrBy(String key,
long decrement) |
Long |
del(byte[]... keys) |
Long |
del(byte[] key) |
Long |
del(String... keys) |
Long |
del(String key) |
byte[] |
dump(byte[] key) |
byte[] |
dump(String key) |
byte[] |
echo(byte[] arg) |
String |
echo(String string) |
Object |
eval(byte[] script) |
Object |
eval(byte[] script,
byte[] sampleKey) |
Object |
eval(byte[] script,
byte[] keyCount,
byte[]... params) |
Object |
eval(byte[] script,
int keyCount,
byte[]... params) |
Object |
eval(byte[] script,
List<byte[]> keys,
List<byte[]> args) |
Object |
eval(String script) |
Object |
eval(String script,
int keyCount,
String... params) |
Object |
eval(String script,
List<String> keys,
List<String> args) |
Object |
eval(String script,
String sampleKey) |
Object |
evalsha(byte[] sha1) |
Object |
evalsha(byte[] sha1,
byte[] sampleKey) |
Object |
evalsha(byte[] sha1,
int keyCount,
byte[]... params) |
Object |
evalsha(byte[] sha1,
List<byte[]> keys,
List<byte[]> args) |
Object |
evalsha(String sha1) |
Object |
evalsha(String sha1,
int keyCount,
String... params) |
Object |
evalsha(String sha1,
List<String> keys,
List<String> args) |
Object |
evalsha(String sha1,
String sampleKey) |
Long |
exists(byte[]... keys) |
Boolean |
exists(byte[] key) |
Long |
exists(String... keys) |
Boolean |
exists(String key) |
Long |
expire(byte[] key,
int seconds) |
Long |
expire(byte[] key,
long seconds) |
Long |
expire(String key,
long seconds) |
Long |
expireAt(byte[] key,
long unixTime) |
Long |
expireAt(String key,
long unixTime) |
String |
failover() |
String |
failover(FailoverParams failoverParams) |
String |
failoverAbort() |
String |
flushAll() |
String |
flushAll(FlushMode flushMode) |
String |
flushDB() |
String |
flushDB(FlushMode flushMode) |
Long |
geoadd(byte[] key,
double longitude,
double latitude,
byte[] member) |
Long |
geoadd(byte[] key,
GeoAddParams params,
Map<byte[],GeoCoordinate> memberCoordinateMap) |
Long |
geoadd(byte[] key,
Map<byte[],GeoCoordinate> memberCoordinateMap) |
Long |
geoadd(String key,
double longitude,
double latitude,
String member) |
Long |
geoadd(String key,
GeoAddParams params,
Map<String,GeoCoordinate> memberCoordinateMap) |
Long |
geoadd(String key,
Map<String,GeoCoordinate> memberCoordinateMap) |
Double |
geodist(byte[] key,
byte[] member1,
byte[] member2) |
Double |
geodist(byte[] key,
byte[] member1,
byte[] member2,
GeoUnit unit) |
Double |
geodist(String key,
String member1,
String member2) |
Double |
geodist(String key,
String member1,
String member2,
GeoUnit unit) |
List<byte[]> |
geohash(byte[] key,
byte[]... members) |
List<String> |
geohash(String key,
String... members) |
List<GeoCoordinate> |
geopos(byte[] key,
byte[]... members) |
List<GeoCoordinate> |
geopos(String key,
String... members) |
List<GeoRadiusResponse> |
georadius(byte[] key,
double longitude,
double latitude,
double radius,
GeoUnit unit) |
List<GeoRadiusResponse> |
georadius(byte[] key,
double longitude,
double latitude,
double radius,
GeoUnit unit,
GeoRadiusParam param) |
List<GeoRadiusResponse> |
georadius(String key,
double longitude,
double latitude,
double radius,
GeoUnit unit) |
List<GeoRadiusResponse> |
georadius(String key,
double longitude,
double latitude,
double radius,
GeoUnit unit,
GeoRadiusParam param) |
List<GeoRadiusResponse> |
georadiusByMember(byte[] key,
byte[] member,
double radius,
GeoUnit unit) |
List<GeoRadiusResponse> |
georadiusByMember(byte[] key,
byte[] member,
double radius,
GeoUnit unit,
GeoRadiusParam param) |
List<GeoRadiusResponse> |
georadiusByMember(String key,
String member,
double radius,
GeoUnit unit) |
List<GeoRadiusResponse> |
georadiusByMember(String key,
String member,
double radius,
GeoUnit unit,
GeoRadiusParam param) |
List<GeoRadiusResponse> |
georadiusByMemberReadonly(byte[] key,
byte[] member,
double radius,
GeoUnit unit) |
List<GeoRadiusResponse> |
georadiusByMemberReadonly(byte[] key,
byte[] member,
double radius,
GeoUnit unit,
GeoRadiusParam param) |
List<GeoRadiusResponse> |
georadiusByMemberReadonly(String key,
String member,
double radius,
GeoUnit unit) |
List<GeoRadiusResponse> |
georadiusByMemberReadonly(String key,
String member,
double radius,
GeoUnit unit,
GeoRadiusParam param) |
Long |
georadiusByMemberStore(byte[] key,
byte[] member,
double radius,
GeoUnit unit,
GeoRadiusParam param,
GeoRadiusStoreParam storeParam) |
Long |
georadiusByMemberStore(String key,
String member,
double radius,
GeoUnit unit,
GeoRadiusParam param,
GeoRadiusStoreParam storeParam) |
List<GeoRadiusResponse> |
georadiusReadonly(byte[] key,
double longitude,
double latitude,
double radius,
GeoUnit unit) |
List<GeoRadiusResponse> |
georadiusReadonly(byte[] key,
double longitude,
double latitude,
double radius,
GeoUnit unit,
GeoRadiusParam param) |
List<GeoRadiusResponse> |
georadiusReadonly(String key,
double longitude,
double latitude,
double radius,
GeoUnit unit) |
List<GeoRadiusResponse> |
georadiusReadonly(String key,
double longitude,
double latitude,
double radius,
GeoUnit unit,
GeoRadiusParam param) |
Long |
georadiusStore(byte[] key,
double longitude,
double latitude,
double radius,
GeoUnit unit,
GeoRadiusParam param,
GeoRadiusStoreParam storeParam) |
Long |
georadiusStore(String key,
double longitude,
double latitude,
double radius,
GeoUnit unit,
GeoRadiusParam param,
GeoRadiusStoreParam storeParam) |
byte[] |
get(byte[] key) |
String |
get(String key) |
Boolean |
getbit(byte[] key,
long offset) |
Boolean |
getbit(String key,
long offset) |
int |
getDB() |
byte[] |
getDel(byte[] key) |
String |
getDel(String key) |
byte[] |
getEx(byte[] key,
GetExParams params) |
String |
getEx(String key,
GetExParams params) |
Object |
getOriginJedis()
获取原始Jedis对象
|
byte[] |
getrange(byte[] key,
long startOffset,
long endOffset) |
String |
getrange(String key,
long startOffset,
long endOffset) |
byte[] |
getSet(byte[] key,
byte[] value) |
String |
getSet(String key,
String value) |
Long |
hdel(byte[] key,
byte[]... field) |
Long |
hdel(String key,
String... field) |
Boolean |
hexists(byte[] key,
byte[] field) |
Boolean |
hexists(String key,
String field) |
byte[] |
hget(byte[] key,
byte[] field) |
String |
hget(String key,
String field) |
Map<byte[],byte[]> |
hgetAll(byte[] key) |
Map<String,String> |
hgetAll(String key) |
Long |
hincrBy(byte[] key,
byte[] field,
long value) |
Long |
hincrBy(String key,
String field,
long value) |
Double |
hincrByFloat(byte[] key,
byte[] field,
double value) |
Double |
hincrByFloat(String key,
String field,
double value) |
Set<byte[]> |
hkeys(byte[] key) |
Set<String> |
hkeys(String key) |
Long |
hlen(byte[] key) |
Long |
hlen(String key) |
List<byte[]> |
hmget(byte[] key,
byte[]... fields) |
List<String> |
hmget(String key,
String... fields) |
String |
hmset(byte[] key,
Map<byte[],byte[]> hash) |
String |
hmset(String key,
Map<String,String> hash) |
byte[] |
hrandfield(byte[] key) |
List<byte[]> |
hrandfield(byte[] key,
long count) |
String |
hrandfield(String key) |
List<String> |
hrandfield(String key,
long count) |
Map<byte[],byte[]> |
hrandfieldWithValues(byte[] key,
long count) |
Map<String,String> |
hrandfieldWithValues(String key,
long count) |
<any> |
hscan(byte[] key,
byte[] cursor) |
<any> |
hscan(byte[] key,
byte[] cursor,
ScanParams params) |
<any> |
hscan(String key,
String cursor) |
<any> |
hscan(String key,
String cursor,
ScanParams params) |
Long |
hset(byte[] key,
byte[] field,
byte[] value) |
Long |
hset(byte[] key,
Map<byte[],byte[]> hash) |
Long |
hset(String key,
Map<String,String> hash) |
Long |
hset(String key,
String field,
String value) |
Long |
hsetnx(byte[] key,
byte[] field,
byte[] value) |
Long |
hsetnx(String key,
String field,
String value) |
Long |
hstrlen(byte[] key,
byte[] field) |
Long |
hstrlen(String key,
String field) |
List<byte[]> |
hvals(byte[] key) |
List<String> |
hvals(String key) |
Long |
incr(byte[] key) |
Long |
incr(String key) |
Long |
incrBy(byte[] key,
long increment) |
Long |
incrBy(String key,
long increment) |
Double |
incrByFloat(byte[] key,
double increment) |
Double |
incrByFloat(String key,
double increment) |
String |
info() |
String |
info(String section) |
boolean |
isClosed()
判断当前是否已被关闭
|
boolean |
isCluster()
判断当前是否为集群模式
|
boolean |
isNormal()
判断当前是否为正常模式(即排除集群、分片模式)
|
boolean |
isSentinel()
判断当前是否为哨兵模式
|
boolean |
isSharded()
判断当前是否为分片模式
|
Set<byte[]> |
keys(byte[] pattern) |
Set<String> |
keys(String pattern) |
Long |
lastsave() |
byte[] |
lindex(byte[] key,
long index) |
String |
lindex(String key,
long index) |
Long |
linsert(byte[] key,
ListPosition where,
byte[] pivot,
byte[] value) |
Long |
linsert(String key,
ListPosition where,
String pivot,
String value) |
Long |
llen(byte[] key) |
Long |
llen(String key) |
byte[] |
lmove(byte[] srcKey,
byte[] dstKey,
ListDirection from,
ListDirection to) |
String |
lmove(String srcKey,
String dstKey,
ListDirection from,
ListDirection to) |
byte[] |
lpop(byte[] key) |
List<byte[]> |
lpop(byte[] key,
int count) |
String |
lpop(String key) |
List<String> |
lpop(String key,
int count) |
Long |
lpos(byte[] key,
byte[] element) |
Long |
lpos(byte[] key,
byte[] element,
LPosParams params) |
List<Long> |
lpos(byte[] key,
byte[] element,
LPosParams params,
long count) |
Long |
lpos(String key,
String element) |
Long |
lpos(String key,
String element,
LPosParams params) |
List<Long> |
lpos(String key,
String element,
LPosParams params,
long count) |
Long |
lpush(byte[] key,
byte[]... args) |
Long |
lpush(String key,
String... string) |
Long |
lpushx(byte[] key,
byte[]... arg) |
Long |
lpushx(String key,
String... string) |
List<byte[]> |
lrange(byte[] key,
long start,
long stop) |
List<String> |
lrange(String key,
long start,
long stop) |
Long |
lrem(byte[] key,
long count,
byte[] value) |
Long |
lrem(String key,
long count,
String value) |
String |
lset(byte[] key,
long index,
byte[] value) |
String |
lset(String key,
long index,
String value) |
String |
ltrim(byte[] key,
long start,
long stop) |
String |
ltrim(String key,
long start,
long stop) |
String |
memoryDoctor() |
byte[] |
memoryDoctorBinary() |
Long |
memoryUsage(byte[] key) |
Long |
memoryUsage(byte[] key,
int samples) |
Long |
memoryUsage(String key) |
Long |
memoryUsage(String key,
int samples) |
List<byte[]> |
mget(byte[]... keys) |
List<String> |
mget(String... keys) |
String |
migrate(String host,
int port,
byte[] key,
int destinationDB,
int timeout) |
String |
migrate(String host,
int port,
int destinationDB,
int timeout,
MigrateParams params,
byte[]... keys) |
String |
migrate(String host,
int port,
int destinationDB,
int timeout,
MigrateParams params,
String... keys) |
String |
migrate(String host,
int port,
String key,
int destinationDB,
int timeout) |
List<redis.clients.jedis.Module> |
moduleList() |
String |
moduleLoad(String path) |
String |
moduleUnload(String name) |
Long |
move(byte[] key,
int dbIndex) |
Long |
move(String key,
int dbIndex) |
String |
mset(byte[]... keysvalues) |
String |
mset(String... keysvalues) |
Long |
msetnx(byte[]... keysvalues) |
Long |
msetnx(String... keysvalues) |
byte[] |
objectEncoding(byte[] key) |
String |
objectEncoding(String key) |
Long |
objectFreq(byte[] key) |
Long |
objectFreq(String key) |
List<String> |
objectHelp() |
List<byte[]> |
objectHelpBinary() |
Long |
objectIdletime(byte[] key) |
Long |
objectIdletime(String key) |
Long |
objectRefcount(byte[] key) |
Long |
objectRefcount(String key) |
Long |
persist(byte[] key) |
Long |
persist(String key) |
Long |
pexpire(byte[] key,
long milliseconds) |
Long |
pexpire(String key,
long milliseconds) |
Long |
pexpireAt(byte[] key,
long millisecondsTimestamp) |
Long |
pexpireAt(String key,
long millisecondsTimestamp) |
Long |
pfadd(byte[] key,
byte[]... elements) |
Long |
pfadd(String key,
String... elements) |
Long |
pfcount(byte[]... keys) |
long |
pfcount(byte[] key) |
long |
pfcount(String... keys) |
long |
pfcount(String key) |
String |
pfmerge(byte[] destkey,
byte[]... sourcekeys) |
String |
pfmerge(String destkey,
String... sourcekeys) |
String |
ping() |
String |
psetex(byte[] key,
long milliseconds,
byte[] value) |
String |
psetex(String key,
long milliseconds,
String value) |
void |
psubscribe(BinaryJedisPubSub jedisPubSub,
byte[]... patterns) |
void |
psubscribe(JedisPubSub jedisPubSub,
String... patterns) |
Long |
pttl(byte[] key) |
Long |
pttl(String key) |
Long |
publish(byte[] channel,
byte[] message) |
Long |
publish(String channel,
String message) |
String |
quit() |
byte[] |
randomBinaryKey() |
String |
randomKey() |
String |
readonly() |
String |
readwrite() |
String |
rename(byte[] oldkey,
byte[] newkey) |
String |
rename(String oldkey,
String newkey) |
Long |
renamenx(byte[] oldkey,
byte[] newkey) |
Long |
renamenx(String oldkey,
String newkey) |
String |
restore(byte[] key,
long ttl,
byte[] serializedValue) |
String |
restore(byte[] key,
long ttl,
byte[] serializedValue,
RestoreParams params) |
String |
restore(String key,
long ttl,
byte[] serializedValue) |
String |
restore(String key,
long ttl,
byte[] serializedValue,
RestoreParams params) |
String |
restoreReplace(byte[] key,
long ttl,
byte[] serializedValue) |
String |
restoreReplace(String key,
long ttl,
byte[] serializedValue) |
List<Object> |
role() |
List<Object> |
roleBinary() |
byte[] |
rpop(byte[] key) |
List<byte[]> |
rpop(byte[] key,
int count) |
String |
rpop(String key) |
List<String> |
rpop(String key,
int count) |
byte[] |
rpoplpush(byte[] srckey,
byte[] dstkey) |
String |
rpoplpush(String srckey,
String dstkey) |
Long |
rpush(byte[] key,
byte[]... args) |
Long |
rpush(String key,
String... string) |
Long |
rpushx(byte[] key,
byte[]... arg) |
Long |
rpushx(String key,
String... string) |
Long |
sadd(byte[] key,
byte[]... member) |
Long |
sadd(String key,
String... member) |
String |
save() |
<any> |
scan(byte[] cursor) |
<any> |
scan(byte[] cursor,
ScanParams params) |
<any> |
scan(byte[] cursor,
ScanParams params,
byte[] type) |
<any> |
scan(String cursor) |
<any> |
scan(String cursor,
ScanParams params) |
<any> |
scan(String cursor,
ScanParams params,
String type) |
Long |
scard(byte[] key) |
Long |
scard(String key) |
List<Long> |
scriptExists(byte[]... sha1) |
List<Long> |
scriptExists(byte[] sampleKey,
byte[]... sha1) |
List<Boolean> |
scriptExists(String... sha1) |
Boolean |
scriptExists(String sha1) |
List<Boolean> |
scriptExists(String sampleKey,
String... sha1) |
Boolean |
scriptExists(String sha1,
String sampleKey) |
String |
scriptFlush() |
String |
scriptFlush(byte[] sampleKey,
FlushMode flushMode) |
String |
scriptFlush(FlushMode flushMode) |
String |
scriptKill() |
String |
scriptKill(byte[] sampleKey) |
String |
scriptKill(String sampleKey) |
byte[] |
scriptLoad(byte[] script) |
byte[] |
scriptLoad(byte[] script,
byte[] sampleKey) |
String |
scriptLoad(String script) |
String |
scriptLoad(String script,
String sampleKey) |
Set<byte[]> |
sdiff(byte[]... keys) |
Set<String> |
sdiff(String... keys) |
Long |
sdiffstore(byte[] dstkey,
byte[]... keys) |
Long |
sdiffstore(String dstkey,
String... keys) |
String |
select(int index) |
String |
sentinelFailover(String masterName) |
List<String> |
sentinelGetMasterAddrByName(String masterName) |
Map<String,String> |
sentinelMaster(String masterName) |
List<Map<String,String>> |
sentinelMasters() |
String |
sentinelMonitor(String masterName,
String ip,
int port,
int quorum) |
String |
sentinelMyId() |
String |
sentinelRemove(String masterName) |
List<Map<String,String>> |
sentinelReplicas(String masterName) |
Long |
sentinelReset(String pattern) |
List<Map<String,String>> |
sentinelSentinels(String masterName) |
String |
sentinelSet(String masterName,
Map<String,String> parameterMap) |
List<Map<String,String>> |
sentinelSlaves(String masterName) |
String |
set(byte[] key,
byte[] value) |
String |
set(byte[] key,
byte[] value,
SetParams params) |
String |
set(String key,
String value) |
String |
set(String key,
String value,
SetParams params) |
Boolean |
setbit(byte[] key,
long offset,
boolean value) |
Boolean |
setbit(byte[] key,
long offset,
byte[] value) |
Boolean |
setbit(String key,
long offset,
boolean value) |
Boolean |
setbit(String key,
long offset,
String value) |
String |
setex(byte[] key,
long seconds,
byte[] value) |
String |
setex(String key,
long seconds,
String value) |
Long |
setnx(byte[] key,
byte[] value) |
Long |
setnx(String key,
String value) |
Long |
setrange(byte[] key,
long offset,
byte[] value) |
Long |
setrange(String key,
long offset,
String value) |
String |
shutdown() |
void |
shutdown(SaveMode saveMode) |
Set<byte[]> |
sinter(byte[]... keys) |
Set<String> |
sinter(String... keys) |
Long |
sinterstore(byte[] dstkey,
byte[]... keys) |
Long |
sinterstore(String dstkey,
String... keys) |
Boolean |
sismember(byte[] key,
byte[] member) |
Boolean |
sismember(String key,
String member) |
String |
slaveof(String host,
int port) |
String |
slaveofNoOne() |
List<Slowlog> |
slowlogGet() |
List<Slowlog> |
slowlogGet(long entries) |
List<Object> |
slowlogGetBinary() |
List<Object> |
slowlogGetBinary(long entries) |
Long |
slowlogLen() |
String |
slowlogReset() |
Set<byte[]> |
smembers(byte[] key) |
Set<String> |
smembers(String key) |
List<Boolean> |
smismember(byte[] key,
byte[]... members) |
List<Boolean> |
smismember(String key,
String... members) |
Long |
smove(byte[] srckey,
byte[] dstkey,
byte[] member) |
Long |
smove(String srckey,
String dstkey,
String member) |
List<byte[]> |
sort(byte[] key) |
List<byte[]> |
sort(byte[] key,
SortingParams sortingParameters) |
Long |
sort(byte[] key,
SortingParams sortingParameters,
byte[] dstkey) |
List<String> |
sort(String key) |
List<String> |
sort(String key,
SortingParams sortingParameters) |
Long |
sort(String key,
SortingParams sortingParameters,
String dstkey) |
byte[] |
spop(byte[] key) |
Set<byte[]> |
spop(byte[] key,
long count) |
String |
spop(String key) |
Set<String> |
spop(String key,
long count) |
byte[] |
srandmember(byte[] key) |
List<byte[]> |
srandmember(byte[] key,
int count) |
String |
srandmember(String key) |
List<String> |
srandmember(String key,
int count) |
Long |
srem(byte[] key,
byte[]... member) |
Long |
srem(String key,
String... member) |
<any> |
sscan(byte[] key,
byte[] cursor) |
<any> |
sscan(byte[] key,
byte[] cursor,
ScanParams params) |
<any> |
sscan(String key,
String cursor) |
<any> |
sscan(String key,
String cursor,
ScanParams params) |
LCSMatchResult |
strAlgoLCSKeys(byte[] keyA,
byte[] keyB,
StrAlgoLCSParams params) |
LCSMatchResult |
strAlgoLCSKeys(String keyA,
String keyB,
StrAlgoLCSParams params) |
LCSMatchResult |
strAlgoLCSStrings(byte[] strA,
byte[] strB,
StrAlgoLCSParams params) |
LCSMatchResult |
strAlgoLCSStrings(String strA,
String strB,
StrAlgoLCSParams params) |
Long |
strlen(byte[] key) |
Long |
strlen(String key) |
void |
subscribe(BinaryJedisPubSub jedisPubSub,
byte[]... channels) |
void |
subscribe(JedisPubSub jedisPubSub,
String... channels) |
byte[] |
substr(byte[] key,
int start,
int end) |
String |
substr(String key,
int start,
int end) |
Set<byte[]> |
sunion(byte[]... keys) |
Set<String> |
sunion(String... keys) |
Long |
sunionstore(byte[] dstkey,
byte[]... keys) |
Long |
sunionstore(String dstkey,
String... keys) |
String |
swapDB(int index1,
int index2) |
Long |
touch(byte[]... keys) |
Long |
touch(byte[] key) |
Long |
touch(String... keys) |
Long |
touch(String key) |
Long |
ttl(byte[] key) |
Long |
ttl(String key) |
String |
type(byte[] key) |
String |
type(String key) |
Long |
unlink(byte[]... keys) |
Long |
unlink(byte[] key) |
Long |
unlink(String... keys) |
Long |
unlink(String key) |
String |
unwatch() |
Long |
waitReplicas(byte[] key,
int replicas,
long timeout) |
Long |
waitReplicas(int replicas,
long timeout) |
String |
watch(byte[]... keys) |
String |
watch(String... keys) |
Long |
xack(byte[] key,
byte[] group,
byte[]... ids) |
long |
xack(String key,
String group,
StreamEntryID... ids) |
byte[] |
xadd(byte[] key,
byte[] id,
Map<byte[],byte[]> hash,
long maxLen,
boolean approximateLength) |
byte[] |
xadd(byte[] key,
Map<byte[],byte[]> hash,
XAddParams params) |
StreamEntryID |
xadd(String key,
Map<String,String> hash,
XAddParams params) |
StreamEntryID |
xadd(String key,
StreamEntryID id,
Map<String,String> hash) |
StreamEntryID |
xadd(String key,
StreamEntryID id,
Map<String,String> hash,
long maxLen,
boolean approximateLength) |
List<Object> |
xautoclaim(byte[] key,
byte[] groupName,
byte[] consumerName,
long minIdleTime,
byte[] start,
XAutoClaimParams params) |
Map.Entry<StreamEntryID,List<StreamEntry>> |
xautoclaim(String key,
String group,
String consumerName,
long minIdleTime,
StreamEntryID start,
XAutoClaimParams params) |
List<Object> |
xautoclaimJustId(byte[] key,
byte[] groupName,
byte[] consumerName,
long minIdleTime,
byte[] start,
XAutoClaimParams params) |
Map.Entry<StreamEntryID,List<StreamEntryID>> |
xautoclaimJustId(String key,
String group,
String consumerName,
long minIdleTime,
StreamEntryID start,
XAutoClaimParams params) |
List<byte[]> |
xclaim(byte[] key,
byte[] groupname,
byte[] consumername,
long minIdleTime,
long newIdleTime,
int retries,
boolean force,
byte[][] ids) |
List<byte[]> |
xclaim(byte[] key,
byte[] group,
byte[] consumername,
long minIdleTime,
XClaimParams params,
byte[]... ids) |
List<StreamEntry> |
xclaim(String key,
String group,
String consumername,
long minIdleTime,
long newIdleTime,
int retries,
boolean force,
StreamEntryID... ids) |
List<StreamEntry> |
xclaim(String key,
String group,
String consumername,
long minIdleTime,
XClaimParams params,
StreamEntryID... ids) |
List<byte[]> |
xclaimJustId(byte[] key,
byte[] group,
byte[] consumername,
long minIdleTime,
XClaimParams params,
byte[]... ids) |
List<StreamEntryID> |
xclaimJustId(String key,
String group,
String consumername,
long minIdleTime,
XClaimParams params,
StreamEntryID... ids) |
Long |
xdel(byte[] key,
byte[]... ids) |
long |
xdel(String key,
StreamEntryID... ids) |
String |
xgroupCreate(byte[] key,
byte[] consumer,
byte[] id,
boolean makeStream) |
String |
xgroupCreate(String key,
String groupname,
StreamEntryID id,
boolean makeStream) |
Long |
xgroupDelConsumer(byte[] key,
byte[] consumer,
byte[] consumerName) |
Long |
xgroupDelConsumer(String key,
String groupname,
String consumername) |
Long |
xgroupDestroy(byte[] key,
byte[] consumer) |
long |
xgroupDestroy(String key,
String groupname) |
String |
xgroupSetID(byte[] key,
byte[] consumer,
byte[] id) |
String |
xgroupSetID(String key,
String groupname,
StreamEntryID id) |
List<StreamConsumersInfo> |
xinfoConsumers(byte[] key,
byte[] group) |
List<StreamConsumersInfo> |
xinfoConsumers(String key,
String group) |
List<Object> |
xinfoConsumersBinary(byte[] key,
byte[] group) |
List<StreamGroupInfo> |
xinfoGroup(byte[] key) |
List<StreamGroupInfo> |
xinfoGroup(String key) |
List<Object> |
xinfoGroupBinary(byte[] key) |
StreamInfo |
xinfoStream(byte[] key) |
StreamInfo |
xinfoStream(String key) |
Object |
xinfoStreamBinary(byte[] key) |
Long |
xlen(byte[] key) |
Long |
xlen(String key) |
Object |
xpending(byte[] key,
byte[] groupname) |
List<Object> |
xpending(byte[] key,
byte[] groupname,
byte[] start,
byte[] end,
int count,
byte[] consumername) |
List<Object> |
xpending(byte[] key,
byte[] groupname,
XPendingParams params) |
StreamPendingSummary |
xpending(String key,
String groupname) |
List<StreamPendingEntry> |
xpending(String key,
String groupname,
StreamEntryID start,
StreamEntryID end,
int count,
String consumername) |
List<StreamPendingEntry> |
xpending(String key,
String groupname,
XPendingParams params) |
List<byte[]> |
xrange(byte[] key,
byte[] start,
byte[] end) |
List<byte[]> |
xrange(byte[] key,
byte[] start,
byte[] end,
int count) |
List<byte[]> |
xrange(byte[] key,
byte[] start,
byte[] end,
long count) |
List<StreamEntry> |
xrange(String key,
StreamEntryID start,
StreamEntryID end) |
List<StreamEntry> |
xrange(String key,
StreamEntryID start,
StreamEntryID end,
int count) |
List<Map.Entry<String,List<StreamEntry>>> |
xread(int count,
long block,
Map.Entry<String,StreamEntryID>... streams) |
List<byte[]> |
xread(int count,
long block,
Map<byte[],byte[]> streams) |
List<byte[]> |
xread(XReadParams xReadParams,
Map.Entry<byte[],byte[]>... streams) |
List<Map.Entry<String,List<StreamEntry>>> |
xread(XReadParams xReadParams,
Map<String,StreamEntryID> streams) |
List<byte[]> |
xreadGroup(byte[] groupname,
byte[] consumer,
int count,
long block,
boolean noAck,
Map<byte[],byte[]> streams) |
List<byte[]> |
xreadGroup(byte[] groupname,
byte[] consumer,
XReadGroupParams xReadGroupParams,
Map.Entry<byte[],byte[]>... streams) |
List<Map.Entry<String,List<StreamEntry>>> |
xreadGroup(String groupname,
String consumer,
int count,
long block,
boolean noAck,
Map.Entry<String,StreamEntryID>... streams) |
List<Map.Entry<String,List<StreamEntry>>> |
xreadGroup(String groupname,
String consumer,
XReadGroupParams xReadGroupParams,
Map<String,StreamEntryID> streams) |
List<byte[]> |
xrevrange(byte[] key,
byte[] end,
byte[] start) |
List<byte[]> |
xrevrange(byte[] key,
byte[] end,
byte[] start,
int count) |
List<StreamEntry> |
xrevrange(String key,
StreamEntryID end,
StreamEntryID start) |
List<StreamEntry> |
xrevrange(String key,
StreamEntryID end,
StreamEntryID start,
int count) |
Long |
xtrim(byte[] key,
long maxLen,
boolean approximateLength) |
Long |
xtrim(byte[] key,
XTrimParams params) |
long |
xtrim(String key,
long maxLen,
boolean approximate) |
long |
xtrim(String key,
XTrimParams params) |
Long |
zadd(byte[] key,
double score,
byte[] member) |
Long |
zadd(byte[] key,
double score,
byte[] member,
ZAddParams params) |
Long |
zadd(byte[] key,
Map<byte[],Double> scoreMembers) |
Long |
zadd(byte[] key,
Map<byte[],Double> scoreMembers,
ZAddParams params) |
Long |
zadd(String key,
double score,
String member) |
Long |
zadd(String key,
double score,
String member,
ZAddParams params) |
Long |
zadd(String key,
Map<String,Double> scoreMembers) |
Long |
zadd(String key,
Map<String,Double> scoreMembers,
ZAddParams params) |
Double |
zaddIncr(byte[] key,
double score,
byte[] member,
ZAddParams params) |
Double |
zaddIncr(String key,
double score,
String member,
ZAddParams params) |
Long |
zcard(byte[] key) |
Long |
zcard(String key) |
Long |
zcount(byte[] key,
byte[] min,
byte[] max) |
Long |
zcount(byte[] key,
double min,
double max) |
Long |
zcount(String key,
double min,
double max) |
Long |
zcount(String key,
String min,
String max) |
Set<byte[]> |
zdiff(byte[]... keys) |
Set<String> |
zdiff(String... keys) |
Long |
zdiffStore(byte[] dstkey,
byte[]... keys) |
Long |
zdiffStore(String dstkey,
String... keys) |
Set<Tuple> |
zdiffWithScores(byte[]... keys) |
Set<Tuple> |
zdiffWithScores(String... keys) |
Double |
zincrby(byte[] key,
double increment,
byte[] member) |
Double |
zincrby(byte[] key,
double increment,
byte[] member,
ZIncrByParams params) |
Double |
zincrby(String key,
double increment,
String member) |
Double |
zincrby(String key,
double increment,
String member,
ZIncrByParams params) |
Set<byte[]> |
zinter(ZParams params,
byte[]... keys) |
Set<String> |
zinter(ZParams params,
String... keys) |
Long |
zinterstore(byte[] dstkey,
byte[]... sets) |
Long |
zinterstore(byte[] dstkey,
ZParams params,
byte[]... sets) |
Long |
zinterstore(String dstkey,
String... sets) |
Long |
zinterstore(String dstkey,
ZParams params,
String... sets) |
Set<Tuple> |
zinterWithScores(ZParams params,
byte[]... keys) |
Set<Tuple> |
zinterWithScores(ZParams params,
String... keys) |
Long |
zlexcount(byte[] key,
byte[] min,
byte[] max) |
Long |
zlexcount(String key,
String min,
String max) |
List<Double> |
zmscore(byte[] key,
byte[]... members) |
List<Double> |
zmscore(String key,
String... members) |
Tuple |
zpopmax(byte[] key) |
Set<Tuple> |
zpopmax(byte[] key,
int count) |
Tuple |
zpopmax(String key) |
Set<Tuple> |
zpopmax(String key,
int count) |
Tuple |
zpopmin(byte[] key) |
Set<Tuple> |
zpopmin(byte[] key,
int count) |
Tuple |
zpopmin(String key) |
Set<Tuple> |
zpopmin(String key,
int count) |
byte[] |
zrandmember(byte[] key) |
Set<byte[]> |
zrandmember(byte[] key,
long count) |
String |
zrandmember(String key) |
Set<String> |
zrandmember(String key,
long count) |
Set<Tuple> |
zrandmemberWithScores(byte[] key,
long count) |
Set<Tuple> |
zrandmemberWithScores(String key,
long count) |
Set<byte[]> |
zrange(byte[] key,
long start,
long stop) |
Set<String> |
zrange(String key,
long start,
long stop) |
Set<byte[]> |
zrangeByLex(byte[] key,
byte[] min,
byte[] max) |
Set<byte[]> |
zrangeByLex(byte[] key,
byte[] min,
byte[] max,
int offset,
int count) |
Set<String> |
zrangeByLex(String key,
String min,
String max) |
Set<String> |
zrangeByLex(String key,
String min,
String max,
int offset,
int count) |
Set<byte[]> |
zrangeByScore(byte[] key,
byte[] min,
byte[] max) |
Set<byte[]> |
zrangeByScore(byte[] key,
byte[] min,
byte[] max,
int offset,
int count) |
Set<byte[]> |
zrangeByScore(byte[] key,
double min,
double max) |
Set<byte[]> |
zrangeByScore(byte[] key,
double min,
double max,
int offset,
int count) |
Set<String> |
zrangeByScore(String key,
double min,
double max) |
Set<String> |
zrangeByScore(String key,
double min,
double max,
int offset,
int count) |
Set<String> |
zrangeByScore(String key,
String min,
String max) |
Set<String> |
zrangeByScore(String key,
String min,
String max,
int offset,
int count) |
Set<Tuple> |
zrangeByScoreWithScores(byte[] key,
byte[] min,
byte[] max) |
Set<Tuple> |
zrangeByScoreWithScores(byte[] key,
byte[] min,
byte[] max,
int offset,
int count) |
Set<Tuple> |
zrangeByScoreWithScores(byte[] key,
double min,
double max) |
Set<Tuple> |
zrangeByScoreWithScores(byte[] key,
double min,
double max,
int offset,
int count) |
Set<Tuple> |
zrangeByScoreWithScores(String key,
double min,
double max) |
Set<Tuple> |
zrangeByScoreWithScores(String key,
double min,
double max,
int offset,
int count) |
Set<Tuple> |
zrangeByScoreWithScores(String key,
String min,
String max) |
Set<Tuple> |
zrangeByScoreWithScores(String key,
String min,
String max,
int offset,
int count) |
Set<Tuple> |
zrangeWithScores(byte[] key,
long start,
long stop) |
Set<Tuple> |
zrangeWithScores(String key,
long start,
long stop) |
Long |
zrank(byte[] key,
byte[] member) |
Long |
zrank(String key,
String member) |
Long |
zrem(byte[] key,
byte[]... members) |
Long |
zrem(String key,
String... members) |
Long |
zremrangeByLex(byte[] key,
byte[] min,
byte[] max) |
Long |
zremrangeByLex(String key,
String min,
String max) |
Long |
zremrangeByRank(byte[] key,
long start,
long stop) |
Long |
zremrangeByRank(String key,
long start,
long stop) |
Long |
zremrangeByScore(byte[] key,
byte[] min,
byte[] max) |
Long |
zremrangeByScore(byte[] key,
double min,
double max) |
Long |
zremrangeByScore(String key,
double min,
double max) |
Long |
zremrangeByScore(String key,
String min,
String max) |
Set<byte[]> |
zrevrange(byte[] key,
long start,
long stop) |
Set<String> |
zrevrange(String key,
long start,
long stop) |
Set<byte[]> |
zrevrangeByLex(byte[] key,
byte[] max,
byte[] min) |
Set<byte[]> |
zrevrangeByLex(byte[] key,
byte[] max,
byte[] min,
int offset,
int count) |
Set<String> |
zrevrangeByLex(String key,
String max,
String min) |
Set<String> |
zrevrangeByLex(String key,
String max,
String min,
int offset,
int count) |
Set<byte[]> |
zrevrangeByScore(byte[] key,
byte[] max,
byte[] min) |
Set<byte[]> |
zrevrangeByScore(byte[] key,
byte[] max,
byte[] min,
int offset,
int count) |
Set<byte[]> |
zrevrangeByScore(byte[] key,
double max,
double min) |
Set<byte[]> |
zrevrangeByScore(byte[] key,
double max,
double min,
int offset,
int count) |
Set<String> |
zrevrangeByScore(String key,
double max,
double min) |
Set<String> |
zrevrangeByScore(String key,
double max,
double min,
int offset,
int count) |
Set<String> |
zrevrangeByScore(String key,
String max,
String min) |
Set<String> |
zrevrangeByScore(String key,
String max,
String min,
int offset,
int count) |
Set<Tuple> |
zrevrangeByScoreWithScores(byte[] key,
byte[] max,
byte[] min) |
Set<Tuple> |
zrevrangeByScoreWithScores(byte[] key,
byte[] max,
byte[] min,
int offset,
int count) |
Set<Tuple> |
zrevrangeByScoreWithScores(byte[] key,
double max,
double min) |
Set<Tuple> |
zrevrangeByScoreWithScores(byte[] key,
double max,
double min,
int offset,
int count) |
Set<Tuple> |
zrevrangeByScoreWithScores(String key,
double max,
double min) |
Set<Tuple> |
zrevrangeByScoreWithScores(String key,
double max,
double min,
int offset,
int count) |
Set<Tuple> |
zrevrangeByScoreWithScores(String key,
String max,
String min) |
Set<Tuple> |
zrevrangeByScoreWithScores(String key,
String max,
String min,
int offset,
int count) |
Set<Tuple> |
zrevrangeWithScores(byte[] key,
long start,
long stop) |
Set<Tuple> |
zrevrangeWithScores(String key,
long start,
long stop) |
Long |
zrevrank(byte[] key,
byte[] member) |
Long |
zrevrank(String key,
String member) |
<any> |
zscan(byte[] key,
byte[] cursor) |
<any> |
zscan(byte[] key,
byte[] cursor,
ScanParams params) |
<any> |
zscan(String key,
String cursor) |
<any> |
zscan(String key,
String cursor,
ScanParams params) |
Double |
zscore(byte[] key,
byte[] member) |
Double |
zscore(String key,
String member) |
Set<byte[]> |
zunion(ZParams params,
byte[]... keys) |
Set<String> |
zunion(ZParams params,
String... keys) |
Long |
zunionstore(byte[] dstkey,
byte[]... sets) |
Long |
zunionstore(byte[] dstkey,
ZParams params,
byte[]... sets) |
Long |
zunionstore(String dstkey,
String... sets) |
Long |
zunionstore(String dstkey,
ZParams params,
String... sets) |
Set<Tuple> |
zunionWithScores(ZParams params,
byte[]... keys) |
Set<Tuple> |
zunionWithScores(ZParams params,
String... keys) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
restore, setex
public void close()
close
in interface Closeable
close
in interface AutoCloseable
public List<byte[]> configGet(byte[] pattern)
public byte[] configSet(byte[] parameter, byte[] value)
public String configSetBinary(byte[] parameter, byte[] value)
public Long objectRefcount(byte[] key)
public byte[] objectEncoding(byte[] key)
public Long objectIdletime(byte[] key)
public List<byte[]> objectHelpBinary()
public Long objectFreq(byte[] key)
public String migrate(String host, int port, int destinationDB, int timeout, MigrateParams params, byte[]... keys)
public String clientKill(byte[] ipPort)
public byte[] clientGetnameBinary()
public byte[] clientListBinary()
public byte[] clientListBinary(ClientType type)
public byte[] clientListBinary(long... clientIds)
public byte[] clientInfoBinary()
public String clientSetname(byte[] name)
public Long clientId()
public String clientPause(long timeout)
public String clientPause(long timeout, ClientPauseMode mode)
public byte[] memoryDoctorBinary()
public byte[] aclWhoAmIBinary()
public byte[] aclGenPassBinary()
public List<byte[]> aclListBinary()
public List<byte[]> aclUsersBinary()
public AccessControlUser aclGetUser(byte[] name)
public String aclSetUser(byte[] name)
public String aclSetUser(byte[] name, byte[]... keys)
public Long aclDelUser(byte[] name)
public List<byte[]> aclCatBinary()
public List<byte[]> aclCat(byte[] category)
public List<byte[]> aclLogBinary()
public List<byte[]> aclLogBinary(int limit)
public byte[] aclLog(byte[] options)
public String aclLogReset()
public String aclLoad()
public String aclSave()
public String slowlogReset()
public Long slowlogLen()
public List<Slowlog> slowlogGet()
public List<Slowlog> slowlogGet(long entries)
public String migrate(String host, int port, int destinationDB, int timeout, MigrateParams params, String... keys)
public Long clientKill(ClientKillParams params)
public Long clientUnblock(long clientId, UnblockType unblockType)
public String clientGetname()
public String clientList()
public String clientList(ClientType type)
public String clientList(long... clientIds)
public String clientInfo()
public String memoryDoctor()
public String aclWhoAmI()
public String aclGenPass()
public AccessControlUser aclGetUser(String name)
public List<AccessControlLogEntry> aclLog()
public List<AccessControlLogEntry> aclLog(int limit)
public String ping()
public String quit()
public String flushDB()
public String flushDB(FlushMode flushMode)
public Long dbSize()
public String select(int index)
public String swapDB(int index1, int index2)
public String flushAll()
public String flushAll(FlushMode flushMode)
public String save()
public String bgsave()
public String bgrewriteaof()
public Long lastsave()
public String shutdown()
public void shutdown(SaveMode saveMode) throws JedisException
JedisException
public String info()
public String slaveofNoOne()
public int getDB()
public String debug(DebugParams params)
public String configResetStat()
public String configRewrite()
public Long waitReplicas(int replicas, long timeout)
public String set(byte[] key, byte[] value)
public String set(byte[] key, byte[] value, SetParams params)
public byte[] get(byte[] key)
public byte[] getDel(byte[] key)
public byte[] getEx(byte[] key, GetExParams params)
public Boolean exists(byte[] key)
public Long persist(byte[] key)
public String type(byte[] key)
public byte[] dump(byte[] key)
public String restore(byte[] key, long ttl, byte[] serializedValue)
public String restore(byte[] key, long ttl, byte[] serializedValue, RestoreParams params)
public String restoreReplace(byte[] key, long ttl, byte[] serializedValue)
public Long expire(byte[] key, int seconds)
expire
in interface IRedisCommander
public Long expire(byte[] key, long seconds)
public Long pexpire(byte[] key, long milliseconds)
public Long expireAt(byte[] key, long unixTime)
public Long pexpireAt(byte[] key, long millisecondsTimestamp)
public Long ttl(byte[] key)
public Long pttl(byte[] key)
public Long touch(byte[] key)
public Boolean setbit(byte[] key, long offset, boolean value)
public Boolean setbit(byte[] key, long offset, byte[] value)
public Boolean getbit(byte[] key, long offset)
public Long setrange(byte[] key, long offset, byte[] value)
public byte[] getrange(byte[] key, long startOffset, long endOffset)
public byte[] getSet(byte[] key, byte[] value)
public Long setnx(byte[] key, byte[] value)
public String setex(byte[] key, long seconds, byte[] value)
public String psetex(byte[] key, long milliseconds, byte[] value)
public Long decrBy(byte[] key, long decrement)
public Long decr(byte[] key)
public Long incrBy(byte[] key, long increment)
public Double incrByFloat(byte[] key, double increment)
public Long incr(byte[] key)
public Long append(byte[] key, byte[] value)
public byte[] substr(byte[] key, int start, int end)
public Long hset(byte[] key, byte[] field, byte[] value)
public byte[] hget(byte[] key, byte[] field)
public Long hsetnx(byte[] key, byte[] field, byte[] value)
public List<byte[]> hmget(byte[] key, byte[]... fields)
public Long hincrBy(byte[] key, byte[] field, long value)
public Double hincrByFloat(byte[] key, byte[] field, double value)
public Boolean hexists(byte[] key, byte[] field)
public Long hdel(byte[] key, byte[]... field)
public Long hlen(byte[] key)
public Set<byte[]> hkeys(byte[] key)
public List<byte[]> hvals(byte[] key)
public Map<byte[],byte[]> hgetAll(byte[] key)
public byte[] hrandfield(byte[] key)
public List<byte[]> hrandfield(byte[] key, long count)
public Map<byte[],byte[]> hrandfieldWithValues(byte[] key, long count)
public Long rpush(byte[] key, byte[]... args)
public Long lpush(byte[] key, byte[]... args)
public Long llen(byte[] key)
public List<byte[]> lrange(byte[] key, long start, long stop)
public String ltrim(byte[] key, long start, long stop)
public byte[] lindex(byte[] key, long index)
public String lset(byte[] key, long index, byte[] value)
public Long lrem(byte[] key, long count, byte[] value)
public byte[] lpop(byte[] key)
public List<byte[]> lpop(byte[] key, int count)
public Long lpos(byte[] key, byte[] element)
public Long lpos(byte[] key, byte[] element, LPosParams params)
public byte[] rpop(byte[] key)
public List<byte[]> rpop(byte[] key, int count)
public Long sadd(byte[] key, byte[]... member)
public Set<byte[]> smembers(byte[] key)
public Long srem(byte[] key, byte[]... member)
public byte[] spop(byte[] key)
public Set<byte[]> spop(byte[] key, long count)
public Long scard(byte[] key)
public Boolean sismember(byte[] key, byte[] member)
public byte[] srandmember(byte[] key)
public List<byte[]> srandmember(byte[] key, int count)
public Long strlen(byte[] key)
public Long zadd(byte[] key, double score, byte[] member)
public Long zadd(byte[] key, double score, byte[] member, ZAddParams params)
public Double zaddIncr(byte[] key, double score, byte[] member, ZAddParams params)
public Set<byte[]> zrange(byte[] key, long start, long stop)
public Long zrem(byte[] key, byte[]... members)
public Double zincrby(byte[] key, double increment, byte[] member)
public Double zincrby(byte[] key, double increment, byte[] member, ZIncrByParams params)
public Long zrank(byte[] key, byte[] member)
public Long zrevrank(byte[] key, byte[] member)
public Set<byte[]> zrevrange(byte[] key, long start, long stop)
public Set<Tuple> zrangeWithScores(byte[] key, long start, long stop)
public Set<Tuple> zrevrangeWithScores(byte[] key, long start, long stop)
public byte[] zrandmember(byte[] key)
public Set<byte[]> zrandmember(byte[] key, long count)
public Set<Tuple> zrandmemberWithScores(byte[] key, long count)
public Long zcard(byte[] key)
public Double zscore(byte[] key, byte[] member)
public Tuple zpopmax(byte[] key)
public Set<Tuple> zpopmax(byte[] key, int count)
public Tuple zpopmin(byte[] key)
public Set<Tuple> zpopmin(byte[] key, int count)
public List<byte[]> sort(byte[] key)
public List<byte[]> sort(byte[] key, SortingParams sortingParameters)
public Long zcount(byte[] key, double min, double max)
public Long zcount(byte[] key, byte[] min, byte[] max)
public Set<byte[]> zrangeByScore(byte[] key, double min, double max)
public Set<byte[]> zrangeByScore(byte[] key, byte[] min, byte[] max)
public Set<byte[]> zrevrangeByScore(byte[] key, double max, double min)
public Set<byte[]> zrangeByScore(byte[] key, double min, double max, int offset, int count)
public Set<byte[]> zrevrangeByScore(byte[] key, byte[] max, byte[] min)
public Set<byte[]> zrangeByScore(byte[] key, byte[] min, byte[] max, int offset, int count)
public Set<byte[]> zrevrangeByScore(byte[] key, double max, double min, int offset, int count)
public Set<Tuple> zrangeByScoreWithScores(byte[] key, double min, double max)
public Set<Tuple> zrevrangeByScoreWithScores(byte[] key, double max, double min)
public Set<Tuple> zrangeByScoreWithScores(byte[] key, double min, double max, int offset, int count)
public Set<byte[]> zrevrangeByScore(byte[] key, byte[] max, byte[] min, int offset, int count)
public Set<Tuple> zrangeByScoreWithScores(byte[] key, byte[] min, byte[] max)
public Set<Tuple> zrevrangeByScoreWithScores(byte[] key, byte[] max, byte[] min)
public Set<Tuple> zrangeByScoreWithScores(byte[] key, byte[] min, byte[] max, int offset, int count)
public Set<Tuple> zrevrangeByScoreWithScores(byte[] key, double max, double min, int offset, int count)
public Set<Tuple> zrevrangeByScoreWithScores(byte[] key, byte[] max, byte[] min, int offset, int count)
public Long zremrangeByRank(byte[] key, long start, long stop)
public Long zremrangeByScore(byte[] key, double min, double max)
public Long zremrangeByScore(byte[] key, byte[] min, byte[] max)
public Long zlexcount(byte[] key, byte[] min, byte[] max)
public Set<byte[]> zrangeByLex(byte[] key, byte[] min, byte[] max)
public Set<byte[]> zrangeByLex(byte[] key, byte[] min, byte[] max, int offset, int count)
public Set<byte[]> zrevrangeByLex(byte[] key, byte[] max, byte[] min)
public Set<byte[]> zrevrangeByLex(byte[] key, byte[] max, byte[] min, int offset, int count)
public Long zremrangeByLex(byte[] key, byte[] min, byte[] max)
public Long linsert(byte[] key, ListPosition where, byte[] pivot, byte[] value)
public Long lpushx(byte[] key, byte[]... arg)
public Long rpushx(byte[] key, byte[]... arg)
public Long del(byte[] key)
public Long unlink(byte[] key)
public byte[] echo(byte[] arg)
public Long move(byte[] key, int dbIndex)
public Long bitcount(byte[] key)
public Long bitcount(byte[] key, long start, long end)
public Long pfadd(byte[] key, byte[]... elements)
public long pfcount(byte[] key)
public Long geoadd(byte[] key, double longitude, double latitude, byte[] member)
public Long geoadd(byte[] key, GeoAddParams params, Map<byte[],GeoCoordinate> memberCoordinateMap)
public Double geodist(byte[] key, byte[] member1, byte[] member2)
public Double geodist(byte[] key, byte[] member1, byte[] member2, GeoUnit unit)
public List<byte[]> geohash(byte[] key, byte[]... members)
public List<GeoCoordinate> geopos(byte[] key, byte[]... members)
public List<GeoRadiusResponse> georadius(byte[] key, double longitude, double latitude, double radius, GeoUnit unit)
public List<GeoRadiusResponse> georadiusReadonly(byte[] key, double longitude, double latitude, double radius, GeoUnit unit)
public List<GeoRadiusResponse> georadius(byte[] key, double longitude, double latitude, double radius, GeoUnit unit, GeoRadiusParam param)
public List<GeoRadiusResponse> georadiusReadonly(byte[] key, double longitude, double latitude, double radius, GeoUnit unit, GeoRadiusParam param)
public List<GeoRadiusResponse> georadiusByMember(byte[] key, byte[] member, double radius, GeoUnit unit)
public List<GeoRadiusResponse> georadiusByMemberReadonly(byte[] key, byte[] member, double radius, GeoUnit unit)
public List<GeoRadiusResponse> georadiusByMember(byte[] key, byte[] member, double radius, GeoUnit unit, GeoRadiusParam param)
public List<GeoRadiusResponse> georadiusByMemberReadonly(byte[] key, byte[] member, double radius, GeoUnit unit, GeoRadiusParam param)
public <any> hscan(byte[] key, byte[] cursor)
public <any> hscan(byte[] key, byte[] cursor, ScanParams params)
public <any> sscan(byte[] key, byte[] cursor)
public <any> sscan(byte[] key, byte[] cursor, ScanParams params)
public <any> zscan(byte[] key, byte[] cursor)
public <any> zscan(byte[] key, byte[] cursor, ScanParams params)
public Long hstrlen(byte[] key, byte[] field)
public byte[] xadd(byte[] key, byte[] id, Map<byte[],byte[]> hash, long maxLen, boolean approximateLength)
public byte[] xadd(byte[] key, Map<byte[],byte[]> hash, XAddParams params)
public Long xlen(byte[] key)
public List<byte[]> xrange(byte[] key, byte[] start, byte[] end)
public List<byte[]> xrange(byte[] key, byte[] start, byte[] end, long count)
xrange
in interface IRedisCommander
public List<byte[]> xrange(byte[] key, byte[] start, byte[] end, int count)
public List<byte[]> xrevrange(byte[] key, byte[] end, byte[] start)
public List<byte[]> xrevrange(byte[] key, byte[] end, byte[] start, int count)
public Long xack(byte[] key, byte[] group, byte[]... ids)
public String xgroupCreate(byte[] key, byte[] consumer, byte[] id, boolean makeStream)
public String xgroupSetID(byte[] key, byte[] consumer, byte[] id)
public Long xgroupDestroy(byte[] key, byte[] consumer)
public Long xgroupDelConsumer(byte[] key, byte[] consumer, byte[] consumerName)
public Long xdel(byte[] key, byte[]... ids)
public Long xtrim(byte[] key, long maxLen, boolean approximateLength)
public Long xtrim(byte[] key, XTrimParams params)
public Object xpending(byte[] key, byte[] groupname)
public List<Object> xpending(byte[] key, byte[] groupname, byte[] start, byte[] end, int count, byte[] consumername)
public List<byte[]> xclaim(byte[] key, byte[] groupname, byte[] consumername, long minIdleTime, long newIdleTime, int retries, boolean force, byte[][] ids)
public List<byte[]> xclaim(byte[] key, byte[] group, byte[] consumername, long minIdleTime, XClaimParams params, byte[]... ids)
public List<byte[]> xclaimJustId(byte[] key, byte[] group, byte[] consumername, long minIdleTime, XClaimParams params, byte[]... ids)
public List<Object> xautoclaim(byte[] key, byte[] groupName, byte[] consumerName, long minIdleTime, byte[] start, XAutoClaimParams params)
public List<Object> xautoclaimJustId(byte[] key, byte[] groupName, byte[] consumerName, long minIdleTime, byte[] start, XAutoClaimParams params)
public StreamInfo xinfoStream(byte[] key)
public Object xinfoStreamBinary(byte[] key)
public List<StreamGroupInfo> xinfoGroup(byte[] key)
public List<StreamConsumersInfo> xinfoConsumers(byte[] key, byte[] group)
public Long waitReplicas(byte[] key, int replicas, long timeout)
public Long memoryUsage(byte[] key)
public Long memoryUsage(byte[] key, int samples)
public String failover()
public String failover(FailoverParams failoverParams)
public String failoverAbort()
public Object eval(byte[] script)
public Object evalsha(byte[] sha1)
public byte[] scriptLoad(byte[] script)
public String scriptFlush()
public String scriptFlush(FlushMode flushMode)
public String scriptKill()
public String clusterNodes()
public String clusterAddSlots(int... slots)
public String clusterDelSlots(int... slots)
public String clusterInfo()
public List<byte[]> clusterGetKeysInSlotBinary(int slot, int count)
public String clusterSetSlotStable(int slot)
public String clusterFlushSlots()
public Long clusterCountKeysInSlot(int slot)
public String clusterSaveConfig()
public String clusterFailover()
public String clusterFailover(ClusterFailoverOption failoverOption)
public String clusterReset(ClusterReset resetType)
public String clusterReset(ClusterResetType resetType)
public String clusterMyId()
public String readonly()
public String readwrite()
public Object eval(byte[] script, byte[] keyCount, byte[]... params)
public Object eval(byte[] script, int keyCount, byte[]... params)
public Object eval(byte[] script, byte[] sampleKey)
public Object evalsha(byte[] sha1, byte[] sampleKey)
public Object evalsha(byte[] sha1, int keyCount, byte[]... params)
public byte[] scriptLoad(byte[] script, byte[] sampleKey)
public String scriptFlush(byte[] sampleKey, FlushMode flushMode)
public String scriptKill(byte[] sampleKey)
public byte[] dump(String key)
public Tuple zpopmax(String key)
public Tuple zpopmin(String key)
public Set<String> zrangeByScore(String key, double min, double max, int offset, int count)
public Set<String> zrangeByScore(String key, String min, String max, int offset, int count)
public Set<String> zrevrangeByScore(String key, double max, double min, int offset, int count)
public Set<Tuple> zrangeByScoreWithScores(String key, double min, double max)
public Set<Tuple> zrevrangeByScoreWithScores(String key, double max, double min)
public Set<Tuple> zrangeByScoreWithScores(String key, double min, double max, int offset, int count)
public Set<String> zrevrangeByScore(String key, String max, String min, int offset, int count)
public Set<Tuple> zrangeByScoreWithScores(String key, String min, String max)
public Set<Tuple> zrevrangeByScoreWithScores(String key, String max, String min)
public Set<Tuple> zrangeByScoreWithScores(String key, String min, String max, int offset, int count)
public Set<Tuple> zrevrangeByScoreWithScores(String key, double max, double min, int offset, int count)
public Set<Tuple> zrevrangeByScoreWithScores(String key, String max, String min, int offset, int count)
public Set<String> zrangeByLex(String key, String min, String max, int offset, int count)
public Set<String> zrevrangeByLex(String key, String max, String min, int offset, int count)
public KeyedListElement blpop(double timeout, String key)
public KeyedListElement brpop(double timeout, String key)
public long pfcount(String key)
public Long geoadd(String key, GeoAddParams params, Map<String,GeoCoordinate> memberCoordinateMap)
public List<GeoRadiusResponse> georadius(String key, double longitude, double latitude, double radius, GeoUnit unit)
public List<GeoRadiusResponse> georadiusReadonly(String key, double longitude, double latitude, double radius, GeoUnit unit)
public List<GeoRadiusResponse> georadius(String key, double longitude, double latitude, double radius, GeoUnit unit, GeoRadiusParam param)
public List<GeoRadiusResponse> georadiusReadonly(String key, double longitude, double latitude, double radius, GeoUnit unit, GeoRadiusParam param)
public List<GeoRadiusResponse> georadiusByMember(String key, String member, double radius, GeoUnit unit)
public List<GeoRadiusResponse> georadiusByMemberReadonly(String key, String member, double radius, GeoUnit unit)
public List<GeoRadiusResponse> georadiusByMember(String key, String member, double radius, GeoUnit unit, GeoRadiusParam param)
public List<GeoRadiusResponse> georadiusByMemberReadonly(String key, String member, double radius, GeoUnit unit, GeoRadiusParam param)
public StreamEntryID xadd(String key, StreamEntryID id, Map<String,String> hash, long maxLen, boolean approximateLength)
public List<StreamEntry> xrange(String key, StreamEntryID start, StreamEntryID end, int count)
public List<StreamEntry> xrevrange(String key, StreamEntryID end, StreamEntryID start, int count)
public String xgroupCreate(String key, String groupname, StreamEntryID id, boolean makeStream)
public List<StreamPendingEntry> xpending(String key, String groupname, StreamEntryID start, StreamEntryID end, int count, String consumername)
public List<StreamPendingEntry> xpending(String key, String groupname, XPendingParams params)
public long xdel(String key, StreamEntryID... ids)
public long xtrim(String key, long maxLen, boolean approximate)
public long xtrim(String key, XTrimParams params)
public List<StreamEntry> xclaim(String key, String group, String consumername, long minIdleTime, long newIdleTime, int retries, boolean force, StreamEntryID... ids)
public List<StreamEntry> xclaim(String key, String group, String consumername, long minIdleTime, XClaimParams params, StreamEntryID... ids)
public List<StreamEntryID> xclaimJustId(String key, String group, String consumername, long minIdleTime, XClaimParams params, StreamEntryID... ids)
public Map.Entry<StreamEntryID,List<StreamEntry>> xautoclaim(String key, String group, String consumerName, long minIdleTime, StreamEntryID start, XAutoClaimParams params)
public Map.Entry<StreamEntryID,List<StreamEntryID>> xautoclaimJustId(String key, String group, String consumerName, long minIdleTime, StreamEntryID start, XAutoClaimParams params)
public StreamInfo xinfoStream(String key)
public List<redis.clients.jedis.Module> moduleList()
public List<byte[]> blpop(byte[]... args)
public List<byte[]> brpop(byte[]... args)
public String watch(byte[]... keys)
public byte[] randomBinaryKey()
public Boolean copy(byte[] srcKey, byte[] dstKey, int db, boolean replace)
public Boolean copy(byte[] srcKey, byte[] dstKey, boolean replace)
public Long del(byte[]... keys)
public Long unlink(byte[]... keys)
public Long exists(byte[]... keys)
public byte[] lmove(byte[] srcKey, byte[] dstKey, ListDirection from, ListDirection to)
public byte[] blmove(byte[] srcKey, byte[] dstKey, ListDirection from, ListDirection to, double timeout)
public List<byte[]> blpop(int timeout, byte[]... keys)
public List<byte[]> blpop(double timeout, byte[]... keys)
public List<byte[]> brpop(int timeout, byte[]... keys)
public List<byte[]> brpop(double timeout, byte[]... keys)
public List<byte[]> bzpopmax(double timeout, byte[]... keys)
public List<byte[]> bzpopmin(double timeout, byte[]... keys)
public List<byte[]> mget(byte[]... keys)
public String mset(byte[]... keysvalues)
public Long msetnx(byte[]... keysvalues)
public String rename(byte[] oldkey, byte[] newkey)
public Long renamenx(byte[] oldkey, byte[] newkey)
public byte[] rpoplpush(byte[] srckey, byte[] dstkey)
public Set<byte[]> sdiff(byte[]... keys)
public Long sdiffstore(byte[] dstkey, byte[]... keys)
public Set<byte[]> sinter(byte[]... keys)
public Long sinterstore(byte[] dstkey, byte[]... keys)
public Long smove(byte[] srckey, byte[] dstkey, byte[] member)
public Long sort(byte[] key, SortingParams sortingParameters, byte[] dstkey)
public Set<byte[]> sunion(byte[]... keys)
public Long sunionstore(byte[] dstkey, byte[]... keys)
public Set<byte[]> zdiff(byte[]... keys)
public Set<Tuple> zdiffWithScores(byte[]... keys)
public Long zdiffStore(byte[] dstkey, byte[]... keys)
public Set<byte[]> zinter(ZParams params, byte[]... keys)
public Set<Tuple> zinterWithScores(ZParams params, byte[]... keys)
public Long zinterstore(byte[] dstkey, byte[]... sets)
public Long zinterstore(byte[] dstkey, ZParams params, byte[]... sets)
public Set<byte[]> zunion(ZParams params, byte[]... keys)
public Set<Tuple> zunionWithScores(ZParams params, byte[]... keys)
public Long zunionstore(byte[] dstkey, byte[]... sets)
public Long zunionstore(byte[] dstkey, ZParams params, byte[]... sets)
public byte[] brpoplpush(byte[] source, byte[] destination, int timeout)
public Long publish(byte[] channel, byte[] message)
public void subscribe(BinaryJedisPubSub jedisPubSub, byte[]... channels)
public void psubscribe(BinaryJedisPubSub jedisPubSub, byte[]... patterns)
public Long bitop(BitOP op, byte[] destKey, byte[]... srcKeys)
public String pfmerge(byte[] destkey, byte[]... sourcekeys)
public Long pfcount(byte[]... keys)
public Long touch(byte[]... keys)
public <any> scan(byte[] cursor)
public <any> scan(byte[] cursor, ScanParams params)
public <any> scan(byte[] cursor, ScanParams params, byte[] type)
public Set<byte[]> keys(byte[] pattern)
public List<byte[]> xreadGroup(byte[] groupname, byte[] consumer, int count, long block, boolean noAck, Map<byte[],byte[]> streams)
public List<byte[]> xreadGroup(byte[] groupname, byte[] consumer, XReadGroupParams xReadGroupParams, Map.Entry<byte[],byte[]>... streams)
public Long georadiusStore(byte[] key, double longitude, double latitude, double radius, GeoUnit unit, GeoRadiusParam param, GeoRadiusStoreParam storeParam)
public Long georadiusByMemberStore(byte[] key, byte[] member, double radius, GeoUnit unit, GeoRadiusParam param, GeoRadiusStoreParam storeParam)
public LCSMatchResult strAlgoLCSKeys(byte[] keyA, byte[] keyB, StrAlgoLCSParams params)
public LCSMatchResult strAlgoLCSStrings(byte[] strA, byte[] strB, StrAlgoLCSParams params)
public String unwatch()
public String randomKey()
public <any> scan(String cursor)
public String blmove(String srcKey, String dstKey, ListDirection from, ListDirection to, double timeout)
public KeyedListElement blpop(double timeout, String... keys)
public KeyedListElement brpop(double timeout, String... keys)
public KeyedZSetElement bzpopmax(double timeout, String... keys)
public KeyedZSetElement bzpopmin(double timeout, String... keys)
public void subscribe(JedisPubSub jedisPubSub, String... channels)
public void psubscribe(JedisPubSub jedisPubSub, String... patterns)
public long pfcount(String... keys)
@SafeVarargs public final List<Map.Entry<String,List<StreamEntry>>> xread(int count, long block, Map.Entry<String,StreamEntryID>... streams)
public List<Map.Entry<String,List<StreamEntry>>> xread(XReadParams xReadParams, Map<String,StreamEntryID> streams)
@SafeVarargs public final List<Map.Entry<String,List<StreamEntry>>> xreadGroup(String groupname, String consumer, int count, long block, boolean noAck, Map.Entry<String,StreamEntryID>... streams)
public List<Map.Entry<String,List<StreamEntry>>> xreadGroup(String groupname, String consumer, XReadGroupParams xReadGroupParams, Map<String,StreamEntryID> streams)
public LCSMatchResult strAlgoLCSKeys(String keyA, String keyB, StrAlgoLCSParams params)
public LCSMatchResult strAlgoLCSStrings(String strA, String strB, StrAlgoLCSParams params)
public <any> scan(String cursor, ScanParams params)
public Long georadiusStore(String key, double longitude, double latitude, double radius, GeoUnit unit, GeoRadiusParam param, GeoRadiusStoreParam storeParam)
public Long georadiusByMemberStore(String key, String member, double radius, GeoUnit unit, GeoRadiusParam param, GeoRadiusStoreParam storeParam)
public String sentinelMyId()
public boolean isCluster()
IRedisCommander
isCluster
in interface IRedisCommander
public boolean isSentinel()
IRedisCommander
isSentinel
in interface IRedisCommander
public boolean isSharded()
IRedisCommander
isSharded
in interface IRedisCommander
public boolean isNormal()
IRedisCommander
isNormal
in interface IRedisCommander
public boolean isClosed()
IRedisCommander
isClosed
in interface IRedisCommander
public Object getOriginJedis()
IRedisCommander
getOriginJedis
in interface IRedisCommander
Copyright © 2022. All rights reserved.