public class BinaryJedisCluster extends java.lang.Object implements BinaryJedisClusterCommands, MultiKeyBinaryJedisClusterCommands, JedisClusterBinaryScriptingCommands, java.io.Closeable
| 限定符和类型 | 字段和说明 |
|---|---|
static int |
DEFAULT_MAX_ATTEMPTS |
static int |
DEFAULT_TIMEOUT
Default timeout in milliseconds.
|
static int |
HASHSLOTS |
| 构造器和说明 |
|---|
BinaryJedisCluster(java.util.Set<HostAndPort> nodes) |
BinaryJedisCluster(java.util.Set<HostAndPort> nodes,
int timeout) |
BinaryJedisCluster(java.util.Set<HostAndPort> jedisClusterNode,
int timeout,
int maxAttempts,
GenericObjectPoolConfig<Jedis> poolConfig) |
BinaryJedisCluster(java.util.Set<HostAndPort> jedisClusterNode,
int connectionTimeout,
int soTimeout,
int maxAttempts,
GenericObjectPoolConfig<Jedis> poolConfig) |
BinaryJedisCluster(java.util.Set<HostAndPort> jedisClusterNode,
int connectionTimeout,
int soTimeout,
int infiniteSoTimeout,
int maxAttempts,
java.lang.String user,
java.lang.String password,
java.lang.String clientName,
GenericObjectPoolConfig<Jedis> poolConfig) |
BinaryJedisCluster(java.util.Set<HostAndPort> jedisClusterNode,
int connectionTimeout,
int soTimeout,
int infiniteSoTimeout,
int maxAttempts,
java.lang.String user,
java.lang.String password,
java.lang.String clientName,
GenericObjectPoolConfig<Jedis> poolConfig,
boolean ssl,
javax.net.ssl.SSLSocketFactory sslSocketFactory,
javax.net.ssl.SSLParameters sslParameters,
javax.net.ssl.HostnameVerifier hostnameVerifier,
JedisClusterHostAndPortMap hostAndPortMap)
已过时。
This constructor will be removed in future.
|
BinaryJedisCluster(java.util.Set<HostAndPort> jedisClusterNode,
int connectionTimeout,
int soTimeout,
int infiniteSoTimeout,
int maxAttempts,
java.lang.String user,
java.lang.String password,
java.lang.String clientName,
GenericObjectPoolConfig poolConfig,
boolean ssl,
javax.net.ssl.SSLSocketFactory sslSocketFactory,
javax.net.ssl.SSLParameters sslParameters,
javax.net.ssl.HostnameVerifier hostnameVerifier,
JedisClusterHostAndPortMap hostAndPortMap,
java.time.Duration maxTotalRetriesDuration)
已过时。
This constructor will be removed in future.
|
BinaryJedisCluster(java.util.Set<HostAndPort> jedisClusterNode,
int connectionTimeout,
int soTimeout,
int maxAttempts,
java.lang.String password,
GenericObjectPoolConfig<Jedis> poolConfig) |
BinaryJedisCluster(java.util.Set<HostAndPort> jedisClusterNode,
int connectionTimeout,
int soTimeout,
int maxAttempts,
java.lang.String password,
java.lang.String clientName,
GenericObjectPoolConfig<Jedis> poolConfig) |
BinaryJedisCluster(java.util.Set<HostAndPort> jedisClusterNode,
int connectionTimeout,
int soTimeout,
int maxAttempts,
java.lang.String password,
java.lang.String clientName,
GenericObjectPoolConfig<Jedis> poolConfig,
boolean ssl) |
BinaryJedisCluster(java.util.Set<HostAndPort> jedisClusterNode,
int connectionTimeout,
int soTimeout,
int maxAttempts,
java.lang.String password,
java.lang.String clientName,
GenericObjectPoolConfig<Jedis> poolConfig,
boolean ssl,
javax.net.ssl.SSLSocketFactory sslSocketFactory,
javax.net.ssl.SSLParameters sslParameters,
javax.net.ssl.HostnameVerifier hostnameVerifier,
JedisClusterHostAndPortMap hostAndPortMap)
已过时。
This constructor will be removed in future.
|
BinaryJedisCluster(java.util.Set<HostAndPort> jedisClusterNode,
int connectionTimeout,
int soTimeout,
int maxAttempts,
java.lang.String user,
java.lang.String password,
java.lang.String clientName,
GenericObjectPoolConfig<Jedis> poolConfig) |
BinaryJedisCluster(java.util.Set<HostAndPort> jedisClusterNode,
int connectionTimeout,
int soTimeout,
int maxAttempts,
java.lang.String user,
java.lang.String password,
java.lang.String clientName,
GenericObjectPoolConfig<Jedis> poolConfig,
boolean ssl) |
BinaryJedisCluster(java.util.Set<HostAndPort> jedisClusterNode,
int connectionTimeout,
int soTimeout,
int maxAttempts,
java.lang.String user,
java.lang.String password,
java.lang.String clientName,
GenericObjectPoolConfig<Jedis> poolConfig,
boolean ssl,
javax.net.ssl.SSLSocketFactory sslSocketFactory,
javax.net.ssl.SSLParameters sslParameters,
javax.net.ssl.HostnameVerifier hostnameVerifier,
JedisClusterHostAndPortMap hostAndPortMap)
已过时。
This constructor will be removed in future.
|
BinaryJedisCluster(java.util.Set<HostAndPort> jedisClusterNode,
JedisClientConfig clientConfig,
int maxAttempts,
java.time.Duration maxTotalRetriesDuration,
GenericObjectPoolConfig<Jedis> poolConfig) |
BinaryJedisCluster(java.util.Set<HostAndPort> jedisClusterNode,
JedisClientConfig clientConfig,
int maxAttempts,
GenericObjectPoolConfig<Jedis> poolConfig) |
| 限定符和类型 | 方法和说明 |
|---|---|
java.lang.Long |
append(byte[] key,
byte[] value) |
java.lang.Long |
bitcount(byte[] key) |
java.lang.Long |
bitcount(byte[] key,
long start,
long end) |
java.util.List<java.lang.Long> |
bitfield(byte[] key,
byte[]... arguments)
Executes BITFIELD Redis command
|
java.util.List<java.lang.Long> |
bitfieldReadonly(byte[] key,
byte[]... arguments) |
java.lang.Long |
bitop(BitOP op,
byte[] destKey,
byte[]... srcKeys) |
byte[] |
blmove(byte[] srcKey,
byte[] dstKey,
ListDirection from,
ListDirection to,
double timeout) |
java.util.List<byte[]> |
blpop(double timeout,
byte[]... keys) |
java.util.List<byte[]> |
blpop(int timeout,
byte[]... keys) |
java.util.List<byte[]> |
brpop(double timeout,
byte[]... keys) |
java.util.List<byte[]> |
brpop(int timeout,
byte[]... keys) |
byte[] |
brpoplpush(byte[] source,
byte[] destination,
int timeout) |
java.util.List<byte[]> |
bzpopmax(double timeout,
byte[]... keys) |
java.util.List<byte[]> |
bzpopmin(double timeout,
byte[]... keys) |
void |
close() |
java.lang.Boolean |
copy(byte[] srcKey,
byte[] dstKey,
boolean replace) |
java.lang.Long |
decr(byte[] key) |
java.lang.Long |
decrBy(byte[] key,
long decrement) |
java.lang.Long |
del(byte[]... keys) |
java.lang.Long |
del(byte[] key) |
byte[] |
dump(byte[] key) |
byte[] |
echo(byte[] arg) |
java.lang.Object |
eval(byte[] script,
byte[] sampleKey) |
java.lang.Object |
eval(byte[] script,
byte[] keyCount,
byte[]... params) |
java.lang.Object |
eval(byte[] script,
int keyCount,
byte[]... params) |
java.lang.Object |
eval(byte[] script,
java.util.List<byte[]> keys,
java.util.List<byte[]> args) |
java.lang.Object |
evalsha(byte[] sha1,
byte[] sampleKey) |
java.lang.Object |
evalsha(byte[] sha1,
int keyCount,
byte[]... params) |
java.lang.Object |
evalsha(byte[] sha1,
java.util.List<byte[]> keys,
java.util.List<byte[]> args) |
java.lang.Long |
exists(byte[]... keys) |
java.lang.Boolean |
exists(byte[] key) |
java.lang.Long |
expire(byte[] key,
int seconds) |
java.lang.Long |
expireAt(byte[] key,
long unixTime) |
java.lang.Long |
geoadd(byte[] key,
double longitude,
double latitude,
byte[] member) |
java.lang.Long |
geoadd(byte[] key,
GeoAddParams params,
java.util.Map<byte[],GeoCoordinate> memberCoordinateMap) |
java.lang.Long |
geoadd(byte[] key,
java.util.Map<byte[],GeoCoordinate> memberCoordinateMap) |
java.lang.Double |
geodist(byte[] key,
byte[] member1,
byte[] member2) |
java.lang.Double |
geodist(byte[] key,
byte[] member1,
byte[] member2,
GeoUnit unit) |
java.util.List<byte[]> |
geohash(byte[] key,
byte[]... members) |
java.util.List<GeoCoordinate> |
geopos(byte[] key,
byte[]... members) |
java.util.List<GeoRadiusResponse> |
georadius(byte[] key,
double longitude,
double latitude,
double radius,
GeoUnit unit) |
java.util.List<GeoRadiusResponse> |
georadius(byte[] key,
double longitude,
double latitude,
double radius,
GeoUnit unit,
GeoRadiusParam param) |
java.util.List<GeoRadiusResponse> |
georadiusByMember(byte[] key,
byte[] member,
double radius,
GeoUnit unit) |
java.util.List<GeoRadiusResponse> |
georadiusByMember(byte[] key,
byte[] member,
double radius,
GeoUnit unit,
GeoRadiusParam param) |
java.util.List<GeoRadiusResponse> |
georadiusByMemberReadonly(byte[] key,
byte[] member,
double radius,
GeoUnit unit) |
java.util.List<GeoRadiusResponse> |
georadiusByMemberReadonly(byte[] key,
byte[] member,
double radius,
GeoUnit unit,
GeoRadiusParam param) |
java.lang.Long |
georadiusByMemberStore(byte[] key,
byte[] member,
double radius,
GeoUnit unit,
GeoRadiusParam param,
GeoRadiusStoreParam storeParam) |
java.util.List<GeoRadiusResponse> |
georadiusReadonly(byte[] key,
double longitude,
double latitude,
double radius,
GeoUnit unit) |
java.util.List<GeoRadiusResponse> |
georadiusReadonly(byte[] key,
double longitude,
double latitude,
double radius,
GeoUnit unit,
GeoRadiusParam param) |
java.lang.Long |
georadiusStore(byte[] key,
double longitude,
double latitude,
double radius,
GeoUnit unit,
GeoRadiusParam param,
GeoRadiusStoreParam storeParam) |
byte[] |
get(byte[] key) |
java.lang.Boolean |
getbit(byte[] key,
long offset) |
java.util.Map<java.lang.String,JedisPool> |
getClusterNodes() |
Jedis |
getConnectionFromSlot(int slot) |
byte[] |
getDel(byte[] key) |
byte[] |
getEx(byte[] key,
GetExParams params) |
byte[] |
getrange(byte[] key,
long startOffset,
long endOffset) |
byte[] |
getSet(byte[] key,
byte[] value) |
java.lang.Long |
hdel(byte[] key,
byte[]... field) |
java.lang.Boolean |
hexists(byte[] key,
byte[] field) |
byte[] |
hget(byte[] key,
byte[] field) |
java.util.Map<byte[],byte[]> |
hgetAll(byte[] key) |
java.lang.Long |
hincrBy(byte[] key,
byte[] field,
long value) |
java.lang.Double |
hincrByFloat(byte[] key,
byte[] field,
double value) |
java.util.Set<byte[]> |
hkeys(byte[] key) |
java.lang.Long |
hlen(byte[] key) |
java.util.List<byte[]> |
hmget(byte[] key,
byte[]... fields) |
java.lang.String |
hmset(byte[] key,
java.util.Map<byte[],byte[]> hash) |
byte[] |
hrandfield(byte[] key) |
java.util.List<byte[]> |
hrandfield(byte[] key,
long count) |
java.util.Map<byte[],byte[]> |
hrandfieldWithValues(byte[] key,
long count) |
ScanResult<java.util.Map.Entry<byte[],byte[]>> |
hscan(byte[] key,
byte[] cursor) |
ScanResult<java.util.Map.Entry<byte[],byte[]>> |
hscan(byte[] key,
byte[] cursor,
ScanParams params) |
java.lang.Long |
hset(byte[] key,
byte[] field,
byte[] value) |
java.lang.Long |
hset(byte[] key,
java.util.Map<byte[],byte[]> hash) |
java.lang.Long |
hsetnx(byte[] key,
byte[] field,
byte[] value) |
java.lang.Long |
hstrlen(byte[] key,
byte[] field)
Used for HSTRLEN Redis command
|
java.util.List<byte[]> |
hvals(byte[] key) |
java.lang.Long |
incr(byte[] key) |
java.lang.Long |
incrBy(byte[] key,
long increment) |
java.lang.Double |
incrByFloat(byte[] key,
double increment) |
java.util.Set<byte[]> |
keys(byte[] pattern) |
byte[] |
lindex(byte[] key,
long index) |
java.lang.Long |
linsert(byte[] key,
ListPosition where,
byte[] pivot,
byte[] value) |
java.lang.Long |
llen(byte[] key) |
byte[] |
lmove(byte[] srcKey,
byte[] dstKey,
ListDirection from,
ListDirection to) |
byte[] |
lpop(byte[] key) |
java.util.List<byte[]> |
lpop(byte[] key,
int count) |
java.lang.Long |
lpos(byte[] key,
byte[] element) |
java.lang.Long |
lpos(byte[] key,
byte[] element,
LPosParams params) |
java.util.List<java.lang.Long> |
lpos(byte[] key,
byte[] element,
LPosParams params,
long count) |
java.lang.Long |
lpush(byte[] key,
byte[]... args) |
java.lang.Long |
lpushx(byte[] key,
byte[]... arg) |
java.util.List<byte[]> |
lrange(byte[] key,
long start,
long stop) |
java.lang.Long |
lrem(byte[] key,
long count,
byte[] value) |
java.lang.String |
lset(byte[] key,
long index,
byte[] value) |
java.lang.String |
ltrim(byte[] key,
long start,
long stop) |
java.lang.Long |
memoryUsage(byte[] key) |
java.lang.Long |
memoryUsage(byte[] key,
int samples) |
java.util.List<byte[]> |
mget(byte[]... keys) |
java.lang.String |
mset(byte[]... keysvalues) |
java.lang.Long |
msetnx(byte[]... keysvalues) |
java.lang.Long |
persist(byte[] key) |
java.lang.Long |
pexpire(byte[] key,
long milliseconds) |
java.lang.Long |
pexpireAt(byte[] key,
long millisecondsTimestamp) |
java.lang.Long |
pfadd(byte[] key,
byte[]... elements) |
java.lang.Long |
pfcount(byte[]... keys) |
long |
pfcount(byte[] key) |
java.lang.String |
pfmerge(byte[] destkey,
byte[]... sourcekeys) |
java.lang.String |
psetex(byte[] key,
long milliseconds,
byte[] value) |
void |
psubscribe(BinaryJedisPubSub jedisPubSub,
byte[]... patterns) |
java.lang.Long |
pttl(byte[] key) |
java.lang.Long |
publish(byte[] channel,
byte[] message) |
java.lang.String |
rename(byte[] oldkey,
byte[] newkey) |
java.lang.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) |
byte[] |
rpop(byte[] key) |
java.util.List<byte[]> |
rpop(byte[] key,
int count) |
byte[] |
rpoplpush(byte[] srckey,
byte[] dstkey) |
java.lang.Long |
rpush(byte[] key,
byte[]... args) |
java.lang.Long |
rpushx(byte[] key,
byte[]... arg) |
java.lang.Long |
sadd(byte[] key,
byte[]... member) |
ScanResult<byte[]> |
scan(byte[] cursor,
ScanParams params) |
java.lang.Long |
scard(byte[] key) |
java.util.List<java.lang.Long> |
scriptExists(byte[] sampleKey,
byte[]... sha1) |
java.lang.String |
scriptFlush(byte[] sampleKey) |
java.lang.String |
scriptFlush(byte[] sampleKey,
FlushMode flushMode) |
java.lang.String |
scriptKill(byte[] sampleKey) |
byte[] |
scriptLoad(byte[] script,
byte[] sampleKey) |
java.util.Set<byte[]> |
sdiff(byte[]... keys) |
java.lang.Long |
sdiffstore(byte[] dstkey,
byte[]... keys) |
java.lang.Object |
sendBlockingCommand(byte[] sampleKey,
ProtocolCommand cmd,
byte[]... args) |
java.lang.Object |
sendCommand(byte[] sampleKey,
ProtocolCommand cmd,
byte[]... args) |
java.lang.String |
set(byte[] key,
byte[] value) |
java.lang.String |
set(byte[] key,
byte[] value,
SetParams params) |
java.lang.Boolean |
setbit(byte[] key,
long offset,
boolean value) |
java.lang.Boolean |
setbit(byte[] key,
long offset,
byte[] value) |
java.lang.String |
setex(byte[] key,
long seconds,
byte[] value) |
java.lang.Long |
setnx(byte[] key,
byte[] value) |
java.lang.Long |
setrange(byte[] key,
long offset,
byte[] value) |
java.util.Set<byte[]> |
sinter(byte[]... keys) |
java.lang.Long |
sinterstore(byte[] dstkey,
byte[]... keys) |
java.lang.Boolean |
sismember(byte[] key,
byte[] member) |
java.util.Set<byte[]> |
smembers(byte[] key) |
java.util.List<java.lang.Boolean> |
smismember(byte[] key,
byte[]... members) |
java.lang.Long |
smove(byte[] srckey,
byte[] dstkey,
byte[] member) |
java.util.List<byte[]> |
sort(byte[] key) |
java.lang.Long |
sort(byte[] key,
byte[] dstkey) |
java.util.List<byte[]> |
sort(byte[] key,
SortingParams sortingParameters) |
java.lang.Long |
sort(byte[] key,
SortingParams sortingParameters,
byte[] dstkey) |
byte[] |
spop(byte[] key) |
java.util.Set<byte[]> |
spop(byte[] key,
long count) |
byte[] |
srandmember(byte[] key) |
java.util.List<byte[]> |
srandmember(byte[] key,
int count) |
java.lang.Long |
srem(byte[] key,
byte[]... member) |
ScanResult<byte[]> |
sscan(byte[] key,
byte[] cursor) |
ScanResult<byte[]> |
sscan(byte[] key,
byte[] cursor,
ScanParams params) |
java.lang.Long |
strlen(byte[] key) |
void |
subscribe(BinaryJedisPubSub jedisPubSub,
byte[]... channels) |
byte[] |
substr(byte[] key,
int start,
int end) |
java.util.Set<byte[]> |
sunion(byte[]... keys) |
java.lang.Long |
sunionstore(byte[] dstkey,
byte[]... keys) |
java.lang.Long |
touch(byte[]... keys) |
java.lang.Long |
touch(byte[] key) |
java.lang.Long |
ttl(byte[] key) |
java.lang.String |
type(byte[] key) |
java.lang.Long |
unlink(byte[]... keys) |
java.lang.Long |
unlink(byte[] key) |
java.lang.Long |
waitReplicas(byte[] key,
int replicas,
long timeout) |
java.lang.Long |
xack(byte[] key,
byte[] group,
byte[]... ids) |
byte[] |
xadd(byte[] key,
byte[] id,
java.util.Map<byte[],byte[]> hash,
long maxLen,
boolean approximateLength) |
byte[] |
xadd(byte[] key,
java.util.Map<byte[],byte[]> hash,
XAddParams params) |
java.util.List<byte[]> |
xclaim(byte[] key,
byte[] groupname,
byte[] consumername,
long minIdleTime,
long newIdleTime,
int retries,
boolean force,
byte[][] ids) |
java.util.List<byte[]> |
xclaim(byte[] key,
byte[] group,
byte[] consumername,
long minIdleTime,
XClaimParams params,
byte[]... ids) |
java.util.List<byte[]> |
xclaimJustId(byte[] key,
byte[] group,
byte[] consumername,
long minIdleTime,
XClaimParams params,
byte[]... ids) |
java.lang.Long |
xdel(byte[] key,
byte[]... ids) |
java.lang.String |
xgroupCreate(byte[] key,
byte[] consumer,
byte[] id,
boolean makeStream) |
java.lang.Long |
xgroupDelConsumer(byte[] key,
byte[] consumer,
byte[] consumerName) |
java.lang.Long |
xgroupDestroy(byte[] key,
byte[] consumer) |
java.lang.String |
xgroupSetID(byte[] key,
byte[] consumer,
byte[] id) |
java.lang.Long |
xlen(byte[] key) |
java.lang.Object |
xpending(byte[] key,
byte[] groupname) |
java.util.List<java.lang.Object> |
xpending(byte[] key,
byte[] groupname,
byte[] start,
byte[] end,
int count,
byte[] consumername) |
java.util.List<java.lang.Object> |
xpending(byte[] key,
byte[] groupname,
XPendingParams params) |
java.util.List<byte[]> |
xrange(byte[] key,
byte[] start,
byte[] end) |
java.util.List<byte[]> |
xrange(byte[] key,
byte[] start,
byte[] end,
int count) |
java.util.List<byte[]> |
xrange(byte[] key,
byte[] start,
byte[] end,
long count) |
java.util.List<byte[]> |
xread(int count,
long block,
java.util.Map<byte[],byte[]> streams) |
java.util.List<byte[]> |
xread(XReadParams xReadParams,
java.util.Map.Entry<byte[],byte[]>... streams) |
java.util.List<byte[]> |
xreadGroup(byte[] groupname,
byte[] consumer,
int count,
long block,
boolean noAck,
java.util.Map<byte[],byte[]> streams) |
java.util.List<byte[]> |
xreadGroup(byte[] groupname,
byte[] consumer,
XReadGroupParams xReadGroupParams,
java.util.Map.Entry<byte[],byte[]>... streams) |
java.util.List<byte[]> |
xrevrange(byte[] key,
byte[] end,
byte[] start) |
java.util.List<byte[]> |
xrevrange(byte[] key,
byte[] end,
byte[] start,
int count) |
java.lang.Long |
xtrim(byte[] key,
long maxLen,
boolean approximateLength) |
java.lang.Long |
xtrim(byte[] key,
XTrimParams params) |
java.lang.Long |
zadd(byte[] key,
double score,
byte[] member) |
java.lang.Long |
zadd(byte[] key,
double score,
byte[] member,
ZAddParams params) |
java.lang.Long |
zadd(byte[] key,
java.util.Map<byte[],java.lang.Double> scoreMembers) |
java.lang.Long |
zadd(byte[] key,
java.util.Map<byte[],java.lang.Double> scoreMembers,
ZAddParams params) |
java.lang.Double |
zaddIncr(byte[] key,
double score,
byte[] member,
ZAddParams params) |
java.lang.Long |
zcard(byte[] key) |
java.lang.Long |
zcount(byte[] key,
byte[] min,
byte[] max) |
java.lang.Long |
zcount(byte[] key,
double min,
double max) |
java.util.Set<byte[]> |
zdiff(byte[]... keys) |
java.lang.Long |
zdiffStore(byte[] dstkey,
byte[]... keys) |
java.util.Set<Tuple> |
zdiffWithScores(byte[]... keys) |
java.lang.Double |
zincrby(byte[] key,
double increment,
byte[] member) |
java.lang.Double |
zincrby(byte[] key,
double increment,
byte[] member,
ZIncrByParams params) |
java.util.Set<byte[]> |
zinter(ZParams params,
byte[]... keys) |
java.lang.Long |
zinterstore(byte[] dstkey,
byte[]... sets) |
java.lang.Long |
zinterstore(byte[] dstkey,
ZParams params,
byte[]... sets) |
java.util.Set<Tuple> |
zinterWithScores(ZParams params,
byte[]... keys) |
java.lang.Long |
zlexcount(byte[] key,
byte[] min,
byte[] max) |
java.util.List<java.lang.Double> |
zmscore(byte[] key,
byte[]... members) |
Tuple |
zpopmax(byte[] key) |
java.util.Set<Tuple> |
zpopmax(byte[] key,
int count) |
Tuple |
zpopmin(byte[] key) |
java.util.Set<Tuple> |
zpopmin(byte[] key,
int count) |
byte[] |
zrandmember(byte[] key) |
java.util.Set<byte[]> |
zrandmember(byte[] key,
long count) |
java.util.Set<Tuple> |
zrandmemberWithScores(byte[] key,
long count) |
java.util.Set<byte[]> |
zrange(byte[] key,
long start,
long stop) |
java.util.Set<byte[]> |
zrangeByLex(byte[] key,
byte[] min,
byte[] max) |
java.util.Set<byte[]> |
zrangeByLex(byte[] key,
byte[] min,
byte[] max,
int offset,
int count) |
java.util.Set<byte[]> |
zrangeByScore(byte[] key,
byte[] min,
byte[] max) |
java.util.Set<byte[]> |
zrangeByScore(byte[] key,
byte[] min,
byte[] max,
int offset,
int count) |
java.util.Set<byte[]> |
zrangeByScore(byte[] key,
double min,
double max) |
java.util.Set<byte[]> |
zrangeByScore(byte[] key,
double min,
double max,
int offset,
int count) |
java.util.Set<Tuple> |
zrangeByScoreWithScores(byte[] key,
byte[] min,
byte[] max) |
java.util.Set<Tuple> |
zrangeByScoreWithScores(byte[] key,
byte[] min,
byte[] max,
int offset,
int count) |
java.util.Set<Tuple> |
zrangeByScoreWithScores(byte[] key,
double min,
double max) |
java.util.Set<Tuple> |
zrangeByScoreWithScores(byte[] key,
double min,
double max,
int offset,
int count) |
java.util.Set<Tuple> |
zrangeWithScores(byte[] key,
long start,
long stop) |
java.lang.Long |
zrank(byte[] key,
byte[] member) |
java.lang.Long |
zrem(byte[] key,
byte[]... members) |
java.lang.Long |
zremrangeByLex(byte[] key,
byte[] min,
byte[] max) |
java.lang.Long |
zremrangeByRank(byte[] key,
long start,
long stop) |
java.lang.Long |
zremrangeByScore(byte[] key,
byte[] min,
byte[] max) |
java.lang.Long |
zremrangeByScore(byte[] key,
double min,
double max) |
java.util.Set<byte[]> |
zrevrange(byte[] key,
long start,
long stop) |
java.util.Set<byte[]> |
zrevrangeByLex(byte[] key,
byte[] max,
byte[] min) |
java.util.Set<byte[]> |
zrevrangeByLex(byte[] key,
byte[] max,
byte[] min,
int offset,
int count) |
java.util.Set<byte[]> |
zrevrangeByScore(byte[] key,
byte[] max,
byte[] min) |
java.util.Set<byte[]> |
zrevrangeByScore(byte[] key,
byte[] max,
byte[] min,
int offset,
int count) |
java.util.Set<byte[]> |
zrevrangeByScore(byte[] key,
double max,
double min) |
java.util.Set<byte[]> |
zrevrangeByScore(byte[] key,
double max,
double min,
int offset,
int count) |
java.util.Set<Tuple> |
zrevrangeByScoreWithScores(byte[] key,
byte[] max,
byte[] min) |
java.util.Set<Tuple> |
zrevrangeByScoreWithScores(byte[] key,
byte[] max,
byte[] min,
int offset,
int count) |
java.util.Set<Tuple> |
zrevrangeByScoreWithScores(byte[] key,
double max,
double min) |
java.util.Set<Tuple> |
zrevrangeByScoreWithScores(byte[] key,
double max,
double min,
int offset,
int count) |
java.util.Set<Tuple> |
zrevrangeWithScores(byte[] key,
long start,
long stop) |
java.lang.Long |
zrevrank(byte[] key,
byte[] member) |
ScanResult<Tuple> |
zscan(byte[] key,
byte[] cursor) |
ScanResult<Tuple> |
zscan(byte[] key,
byte[] cursor,
ScanParams params) |
java.lang.Double |
zscore(byte[] key,
byte[] member) |
java.util.Set<byte[]> |
zunion(ZParams params,
byte[]... keys) |
java.lang.Long |
zunionstore(byte[] dstkey,
byte[]... sets) |
java.lang.Long |
zunionstore(byte[] dstkey,
ZParams params,
byte[]... sets) |
java.util.Set<Tuple> |
zunionWithScores(ZParams params,
byte[]... keys) |
restore, setexpublic static final int HASHSLOTS
public static final int DEFAULT_TIMEOUT
public static final int DEFAULT_MAX_ATTEMPTS
public BinaryJedisCluster(java.util.Set<HostAndPort> nodes)
public BinaryJedisCluster(java.util.Set<HostAndPort> nodes, int timeout)
public BinaryJedisCluster(java.util.Set<HostAndPort> jedisClusterNode, int timeout, int maxAttempts, GenericObjectPoolConfig<Jedis> poolConfig)
public BinaryJedisCluster(java.util.Set<HostAndPort> jedisClusterNode, int connectionTimeout, int soTimeout, int maxAttempts, GenericObjectPoolConfig<Jedis> poolConfig)
public BinaryJedisCluster(java.util.Set<HostAndPort> jedisClusterNode, int connectionTimeout, int soTimeout, int maxAttempts, java.lang.String password, GenericObjectPoolConfig<Jedis> poolConfig)
public BinaryJedisCluster(java.util.Set<HostAndPort> jedisClusterNode, int connectionTimeout, int soTimeout, int maxAttempts, java.lang.String password, java.lang.String clientName, GenericObjectPoolConfig<Jedis> poolConfig)
public BinaryJedisCluster(java.util.Set<HostAndPort> jedisClusterNode, int connectionTimeout, int soTimeout, int maxAttempts, java.lang.String user, java.lang.String password, java.lang.String clientName, GenericObjectPoolConfig<Jedis> poolConfig)
public BinaryJedisCluster(java.util.Set<HostAndPort> jedisClusterNode, int connectionTimeout, int soTimeout, int infiniteSoTimeout, int maxAttempts, java.lang.String user, java.lang.String password, java.lang.String clientName, GenericObjectPoolConfig<Jedis> poolConfig)
public BinaryJedisCluster(java.util.Set<HostAndPort> jedisClusterNode, int connectionTimeout, int soTimeout, int maxAttempts, java.lang.String password, java.lang.String clientName, GenericObjectPoolConfig<Jedis> poolConfig, boolean ssl)
public BinaryJedisCluster(java.util.Set<HostAndPort> jedisClusterNode, int connectionTimeout, int soTimeout, int maxAttempts, java.lang.String user, java.lang.String password, java.lang.String clientName, GenericObjectPoolConfig<Jedis> poolConfig, boolean ssl)
@Deprecated public BinaryJedisCluster(java.util.Set<HostAndPort> jedisClusterNode, int connectionTimeout, int soTimeout, int maxAttempts, java.lang.String password, java.lang.String clientName, GenericObjectPoolConfig<Jedis> poolConfig, boolean ssl, javax.net.ssl.SSLSocketFactory sslSocketFactory, javax.net.ssl.SSLParameters sslParameters, javax.net.ssl.HostnameVerifier hostnameVerifier, JedisClusterHostAndPortMap hostAndPortMap)
@Deprecated public BinaryJedisCluster(java.util.Set<HostAndPort> jedisClusterNode, int connectionTimeout, int soTimeout, int maxAttempts, java.lang.String user, java.lang.String password, java.lang.String clientName, GenericObjectPoolConfig<Jedis> poolConfig, boolean ssl, javax.net.ssl.SSLSocketFactory sslSocketFactory, javax.net.ssl.SSLParameters sslParameters, javax.net.ssl.HostnameVerifier hostnameVerifier, JedisClusterHostAndPortMap hostAndPortMap)
@Deprecated public BinaryJedisCluster(java.util.Set<HostAndPort> jedisClusterNode, int connectionTimeout, int soTimeout, int infiniteSoTimeout, int maxAttempts, java.lang.String user, java.lang.String password, java.lang.String clientName, GenericObjectPoolConfig<Jedis> poolConfig, boolean ssl, javax.net.ssl.SSLSocketFactory sslSocketFactory, javax.net.ssl.SSLParameters sslParameters, javax.net.ssl.HostnameVerifier hostnameVerifier, JedisClusterHostAndPortMap hostAndPortMap)
@Deprecated public BinaryJedisCluster(java.util.Set<HostAndPort> jedisClusterNode, int connectionTimeout, int soTimeout, int infiniteSoTimeout, int maxAttempts, java.lang.String user, java.lang.String password, java.lang.String clientName, GenericObjectPoolConfig poolConfig, boolean ssl, javax.net.ssl.SSLSocketFactory sslSocketFactory, javax.net.ssl.SSLParameters sslParameters, javax.net.ssl.HostnameVerifier hostnameVerifier, JedisClusterHostAndPortMap hostAndPortMap, java.time.Duration maxTotalRetriesDuration)
maxTotalRetriesDuration - After this amount of time we will do no more retries and report
the operation as failed.public BinaryJedisCluster(java.util.Set<HostAndPort> jedisClusterNode, JedisClientConfig clientConfig, int maxAttempts, GenericObjectPoolConfig<Jedis> poolConfig)
public BinaryJedisCluster(java.util.Set<HostAndPort> jedisClusterNode, JedisClientConfig clientConfig, int maxAttempts, java.time.Duration maxTotalRetriesDuration, GenericObjectPoolConfig<Jedis> poolConfig)
public void close()
close 在接口中 java.io.Closeableclose 在接口中 java.lang.AutoCloseablepublic java.util.Map<java.lang.String,JedisPool> getClusterNodes()
public Jedis getConnectionFromSlot(int slot)
public java.lang.Boolean copy(byte[] srcKey,
byte[] dstKey,
boolean replace)
copy 在接口中 MultiKeyBinaryJedisClusterCommandspublic java.lang.String set(byte[] key,
byte[] value)
set 在接口中 BinaryJedisClusterCommandspublic java.lang.String set(byte[] key,
byte[] value,
SetParams params)
set 在接口中 BinaryJedisClusterCommandspublic byte[] get(byte[] key)
get 在接口中 BinaryJedisClusterCommandspublic byte[] getDel(byte[] key)
getDel 在接口中 BinaryJedisClusterCommandspublic byte[] getEx(byte[] key,
GetExParams params)
getEx 在接口中 BinaryJedisClusterCommandspublic java.lang.Long exists(byte[]... keys)
exists 在接口中 MultiKeyBinaryJedisClusterCommandspublic java.lang.Boolean exists(byte[] key)
exists 在接口中 BinaryJedisClusterCommandspublic java.lang.Long persist(byte[] key)
persist 在接口中 BinaryJedisClusterCommandspublic java.lang.String type(byte[] key)
type 在接口中 BinaryJedisClusterCommandspublic byte[] dump(byte[] key)
dump 在接口中 BinaryJedisClusterCommandspublic java.lang.String restore(byte[] key,
long ttl,
byte[] serializedValue)
restore 在接口中 BinaryJedisClusterCommandspublic java.lang.String restore(byte[] key,
long ttl,
byte[] serializedValue,
RestoreParams params)
restore 在接口中 BinaryJedisClusterCommandspublic java.lang.Long expire(byte[] key,
int seconds)
expire 在接口中 BinaryJedisClusterCommandspublic java.lang.Long pexpire(byte[] key,
long milliseconds)
pexpire 在接口中 BinaryJedisClusterCommandspublic java.lang.Long expireAt(byte[] key,
long unixTime)
expireAt 在接口中 BinaryJedisClusterCommandspublic java.lang.Long pexpireAt(byte[] key,
long millisecondsTimestamp)
pexpireAt 在接口中 BinaryJedisClusterCommandspublic java.lang.Long ttl(byte[] key)
ttl 在接口中 BinaryJedisClusterCommandspublic java.lang.Long pttl(byte[] key)
pttl 在接口中 BinaryJedisClusterCommandspublic java.lang.Long touch(byte[] key)
touch 在接口中 BinaryJedisClusterCommandspublic java.lang.Long touch(byte[]... keys)
touch 在接口中 MultiKeyBinaryJedisClusterCommandspublic java.lang.Boolean setbit(byte[] key,
long offset,
boolean value)
setbit 在接口中 BinaryJedisClusterCommandspublic java.lang.Boolean setbit(byte[] key,
long offset,
byte[] value)
setbit 在接口中 BinaryJedisClusterCommandspublic java.lang.Boolean getbit(byte[] key,
long offset)
getbit 在接口中 BinaryJedisClusterCommandspublic java.lang.Long setrange(byte[] key,
long offset,
byte[] value)
setrange 在接口中 BinaryJedisClusterCommandspublic byte[] getrange(byte[] key,
long startOffset,
long endOffset)
getrange 在接口中 BinaryJedisClusterCommandspublic byte[] getSet(byte[] key,
byte[] value)
getSet 在接口中 BinaryJedisClusterCommandspublic java.lang.Long setnx(byte[] key,
byte[] value)
setnx 在接口中 BinaryJedisClusterCommandspublic java.lang.String psetex(byte[] key,
long milliseconds,
byte[] value)
psetex 在接口中 BinaryJedisClusterCommandspublic java.lang.String setex(byte[] key,
long seconds,
byte[] value)
setex 在接口中 BinaryJedisClusterCommandspublic java.lang.Long decrBy(byte[] key,
long decrement)
decrBy 在接口中 BinaryJedisClusterCommandspublic java.lang.Long decr(byte[] key)
decr 在接口中 BinaryJedisClusterCommandspublic java.lang.Long incrBy(byte[] key,
long increment)
incrBy 在接口中 BinaryJedisClusterCommandspublic java.lang.Double incrByFloat(byte[] key,
double increment)
incrByFloat 在接口中 BinaryJedisClusterCommandspublic java.lang.Long incr(byte[] key)
incr 在接口中 BinaryJedisClusterCommandspublic java.lang.Long append(byte[] key,
byte[] value)
append 在接口中 BinaryJedisClusterCommandspublic byte[] substr(byte[] key,
int start,
int end)
substr 在接口中 BinaryJedisClusterCommandspublic java.lang.Long hset(byte[] key,
byte[] field,
byte[] value)
hset 在接口中 BinaryJedisClusterCommandspublic java.lang.Long hset(byte[] key,
java.util.Map<byte[],byte[]> hash)
hset 在接口中 BinaryJedisClusterCommandspublic byte[] hget(byte[] key,
byte[] field)
hget 在接口中 BinaryJedisClusterCommandspublic java.lang.Long hsetnx(byte[] key,
byte[] field,
byte[] value)
hsetnx 在接口中 BinaryJedisClusterCommandspublic java.lang.String hmset(byte[] key,
java.util.Map<byte[],byte[]> hash)
hmset 在接口中 BinaryJedisClusterCommandspublic java.util.List<byte[]> hmget(byte[] key,
byte[]... fields)
hmget 在接口中 BinaryJedisClusterCommandspublic java.lang.Long hincrBy(byte[] key,
byte[] field,
long value)
hincrBy 在接口中 BinaryJedisClusterCommandspublic java.lang.Double hincrByFloat(byte[] key,
byte[] field,
double value)
hincrByFloat 在接口中 BinaryJedisClusterCommandspublic java.lang.Boolean hexists(byte[] key,
byte[] field)
hexists 在接口中 BinaryJedisClusterCommandspublic java.lang.Long hdel(byte[] key,
byte[]... field)
hdel 在接口中 BinaryJedisClusterCommandspublic java.lang.Long hlen(byte[] key)
hlen 在接口中 BinaryJedisClusterCommandspublic java.util.Set<byte[]> hkeys(byte[] key)
hkeys 在接口中 BinaryJedisClusterCommandspublic java.util.List<byte[]> hvals(byte[] key)
hvals 在接口中 BinaryJedisClusterCommandspublic java.util.Map<byte[],byte[]> hgetAll(byte[] key)
hgetAll 在接口中 BinaryJedisClusterCommandspublic byte[] hrandfield(byte[] key)
hrandfield 在接口中 BinaryJedisClusterCommandspublic java.util.List<byte[]> hrandfield(byte[] key,
long count)
hrandfield 在接口中 BinaryJedisClusterCommandspublic java.util.Map<byte[],byte[]> hrandfieldWithValues(byte[] key,
long count)
public java.lang.Long rpush(byte[] key,
byte[]... args)
rpush 在接口中 BinaryJedisClusterCommandspublic java.lang.Long lpush(byte[] key,
byte[]... args)
lpush 在接口中 BinaryJedisClusterCommandspublic java.lang.Long llen(byte[] key)
llen 在接口中 BinaryJedisClusterCommandspublic java.util.List<byte[]> lrange(byte[] key,
long start,
long stop)
lrange 在接口中 BinaryJedisClusterCommandspublic java.lang.String ltrim(byte[] key,
long start,
long stop)
ltrim 在接口中 BinaryJedisClusterCommandspublic byte[] lindex(byte[] key,
long index)
lindex 在接口中 BinaryJedisClusterCommandspublic java.lang.String lset(byte[] key,
long index,
byte[] value)
lset 在接口中 BinaryJedisClusterCommandspublic java.lang.Long lrem(byte[] key,
long count,
byte[] value)
lrem 在接口中 BinaryJedisClusterCommandspublic byte[] lpop(byte[] key)
lpop 在接口中 BinaryJedisClusterCommandspublic java.util.List<byte[]> lpop(byte[] key,
int count)
lpop 在接口中 BinaryJedisClusterCommandspublic java.lang.Long lpos(byte[] key,
byte[] element)
lpos 在接口中 BinaryJedisClusterCommandspublic java.lang.Long lpos(byte[] key,
byte[] element,
LPosParams params)
lpos 在接口中 BinaryJedisClusterCommandspublic java.util.List<java.lang.Long> lpos(byte[] key,
byte[] element,
LPosParams params,
long count)
lpos 在接口中 BinaryJedisClusterCommandspublic byte[] rpop(byte[] key)
rpop 在接口中 BinaryJedisClusterCommandspublic java.util.List<byte[]> rpop(byte[] key,
int count)
rpop 在接口中 BinaryJedisClusterCommandspublic java.lang.Long sadd(byte[] key,
byte[]... member)
sadd 在接口中 BinaryJedisClusterCommandspublic java.util.Set<byte[]> smembers(byte[] key)
smembers 在接口中 BinaryJedisClusterCommandspublic java.lang.Long srem(byte[] key,
byte[]... member)
srem 在接口中 BinaryJedisClusterCommandspublic byte[] spop(byte[] key)
spop 在接口中 BinaryJedisClusterCommandspublic java.util.Set<byte[]> spop(byte[] key,
long count)
spop 在接口中 BinaryJedisClusterCommandspublic java.lang.Long scard(byte[] key)
scard 在接口中 BinaryJedisClusterCommandspublic java.lang.Boolean sismember(byte[] key,
byte[] member)
sismember 在接口中 BinaryJedisClusterCommandspublic java.util.List<java.lang.Boolean> smismember(byte[] key,
byte[]... members)
smismember 在接口中 BinaryJedisClusterCommandspublic byte[] srandmember(byte[] key)
srandmember 在接口中 BinaryJedisClusterCommandspublic java.lang.Long strlen(byte[] key)
strlen 在接口中 BinaryJedisClusterCommandspublic java.lang.Long zadd(byte[] key,
double score,
byte[] member)
zadd 在接口中 BinaryJedisClusterCommandspublic java.lang.Long zadd(byte[] key,
double score,
byte[] member,
ZAddParams params)
zadd 在接口中 BinaryJedisClusterCommandspublic java.lang.Long zadd(byte[] key,
java.util.Map<byte[],java.lang.Double> scoreMembers)
zadd 在接口中 BinaryJedisClusterCommandspublic java.lang.Long zadd(byte[] key,
java.util.Map<byte[],java.lang.Double> scoreMembers,
ZAddParams params)
zadd 在接口中 BinaryJedisClusterCommandspublic java.lang.Double zaddIncr(byte[] key,
double score,
byte[] member,
ZAddParams params)
zaddIncr 在接口中 BinaryJedisClusterCommandspublic java.util.Set<byte[]> zdiff(byte[]... keys)
zdiff 在接口中 MultiKeyBinaryJedisClusterCommandspublic java.util.Set<Tuple> zdiffWithScores(byte[]... keys)
public java.lang.Long zdiffStore(byte[] dstkey,
byte[]... keys)
zdiffStore 在接口中 MultiKeyBinaryJedisClusterCommandspublic java.util.Set<byte[]> zrange(byte[] key,
long start,
long stop)
zrange 在接口中 BinaryJedisClusterCommandspublic java.lang.Long zrem(byte[] key,
byte[]... members)
zrem 在接口中 BinaryJedisClusterCommandspublic java.lang.Double zincrby(byte[] key,
double increment,
byte[] member)
zincrby 在接口中 BinaryJedisClusterCommandspublic java.lang.Double zincrby(byte[] key,
double increment,
byte[] member,
ZIncrByParams params)
zincrby 在接口中 BinaryJedisClusterCommandspublic java.lang.Long zrank(byte[] key,
byte[] member)
zrank 在接口中 BinaryJedisClusterCommandspublic java.lang.Long zrevrank(byte[] key,
byte[] member)
zrevrank 在接口中 BinaryJedisClusterCommandspublic java.util.Set<byte[]> zrevrange(byte[] key,
long start,
long stop)
zrevrange 在接口中 BinaryJedisClusterCommandspublic java.util.Set<Tuple> zrangeWithScores(byte[] key, long start, long stop)
zrangeWithScores 在接口中 BinaryJedisClusterCommandspublic java.util.Set<Tuple> zrevrangeWithScores(byte[] key, long start, long stop)
public byte[] zrandmember(byte[] key)
zrandmember 在接口中 BinaryJedisClusterCommandspublic java.util.Set<byte[]> zrandmember(byte[] key,
long count)
zrandmember 在接口中 BinaryJedisClusterCommandspublic java.util.Set<Tuple> zrandmemberWithScores(byte[] key, long count)
public java.lang.Long zcard(byte[] key)
zcard 在接口中 BinaryJedisClusterCommandspublic java.lang.Double zscore(byte[] key,
byte[] member)
zscore 在接口中 BinaryJedisClusterCommandspublic java.util.List<java.lang.Double> zmscore(byte[] key,
byte[]... members)
zmscore 在接口中 BinaryJedisClusterCommandspublic Tuple zpopmax(byte[] key)
zpopmax 在接口中 BinaryJedisClusterCommandspublic java.util.Set<Tuple> zpopmax(byte[] key, int count)
zpopmax 在接口中 BinaryJedisClusterCommandspublic Tuple zpopmin(byte[] key)
zpopmin 在接口中 BinaryJedisClusterCommandspublic java.util.Set<Tuple> zpopmin(byte[] key, int count)
zpopmin 在接口中 BinaryJedisClusterCommandspublic java.util.List<byte[]> sort(byte[] key)
sort 在接口中 BinaryJedisClusterCommandspublic java.util.List<byte[]> sort(byte[] key,
SortingParams sortingParameters)
sort 在接口中 BinaryJedisClusterCommandspublic java.lang.Long zcount(byte[] key,
double min,
double max)
zcount 在接口中 BinaryJedisClusterCommandspublic java.lang.Long zcount(byte[] key,
byte[] min,
byte[] max)
zcount 在接口中 BinaryJedisClusterCommandspublic java.util.Set<byte[]> zrangeByScore(byte[] key,
double min,
double max)
zrangeByScore 在接口中 BinaryJedisClusterCommandspublic java.util.Set<byte[]> zrangeByScore(byte[] key,
byte[] min,
byte[] max)
zrangeByScore 在接口中 BinaryJedisClusterCommandspublic java.util.Set<byte[]> zrevrangeByScore(byte[] key,
double max,
double min)
zrevrangeByScore 在接口中 BinaryJedisClusterCommandspublic java.util.Set<byte[]> zrangeByScore(byte[] key,
double min,
double max,
int offset,
int count)
zrangeByScore 在接口中 BinaryJedisClusterCommandspublic java.util.Set<byte[]> zrevrangeByScore(byte[] key,
byte[] max,
byte[] min)
zrevrangeByScore 在接口中 BinaryJedisClusterCommandspublic java.util.Set<byte[]> zrangeByScore(byte[] key,
byte[] min,
byte[] max,
int offset,
int count)
zrangeByScore 在接口中 BinaryJedisClusterCommandspublic java.util.Set<byte[]> zrevrangeByScore(byte[] key,
double max,
double min,
int offset,
int count)
zrevrangeByScore 在接口中 BinaryJedisClusterCommandspublic java.util.Set<Tuple> zrangeByScoreWithScores(byte[] key, double min, double max)
public java.util.Set<Tuple> zrevrangeByScoreWithScores(byte[] key, double max, double min)
public java.util.Set<Tuple> zrangeByScoreWithScores(byte[] key, double min, double max, int offset, int count)
public java.util.Set<byte[]> zrevrangeByScore(byte[] key,
byte[] max,
byte[] min,
int offset,
int count)
zrevrangeByScore 在接口中 BinaryJedisClusterCommandspublic java.util.Set<Tuple> zrangeByScoreWithScores(byte[] key, byte[] min, byte[] max)
public java.util.Set<Tuple> zrevrangeByScoreWithScores(byte[] key, byte[] max, byte[] min)
public java.util.Set<Tuple> zrangeByScoreWithScores(byte[] key, byte[] min, byte[] max, int offset, int count)
public java.util.Set<Tuple> zrevrangeByScoreWithScores(byte[] key, double max, double min, int offset, int count)
public java.util.Set<Tuple> zrevrangeByScoreWithScores(byte[] key, byte[] max, byte[] min, int offset, int count)
public java.lang.Long zremrangeByRank(byte[] key,
long start,
long stop)
zremrangeByRank 在接口中 BinaryJedisClusterCommandspublic java.lang.Long zremrangeByScore(byte[] key,
double min,
double max)
zremrangeByScore 在接口中 BinaryJedisClusterCommandspublic java.lang.Long zremrangeByScore(byte[] key,
byte[] min,
byte[] max)
zremrangeByScore 在接口中 BinaryJedisClusterCommandspublic java.lang.Long linsert(byte[] key,
ListPosition where,
byte[] pivot,
byte[] value)
linsert 在接口中 BinaryJedisClusterCommandspublic java.lang.Long lpushx(byte[] key,
byte[]... arg)
lpushx 在接口中 BinaryJedisClusterCommandspublic java.lang.Long rpushx(byte[] key,
byte[]... arg)
rpushx 在接口中 BinaryJedisClusterCommandspublic java.lang.Long del(byte[] key)
del 在接口中 BinaryJedisClusterCommandspublic java.lang.Long unlink(byte[] key)
unlink 在接口中 BinaryJedisClusterCommandspublic java.lang.Long unlink(byte[]... keys)
unlink 在接口中 MultiKeyBinaryJedisClusterCommandspublic byte[] echo(byte[] arg)
echo 在接口中 BinaryJedisClusterCommandspublic java.lang.Long bitcount(byte[] key)
bitcount 在接口中 BinaryJedisClusterCommandspublic java.lang.Long bitcount(byte[] key,
long start,
long end)
bitcount 在接口中 BinaryJedisClusterCommandspublic java.lang.Long pfadd(byte[] key,
byte[]... elements)
pfadd 在接口中 BinaryJedisClusterCommandspublic long pfcount(byte[] key)
pfcount 在接口中 BinaryJedisClusterCommandspublic java.util.List<byte[]> srandmember(byte[] key,
int count)
srandmember 在接口中 BinaryJedisClusterCommandspublic java.lang.Long zlexcount(byte[] key,
byte[] min,
byte[] max)
zlexcount 在接口中 BinaryJedisClusterCommandspublic java.util.Set<byte[]> zrangeByLex(byte[] key,
byte[] min,
byte[] max)
zrangeByLex 在接口中 BinaryJedisClusterCommandspublic java.util.Set<byte[]> zrangeByLex(byte[] key,
byte[] min,
byte[] max,
int offset,
int count)
zrangeByLex 在接口中 BinaryJedisClusterCommandspublic java.util.Set<byte[]> zrevrangeByLex(byte[] key,
byte[] max,
byte[] min)
zrevrangeByLex 在接口中 BinaryJedisClusterCommandspublic java.util.Set<byte[]> zrevrangeByLex(byte[] key,
byte[] max,
byte[] min,
int offset,
int count)
zrevrangeByLex 在接口中 BinaryJedisClusterCommandspublic java.lang.Long zremrangeByLex(byte[] key,
byte[] min,
byte[] max)
zremrangeByLex 在接口中 BinaryJedisClusterCommandspublic java.lang.Object eval(byte[] script,
byte[] keyCount,
byte[]... params)
eval 在接口中 JedisClusterBinaryScriptingCommandspublic java.lang.Object eval(byte[] script,
int keyCount,
byte[]... params)
eval 在接口中 JedisClusterBinaryScriptingCommandspublic java.lang.Object eval(byte[] script,
java.util.List<byte[]> keys,
java.util.List<byte[]> args)
eval 在接口中 JedisClusterBinaryScriptingCommandspublic java.lang.Object eval(byte[] script,
byte[] sampleKey)
eval 在接口中 JedisClusterBinaryScriptingCommandssampleKey - Command will be executed in the node where the hash slot of this key is
assigned topublic java.lang.Object evalsha(byte[] sha1,
byte[] sampleKey)
evalsha 在接口中 JedisClusterBinaryScriptingCommandssampleKey - Command will be executed in the node where the hash slot of this key is
assigned topublic java.lang.Object evalsha(byte[] sha1,
java.util.List<byte[]> keys,
java.util.List<byte[]> args)
evalsha 在接口中 JedisClusterBinaryScriptingCommandspublic java.lang.Object evalsha(byte[] sha1,
int keyCount,
byte[]... params)
evalsha 在接口中 JedisClusterBinaryScriptingCommandspublic java.util.List<java.lang.Long> scriptExists(byte[] sampleKey,
byte[]... sha1)
scriptExists 在接口中 JedisClusterBinaryScriptingCommandssampleKey - Command will be executed in the node where the hash slot of this key is
assigned topublic byte[] scriptLoad(byte[] script,
byte[] sampleKey)
scriptLoad 在接口中 JedisClusterBinaryScriptingCommandssampleKey - Command will be executed in the node where the hash slot of this key is
assigned topublic java.lang.String scriptFlush(byte[] sampleKey)
scriptFlush 在接口中 JedisClusterBinaryScriptingCommandssampleKey - Command will be executed in the node where the hash slot of this key is
assigned topublic java.lang.String scriptFlush(byte[] sampleKey,
FlushMode flushMode)
scriptFlush 在接口中 JedisClusterBinaryScriptingCommandssampleKey - Command will be executed in the node where the hash slot of this key is
assigned topublic java.lang.String scriptKill(byte[] sampleKey)
scriptKill 在接口中 JedisClusterBinaryScriptingCommandssampleKey - Command will be executed in the node where the hash slot of this key is
assigned topublic java.lang.Long del(byte[]... keys)
del 在接口中 MultiKeyBinaryJedisClusterCommandspublic byte[] lmove(byte[] srcKey,
byte[] dstKey,
ListDirection from,
ListDirection to)
lmove 在接口中 MultiKeyBinaryJedisClusterCommandspublic byte[] blmove(byte[] srcKey,
byte[] dstKey,
ListDirection from,
ListDirection to,
double timeout)
blmove 在接口中 MultiKeyBinaryJedisClusterCommandspublic java.util.List<byte[]> blpop(int timeout,
byte[]... keys)
blpop 在接口中 MultiKeyBinaryJedisClusterCommandspublic java.util.List<byte[]> blpop(double timeout,
byte[]... keys)
blpop 在接口中 MultiKeyBinaryJedisClusterCommandspublic java.util.List<byte[]> brpop(int timeout,
byte[]... keys)
brpop 在接口中 MultiKeyBinaryJedisClusterCommandspublic java.util.List<byte[]> brpop(double timeout,
byte[]... keys)
brpop 在接口中 MultiKeyBinaryJedisClusterCommandspublic java.util.List<byte[]> bzpopmax(double timeout,
byte[]... keys)
bzpopmax 在接口中 MultiKeyBinaryJedisClusterCommandspublic java.util.List<byte[]> bzpopmin(double timeout,
byte[]... keys)
bzpopmin 在接口中 MultiKeyBinaryJedisClusterCommandspublic java.util.List<byte[]> mget(byte[]... keys)
mget 在接口中 MultiKeyBinaryJedisClusterCommandspublic java.lang.String mset(byte[]... keysvalues)
mset 在接口中 MultiKeyBinaryJedisClusterCommandspublic java.lang.Long msetnx(byte[]... keysvalues)
msetnx 在接口中 MultiKeyBinaryJedisClusterCommandspublic java.lang.String rename(byte[] oldkey,
byte[] newkey)
rename 在接口中 MultiKeyBinaryJedisClusterCommandspublic java.lang.Long renamenx(byte[] oldkey,
byte[] newkey)
renamenx 在接口中 MultiKeyBinaryJedisClusterCommandspublic byte[] rpoplpush(byte[] srckey,
byte[] dstkey)
rpoplpush 在接口中 MultiKeyBinaryJedisClusterCommandspublic java.util.Set<byte[]> sdiff(byte[]... keys)
sdiff 在接口中 MultiKeyBinaryJedisClusterCommandspublic java.lang.Long sdiffstore(byte[] dstkey,
byte[]... keys)
sdiffstore 在接口中 MultiKeyBinaryJedisClusterCommandspublic java.util.Set<byte[]> sinter(byte[]... keys)
sinter 在接口中 MultiKeyBinaryJedisClusterCommandspublic java.lang.Long sinterstore(byte[] dstkey,
byte[]... keys)
public java.lang.Long smove(byte[] srckey,
byte[] dstkey,
byte[] member)
smove 在接口中 MultiKeyBinaryJedisClusterCommandspublic java.lang.Long sort(byte[] key,
SortingParams sortingParameters,
byte[] dstkey)
sort 在接口中 MultiKeyBinaryJedisClusterCommandspublic java.lang.Long sort(byte[] key,
byte[] dstkey)
sort 在接口中 MultiKeyBinaryJedisClusterCommandspublic java.util.Set<byte[]> sunion(byte[]... keys)
sunion 在接口中 MultiKeyBinaryJedisClusterCommandspublic java.lang.Long sunionstore(byte[] dstkey,
byte[]... keys)
public java.util.Set<byte[]> zinter(ZParams params, byte[]... keys)
zinter 在接口中 MultiKeyBinaryJedisClusterCommandspublic java.lang.Long zinterstore(byte[] dstkey,
byte[]... sets)
public java.lang.Long zinterstore(byte[] dstkey,
ZParams params,
byte[]... sets)
public java.util.Set<byte[]> zunion(ZParams params, byte[]... keys)
zunion 在接口中 MultiKeyBinaryJedisClusterCommandspublic java.lang.Long zunionstore(byte[] dstkey,
byte[]... sets)
public java.lang.Long zunionstore(byte[] dstkey,
ZParams params,
byte[]... sets)
public byte[] brpoplpush(byte[] source,
byte[] destination,
int timeout)
brpoplpush 在接口中 MultiKeyBinaryJedisClusterCommandspublic java.lang.Long publish(byte[] channel,
byte[] message)
publish 在接口中 MultiKeyBinaryJedisClusterCommandspublic void subscribe(BinaryJedisPubSub jedisPubSub, byte[]... channels)
subscribe 在接口中 MultiKeyBinaryJedisClusterCommandspublic void psubscribe(BinaryJedisPubSub jedisPubSub, byte[]... patterns)
psubscribe 在接口中 MultiKeyBinaryJedisClusterCommandspublic java.lang.Long bitop(BitOP op, byte[] destKey, byte[]... srcKeys)
bitop 在接口中 MultiKeyBinaryJedisClusterCommandspublic java.lang.String pfmerge(byte[] destkey,
byte[]... sourcekeys)
pfmerge 在接口中 MultiKeyBinaryJedisClusterCommandspublic java.lang.Long pfcount(byte[]... keys)
pfcount 在接口中 MultiKeyBinaryJedisClusterCommandspublic java.lang.Long geoadd(byte[] key,
double longitude,
double latitude,
byte[] member)
geoadd 在接口中 BinaryJedisClusterCommandspublic java.lang.Long geoadd(byte[] key,
java.util.Map<byte[],GeoCoordinate> memberCoordinateMap)
geoadd 在接口中 BinaryJedisClusterCommandspublic java.lang.Long geoadd(byte[] key,
GeoAddParams params,
java.util.Map<byte[],GeoCoordinate> memberCoordinateMap)
geoadd 在接口中 BinaryJedisClusterCommandspublic java.lang.Double geodist(byte[] key,
byte[] member1,
byte[] member2)
geodist 在接口中 BinaryJedisClusterCommandspublic java.lang.Double geodist(byte[] key,
byte[] member1,
byte[] member2,
GeoUnit unit)
geodist 在接口中 BinaryJedisClusterCommandspublic java.util.List<byte[]> geohash(byte[] key,
byte[]... members)
geohash 在接口中 BinaryJedisClusterCommandspublic java.util.List<GeoCoordinate> geopos(byte[] key, byte[]... members)
geopos 在接口中 BinaryJedisClusterCommandspublic java.util.List<GeoRadiusResponse> georadius(byte[] key, double longitude, double latitude, double radius, GeoUnit unit)
georadius 在接口中 BinaryJedisClusterCommandspublic java.util.List<GeoRadiusResponse> georadiusReadonly(byte[] key, double longitude, double latitude, double radius, GeoUnit unit)
georadiusReadonly 在接口中 BinaryJedisClusterCommandspublic java.util.List<GeoRadiusResponse> georadius(byte[] key, double longitude, double latitude, double radius, GeoUnit unit, GeoRadiusParam param)
georadius 在接口中 BinaryJedisClusterCommandspublic java.lang.Long georadiusStore(byte[] key,
double longitude,
double latitude,
double radius,
GeoUnit unit,
GeoRadiusParam param,
GeoRadiusStoreParam storeParam)
public java.util.List<GeoRadiusResponse> georadiusReadonly(byte[] key, double longitude, double latitude, double radius, GeoUnit unit, GeoRadiusParam param)
georadiusReadonly 在接口中 BinaryJedisClusterCommandspublic java.util.List<GeoRadiusResponse> georadiusByMember(byte[] key, byte[] member, double radius, GeoUnit unit)
georadiusByMember 在接口中 BinaryJedisClusterCommandspublic java.util.List<GeoRadiusResponse> georadiusByMemberReadonly(byte[] key, byte[] member, double radius, GeoUnit unit)
public java.util.List<GeoRadiusResponse> georadiusByMember(byte[] key, byte[] member, double radius, GeoUnit unit, GeoRadiusParam param)
georadiusByMember 在接口中 BinaryJedisClusterCommandspublic java.lang.Long georadiusByMemberStore(byte[] key,
byte[] member,
double radius,
GeoUnit unit,
GeoRadiusParam param,
GeoRadiusStoreParam storeParam)
public java.util.List<GeoRadiusResponse> georadiusByMemberReadonly(byte[] key, byte[] member, double radius, GeoUnit unit, GeoRadiusParam param)
public java.util.Set<byte[]> keys(byte[] pattern)
keys 在接口中 MultiKeyBinaryJedisClusterCommandspublic ScanResult<byte[]> scan(byte[] cursor, ScanParams params)
scan 在接口中 MultiKeyBinaryJedisClusterCommandspublic ScanResult<java.util.Map.Entry<byte[],byte[]>> hscan(byte[] key, byte[] cursor)
hscan 在接口中 BinaryJedisClusterCommandspublic ScanResult<java.util.Map.Entry<byte[],byte[]>> hscan(byte[] key, byte[] cursor, ScanParams params)
hscan 在接口中 BinaryJedisClusterCommandspublic ScanResult<byte[]> sscan(byte[] key, byte[] cursor)
sscan 在接口中 BinaryJedisClusterCommandspublic ScanResult<byte[]> sscan(byte[] key, byte[] cursor, ScanParams params)
sscan 在接口中 BinaryJedisClusterCommandspublic ScanResult<Tuple> zscan(byte[] key, byte[] cursor)
zscan 在接口中 BinaryJedisClusterCommandspublic ScanResult<Tuple> zscan(byte[] key, byte[] cursor, ScanParams params)
zscan 在接口中 BinaryJedisClusterCommandspublic java.util.List<java.lang.Long> bitfield(byte[] key,
byte[]... arguments)
BinaryJedisClusterCommandsbitfield 在接口中 BinaryJedisClusterCommandspublic java.util.List<java.lang.Long> bitfieldReadonly(byte[] key,
byte[]... arguments)
bitfieldReadonly 在接口中 BinaryJedisClusterCommandspublic java.lang.Long hstrlen(byte[] key,
byte[] field)
BinaryJedisClusterCommandshstrlen 在接口中 BinaryJedisClusterCommandspublic java.lang.Long memoryUsage(byte[] key)
memoryUsage 在接口中 BinaryJedisClusterCommandspublic java.lang.Long memoryUsage(byte[] key,
int samples)
memoryUsage 在接口中 BinaryJedisClusterCommandspublic byte[] xadd(byte[] key,
byte[] id,
java.util.Map<byte[],byte[]> hash,
long maxLen,
boolean approximateLength)
xadd 在接口中 BinaryJedisClusterCommandspublic byte[] xadd(byte[] key,
java.util.Map<byte[],byte[]> hash,
XAddParams params)
xadd 在接口中 BinaryJedisClusterCommandspublic java.lang.Long xlen(byte[] key)
xlen 在接口中 BinaryJedisClusterCommandspublic java.util.List<byte[]> xrange(byte[] key,
byte[] start,
byte[] end)
xrange 在接口中 BinaryJedisClusterCommandspublic java.util.List<byte[]> xrange(byte[] key,
byte[] start,
byte[] end,
long count)
xrange 在接口中 BinaryJedisClusterCommandspublic java.util.List<byte[]> xrange(byte[] key,
byte[] start,
byte[] end,
int count)
xrange 在接口中 BinaryJedisClusterCommandspublic java.util.List<byte[]> xrevrange(byte[] key,
byte[] end,
byte[] start)
xrevrange 在接口中 BinaryJedisClusterCommandspublic java.util.List<byte[]> xrevrange(byte[] key,
byte[] end,
byte[] start,
int count)
xrevrange 在接口中 BinaryJedisClusterCommandspublic java.util.List<byte[]> xread(int count,
long block,
java.util.Map<byte[],byte[]> streams)
xread 在接口中 MultiKeyBinaryJedisClusterCommandspublic java.util.List<byte[]> xread(XReadParams xReadParams, java.util.Map.Entry<byte[],byte[]>... streams)
xread 在接口中 MultiKeyBinaryJedisClusterCommandspublic java.lang.Long xack(byte[] key,
byte[] group,
byte[]... ids)
xack 在接口中 BinaryJedisClusterCommandspublic java.lang.String xgroupCreate(byte[] key,
byte[] consumer,
byte[] id,
boolean makeStream)
xgroupCreate 在接口中 BinaryJedisClusterCommandspublic java.lang.String xgroupSetID(byte[] key,
byte[] consumer,
byte[] id)
xgroupSetID 在接口中 BinaryJedisClusterCommandspublic java.lang.Long xgroupDestroy(byte[] key,
byte[] consumer)
xgroupDestroy 在接口中 BinaryJedisClusterCommandspublic java.lang.Long xgroupDelConsumer(byte[] key,
byte[] consumer,
byte[] consumerName)
xgroupDelConsumer 在接口中 BinaryJedisClusterCommandspublic java.util.List<byte[]> xreadGroup(byte[] groupname,
byte[] consumer,
int count,
long block,
boolean noAck,
java.util.Map<byte[],byte[]> streams)
xreadGroup 在接口中 MultiKeyBinaryJedisClusterCommandspublic java.util.List<byte[]> xreadGroup(byte[] groupname,
byte[] consumer,
XReadGroupParams xReadGroupParams,
java.util.Map.Entry<byte[],byte[]>... streams)
xreadGroup 在接口中 MultiKeyBinaryJedisClusterCommandspublic java.lang.Long xdel(byte[] key,
byte[]... ids)
xdel 在接口中 BinaryJedisClusterCommandspublic java.lang.Long xtrim(byte[] key,
long maxLen,
boolean approximateLength)
xtrim 在接口中 BinaryJedisClusterCommandspublic java.lang.Long xtrim(byte[] key,
XTrimParams params)
xtrim 在接口中 BinaryJedisClusterCommandspublic java.util.List<java.lang.Object> xpending(byte[] key,
byte[] groupname,
byte[] start,
byte[] end,
int count,
byte[] consumername)
xpending 在接口中 BinaryJedisClusterCommandspublic java.lang.Object xpending(byte[] key,
byte[] groupname)
xpending 在接口中 BinaryJedisClusterCommandspublic java.util.List<java.lang.Object> xpending(byte[] key,
byte[] groupname,
XPendingParams params)
xpending 在接口中 BinaryJedisClusterCommandspublic java.util.List<byte[]> xclaim(byte[] key,
byte[] groupname,
byte[] consumername,
long minIdleTime,
long newIdleTime,
int retries,
boolean force,
byte[][] ids)
xclaim 在接口中 BinaryJedisClusterCommandspublic java.util.List<byte[]> xclaim(byte[] key,
byte[] group,
byte[] consumername,
long minIdleTime,
XClaimParams params,
byte[]... ids)
xclaim 在接口中 BinaryJedisClusterCommandspublic java.util.List<byte[]> xclaimJustId(byte[] key,
byte[] group,
byte[] consumername,
long minIdleTime,
XClaimParams params,
byte[]... ids)
xclaimJustId 在接口中 BinaryJedisClusterCommandspublic java.lang.Long waitReplicas(byte[] key,
int replicas,
long timeout)
waitReplicas 在接口中 BinaryJedisClusterCommandspublic java.lang.Object sendCommand(byte[] sampleKey,
ProtocolCommand cmd,
byte[]... args)
public java.lang.Object sendBlockingCommand(byte[] sampleKey,
ProtocolCommand cmd,
byte[]... args)