public class BinaryJedisCluster extends java.lang.Object implements BasicCommands, BinaryJedisClusterCommands, MultiKeyBinaryJedisClusterCommands, JedisClusterBinaryScriptingCommands, java.io.Closeable
| Modifier and Type | Field and Description |
|---|---|
protected JedisClusterConnectionHandler |
connectionHandler |
protected static int |
DEFAULT_MAX_REDIRECTIONS |
protected static int |
DEFAULT_TIMEOUT |
static short |
HASHSLOTS |
protected int |
maxAttempts |
| Constructor and Description |
|---|
BinaryJedisCluster(java.util.Set<HostAndPort> nodes) |
BinaryJedisCluster(java.util.Set<HostAndPort> nodes,
int timeout) |
BinaryJedisCluster(java.util.Set<HostAndPort> jedisClusterNode,
int timeout,
int maxAttempts,
org.apache.commons.pool2.impl.GenericObjectPoolConfig poolConfig) |
BinaryJedisCluster(java.util.Set<HostAndPort> jedisClusterNode,
int connectionTimeout,
int soTimeout,
int maxAttempts,
org.apache.commons.pool2.impl.GenericObjectPoolConfig poolConfig) |
BinaryJedisCluster(java.util.Set<HostAndPort> jedisClusterNode,
int connectionTimeout,
int soTimeout,
int maxAttempts,
java.lang.String password,
org.apache.commons.pool2.impl.GenericObjectPoolConfig poolConfig) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Long |
append(byte[] key,
byte[] value) |
java.lang.String |
auth(java.lang.String password)
Deprecated.
No key operation doesn't make sense for Redis Cluster and Redis Cluster doesn't
support authorization scheduled to be removed on next major release
|
java.lang.String |
bgrewriteaof()
Deprecated.
No key operation doesn't make sense for Redis Cluster scheduled to be removed on
next major release
|
java.lang.String |
bgsave()
Deprecated.
No key operation doesn't make sense for Redis Cluster scheduled to be removed on
next major release
|
java.lang.Long |
bitcount(byte[] key) |
java.lang.Long |
bitcount(byte[] key,
long start,
long end) |
java.util.List<byte[]> |
bitfield(byte[] key,
byte[]... arguments)
Executes BITFIELD Redis command
|
java.lang.Long |
bitop(BitOP op,
byte[] destKey,
byte[]... srcKeys) |
java.util.List<byte[]> |
blpop(int timeout,
byte[]... keys) |
java.util.List<byte[]> |
brpop(int timeout,
byte[]... keys) |
byte[] |
brpoplpush(byte[] source,
byte[] destination,
int timeout) |
void |
close() |
java.lang.String |
configResetStat()
Deprecated.
No key operation doesn't make sense for Redis Cluster scheduled to be removed on
next major release
|
java.lang.Long |
dbSize()
Deprecated.
No key operation doesn't make sense for Redis Cluster and Redis Cluster only uses
db index 0 scheduled to be removed on next major release
|
java.lang.String |
debug(DebugParams params)
Deprecated.
No key operation doesn't make sense for Redis Cluster scheduled to be removed on
next major release
|
java.lang.Long |
decr(byte[] key) |
java.lang.Long |
decrBy(byte[] key,
long integer) |
java.lang.Long |
del(byte[]... keys) |
java.lang.Long |
del(byte[] key) |
byte[] |
echo(byte[] arg) |
java.lang.Object |
eval(byte[] script,
byte[] key) |
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[] script,
byte[] key) |
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.String |
flushAll()
Deprecated.
No key operation doesn't make sense for Redis Cluster scheduled to be removed on
next major release
|
java.lang.String |
flushDB()
Deprecated.
No key operation doesn't make sense for Redis Cluster scheduled to be removed on
next major release
|
java.lang.Long |
geoadd(byte[] key,
double longitude,
double latitude,
byte[] member) |
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) |
byte[] |
get(byte[] key) |
java.lang.Boolean |
getbit(byte[] key,
long offset) |
java.util.Map<java.lang.String,JedisPool> |
getClusterNodes() |
java.lang.Long |
getDB()
Deprecated.
No key operation doesn't make sense for Redis Cluster and Redis Cluster only uses
db index 0 scheduled to be removed on next major release
|
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) |
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 |
hsetnx(byte[] key,
byte[] field,
byte[] value) |
java.util.Collection<byte[]> |
hvals(byte[] key) |
java.lang.Long |
incr(byte[] key) |
java.lang.Long |
incrBy(byte[] key,
long integer) |
java.lang.Double |
incrByFloat(byte[] key,
double value) |
java.lang.String |
info()
Deprecated.
No key operation doesn't make sense for Redis Cluster scheduled to be removed on
next major release
|
java.lang.String |
info(java.lang.String section)
Deprecated.
No key operation doesn't make sense for Redis Cluster scheduled to be removed on
next major release
|
java.lang.Long |
lastsave()
Deprecated.
No key operation doesn't make sense for Redis Cluster scheduled to be removed on
next major release
|
byte[] |
lindex(byte[] key,
long index) |
java.lang.Long |
linsert(byte[] key,
BinaryClient.LIST_POSITION where,
byte[] pivot,
byte[] value) |
java.lang.Long |
llen(byte[] key) |
byte[] |
lpop(byte[] key) |
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 end) |
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 end) |
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 |
ping()
Deprecated.
No key operation doesn't make sense for Redis Cluster scheduled to be removed on
next major release
|
void |
psubscribe(BinaryJedisPubSub jedisPubSub,
byte[]... patterns) |
java.lang.Long |
publish(byte[] channel,
byte[] message) |
java.lang.String |
quit()
Deprecated.
No key operation doesn't make sense for Redis Cluster scheduled to be removed on
next major release
|
java.lang.String |
rename(byte[] oldkey,
byte[] newkey) |
java.lang.Long |
renamenx(byte[] oldkey,
byte[] newkey) |
byte[] |
rpop(byte[] key) |
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) |
java.lang.String |
save()
Deprecated.
No key operation doesn't make sense for Redis Cluster scheduled to be removed on
next major release
|
ScanResult<byte[]> |
scan(byte[] cursor,
ScanParams params) |
java.lang.Long |
scard(byte[] key) |
java.util.List<java.lang.Long> |
scriptExists(byte[] key,
byte[][] sha1) |
java.lang.String |
scriptFlush(byte[] key) |
java.lang.String |
scriptKill(byte[] key) |
byte[] |
scriptLoad(byte[] script,
byte[] key) |
java.util.Set<byte[]> |
sdiff(byte[]... keys) |
java.lang.Long |
sdiffstore(byte[] dstkey,
byte[]... keys) |
java.lang.String |
select(int index)
Deprecated.
No key operation doesn't make sense for Redis Cluster and Redis Cluster only uses
db index 0 scheduled to be removed on next major release
|
java.lang.String |
set(byte[] key,
byte[] value) |
java.lang.String |
set(byte[] key,
byte[] value,
byte[] nxxx,
byte[] expx,
long time) |
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,
int seconds,
byte[] value) |
java.lang.Long |
setnx(byte[] key,
byte[] value) |
java.lang.Long |
setrange(byte[] key,
long offset,
byte[] value) |
java.lang.String |
shutdown()
Deprecated.
No key operation doesn't make sense for Redis Cluster scheduled to be removed on
next major release
|
java.util.Set<byte[]> |
sinter(byte[]... keys) |
java.lang.Long |
sinterstore(byte[] dstkey,
byte[]... keys) |
java.lang.Boolean |
sismember(byte[] key,
byte[] member) |
java.lang.String |
slaveof(java.lang.String host,
int port)
Deprecated.
No key operation doesn't make sense for Redis Cluster scheduled to be removed on
next major release
|
java.lang.String |
slaveofNoOne()
Deprecated.
No key operation doesn't make sense for Redis Cluster scheduled to be removed on
next major release
|
java.util.Set<byte[]> |
smembers(byte[] key) |
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 |
ttl(byte[] key) |
java.lang.String |
type(byte[] key) |
java.lang.Long |
waitReplicas(int replicas,
long timeout)
Deprecated.
No key operation doesn't make sense for Redis Cluster scheduled to be removed on
next major release
|
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.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.lang.Double |
zincrby(byte[] key,
double score,
byte[] member) |
java.lang.Double |
zincrby(byte[] key,
double score,
byte[] member,
ZIncrByParams params) |
java.lang.Long |
zinterstore(byte[] dstkey,
byte[]... sets) |
java.lang.Long |
zinterstore(byte[] dstkey,
ZParams params,
byte[]... sets) |
java.lang.Long |
zlexcount(byte[] key,
byte[] min,
byte[] max) |
java.util.Set<byte[]> |
zrange(byte[] key,
long start,
long end) |
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 end) |
java.lang.Long |
zrank(byte[] key,
byte[] member) |
java.lang.Long |
zrem(byte[] key,
byte[]... member) |
java.lang.Long |
zremrangeByLex(byte[] key,
byte[] min,
byte[] max) |
java.lang.Long |
zremrangeByRank(byte[] key,
long start,
long end) |
java.lang.Long |
zremrangeByScore(byte[] key,
byte[] start,
byte[] end) |
java.lang.Long |
zremrangeByScore(byte[] key,
double start,
double end) |
java.util.Set<byte[]> |
zrevrange(byte[] key,
long start,
long end) |
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 end) |
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.lang.Long |
zunionstore(byte[] dstkey,
byte[]... sets) |
java.lang.Long |
zunionstore(byte[] dstkey,
ZParams params,
byte[]... sets) |
public static final short HASHSLOTS
protected static final int DEFAULT_TIMEOUT
protected static final int DEFAULT_MAX_REDIRECTIONS
protected int maxAttempts
protected JedisClusterConnectionHandler connectionHandler
public BinaryJedisCluster(java.util.Set<HostAndPort> nodes, int timeout)
public BinaryJedisCluster(java.util.Set<HostAndPort> nodes)
public BinaryJedisCluster(java.util.Set<HostAndPort> jedisClusterNode, int timeout, int maxAttempts, org.apache.commons.pool2.impl.GenericObjectPoolConfig poolConfig)
public BinaryJedisCluster(java.util.Set<HostAndPort> jedisClusterNode, int connectionTimeout, int soTimeout, int maxAttempts, org.apache.commons.pool2.impl.GenericObjectPoolConfig poolConfig)
public BinaryJedisCluster(java.util.Set<HostAndPort> jedisClusterNode, int connectionTimeout, int soTimeout, int maxAttempts, java.lang.String password, org.apache.commons.pool2.impl.GenericObjectPoolConfig poolConfig)
public void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseablejava.io.IOExceptionpublic java.util.Map<java.lang.String,JedisPool> getClusterNodes()
public java.lang.String set(byte[] key,
byte[] value)
set in interface BinaryJedisClusterCommandspublic java.lang.String set(byte[] key,
byte[] value,
byte[] nxxx,
byte[] expx,
long time)
set in interface BinaryJedisClusterCommandspublic byte[] get(byte[] key)
get in interface BinaryJedisClusterCommandspublic java.lang.Boolean exists(byte[] key)
exists in interface BinaryJedisClusterCommandspublic java.lang.Long exists(byte[]... keys)
exists in interface MultiKeyBinaryJedisClusterCommandspublic java.lang.Long persist(byte[] key)
persist in interface BinaryJedisClusterCommandspublic java.lang.String type(byte[] key)
type in interface BinaryJedisClusterCommandspublic java.lang.Long expire(byte[] key,
int seconds)
expire in interface BinaryJedisClusterCommandspublic java.lang.Long pexpire(byte[] key,
long milliseconds)
pexpire in interface BinaryJedisClusterCommandspublic java.lang.Long expireAt(byte[] key,
long unixTime)
expireAt in interface BinaryJedisClusterCommandspublic java.lang.Long pexpireAt(byte[] key,
long millisecondsTimestamp)
pexpireAt in interface BinaryJedisClusterCommandspublic java.lang.Long ttl(byte[] key)
ttl in interface BinaryJedisClusterCommandspublic java.lang.Boolean setbit(byte[] key,
long offset,
boolean value)
setbit in interface BinaryJedisClusterCommandspublic java.lang.Boolean setbit(byte[] key,
long offset,
byte[] value)
setbit in interface BinaryJedisClusterCommandspublic java.lang.Boolean getbit(byte[] key,
long offset)
getbit in interface BinaryJedisClusterCommandspublic java.lang.Long setrange(byte[] key,
long offset,
byte[] value)
setrange in interface BinaryJedisClusterCommandspublic byte[] getrange(byte[] key,
long startOffset,
long endOffset)
getrange in interface BinaryJedisClusterCommandspublic byte[] getSet(byte[] key,
byte[] value)
getSet in interface BinaryJedisClusterCommandspublic java.lang.Long setnx(byte[] key,
byte[] value)
setnx in interface BinaryJedisClusterCommandspublic java.lang.String setex(byte[] key,
int seconds,
byte[] value)
setex in interface BinaryJedisClusterCommandspublic java.lang.Long decrBy(byte[] key,
long integer)
decrBy in interface BinaryJedisClusterCommandspublic java.lang.Long decr(byte[] key)
decr in interface BinaryJedisClusterCommandspublic java.lang.Long incrBy(byte[] key,
long integer)
incrBy in interface BinaryJedisClusterCommandspublic java.lang.Double incrByFloat(byte[] key,
double value)
incrByFloat in interface BinaryJedisClusterCommandspublic java.lang.Long incr(byte[] key)
incr in interface BinaryJedisClusterCommandspublic java.lang.Long append(byte[] key,
byte[] value)
append in interface BinaryJedisClusterCommandspublic byte[] substr(byte[] key,
int start,
int end)
substr in interface BinaryJedisClusterCommandspublic java.lang.Long hset(byte[] key,
byte[] field,
byte[] value)
hset in interface BinaryJedisClusterCommandspublic byte[] hget(byte[] key,
byte[] field)
hget in interface BinaryJedisClusterCommandspublic java.lang.Long hsetnx(byte[] key,
byte[] field,
byte[] value)
hsetnx in interface BinaryJedisClusterCommandspublic java.lang.String hmset(byte[] key,
java.util.Map<byte[],byte[]> hash)
hmset in interface BinaryJedisClusterCommandspublic java.util.List<byte[]> hmget(byte[] key,
byte[]... fields)
hmget in interface BinaryJedisClusterCommandspublic java.lang.Long hincrBy(byte[] key,
byte[] field,
long value)
hincrBy in interface BinaryJedisClusterCommandspublic java.lang.Double hincrByFloat(byte[] key,
byte[] field,
double value)
hincrByFloat in interface BinaryJedisClusterCommandspublic java.lang.Boolean hexists(byte[] key,
byte[] field)
hexists in interface BinaryJedisClusterCommandspublic java.lang.Long hdel(byte[] key,
byte[]... field)
hdel in interface BinaryJedisClusterCommandspublic java.lang.Long hlen(byte[] key)
hlen in interface BinaryJedisClusterCommandspublic java.util.Set<byte[]> hkeys(byte[] key)
hkeys in interface BinaryJedisClusterCommandspublic java.util.Collection<byte[]> hvals(byte[] key)
hvals in interface BinaryJedisClusterCommandspublic java.util.Map<byte[],byte[]> hgetAll(byte[] key)
hgetAll in interface BinaryJedisClusterCommandspublic java.lang.Long rpush(byte[] key,
byte[]... args)
rpush in interface BinaryJedisClusterCommandspublic java.lang.Long lpush(byte[] key,
byte[]... args)
lpush in interface BinaryJedisClusterCommandspublic java.lang.Long llen(byte[] key)
llen in interface BinaryJedisClusterCommandspublic java.util.List<byte[]> lrange(byte[] key,
long start,
long end)
lrange in interface BinaryJedisClusterCommandspublic java.lang.String ltrim(byte[] key,
long start,
long end)
ltrim in interface BinaryJedisClusterCommandspublic byte[] lindex(byte[] key,
long index)
lindex in interface BinaryJedisClusterCommandspublic java.lang.String lset(byte[] key,
long index,
byte[] value)
lset in interface BinaryJedisClusterCommandspublic java.lang.Long lrem(byte[] key,
long count,
byte[] value)
lrem in interface BinaryJedisClusterCommandspublic byte[] lpop(byte[] key)
lpop in interface BinaryJedisClusterCommandspublic byte[] rpop(byte[] key)
rpop in interface BinaryJedisClusterCommandspublic java.lang.Long sadd(byte[] key,
byte[]... member)
sadd in interface BinaryJedisClusterCommandspublic java.util.Set<byte[]> smembers(byte[] key)
smembers in interface BinaryJedisClusterCommandspublic java.lang.Long srem(byte[] key,
byte[]... member)
srem in interface BinaryJedisClusterCommandspublic byte[] spop(byte[] key)
spop in interface BinaryJedisClusterCommandspublic java.util.Set<byte[]> spop(byte[] key,
long count)
spop in interface BinaryJedisClusterCommandspublic java.lang.Long scard(byte[] key)
scard in interface BinaryJedisClusterCommandspublic java.lang.Boolean sismember(byte[] key,
byte[] member)
sismember in interface BinaryJedisClusterCommandspublic byte[] srandmember(byte[] key)
srandmember in interface BinaryJedisClusterCommandspublic java.lang.Long strlen(byte[] key)
strlen in interface BinaryJedisClusterCommandspublic java.lang.Long zadd(byte[] key,
double score,
byte[] member)
zadd in interface BinaryJedisClusterCommandspublic java.lang.Long zadd(byte[] key,
java.util.Map<byte[],java.lang.Double> scoreMembers)
zadd in interface BinaryJedisClusterCommandspublic java.lang.Long zadd(byte[] key,
double score,
byte[] member,
ZAddParams params)
zadd in interface BinaryJedisClusterCommandspublic java.lang.Long zadd(byte[] key,
java.util.Map<byte[],java.lang.Double> scoreMembers,
ZAddParams params)
zadd in interface BinaryJedisClusterCommandspublic java.util.Set<byte[]> zrange(byte[] key,
long start,
long end)
zrange in interface BinaryJedisClusterCommandspublic java.lang.Long zrem(byte[] key,
byte[]... member)
zrem in interface BinaryJedisClusterCommandspublic java.lang.Double zincrby(byte[] key,
double score,
byte[] member)
zincrby in interface BinaryJedisClusterCommandspublic java.lang.Double zincrby(byte[] key,
double score,
byte[] member,
ZIncrByParams params)
zincrby in interface BinaryJedisClusterCommandspublic java.lang.Long zrank(byte[] key,
byte[] member)
zrank in interface BinaryJedisClusterCommandspublic java.lang.Long zrevrank(byte[] key,
byte[] member)
zrevrank in interface BinaryJedisClusterCommandspublic java.util.Set<byte[]> zrevrange(byte[] key,
long start,
long end)
zrevrange in interface BinaryJedisClusterCommandspublic java.util.Set<Tuple> zrangeWithScores(byte[] key, long start, long end)
zrangeWithScores in interface BinaryJedisClusterCommandspublic java.util.Set<Tuple> zrevrangeWithScores(byte[] key, long start, long end)
zrevrangeWithScores in interface BinaryJedisClusterCommandspublic java.lang.Long zcard(byte[] key)
zcard in interface BinaryJedisClusterCommandspublic java.lang.Double zscore(byte[] key,
byte[] member)
zscore in interface BinaryJedisClusterCommandspublic java.util.List<byte[]> sort(byte[] key)
sort in interface BinaryJedisClusterCommandspublic java.util.List<byte[]> sort(byte[] key,
SortingParams sortingParameters)
sort in interface BinaryJedisClusterCommandspublic java.lang.Long zcount(byte[] key,
double min,
double max)
zcount in interface BinaryJedisClusterCommandspublic java.lang.Long zcount(byte[] key,
byte[] min,
byte[] max)
zcount in interface BinaryJedisClusterCommandspublic java.util.Set<byte[]> zrangeByScore(byte[] key,
double min,
double max)
zrangeByScore in interface BinaryJedisClusterCommandspublic java.util.Set<byte[]> zrangeByScore(byte[] key,
byte[] min,
byte[] max)
zrangeByScore in interface BinaryJedisClusterCommandspublic java.util.Set<byte[]> zrevrangeByScore(byte[] key,
double max,
double min)
zrevrangeByScore in interface BinaryJedisClusterCommandspublic java.util.Set<byte[]> zrangeByScore(byte[] key,
double min,
double max,
int offset,
int count)
zrangeByScore in interface BinaryJedisClusterCommandspublic java.util.Set<byte[]> zrevrangeByScore(byte[] key,
byte[] max,
byte[] min)
zrevrangeByScore in interface BinaryJedisClusterCommandspublic java.util.Set<byte[]> zrangeByScore(byte[] key,
byte[] min,
byte[] max,
int offset,
int count)
zrangeByScore in interface BinaryJedisClusterCommandspublic java.util.Set<byte[]> zrevrangeByScore(byte[] key,
double max,
double min,
int offset,
int count)
zrevrangeByScore in interface BinaryJedisClusterCommandspublic java.util.Set<Tuple> zrangeByScoreWithScores(byte[] key, double min, double max)
zrangeByScoreWithScores in interface BinaryJedisClusterCommandspublic java.util.Set<Tuple> zrevrangeByScoreWithScores(byte[] key, double max, double min)
zrevrangeByScoreWithScores in interface BinaryJedisClusterCommandspublic java.util.Set<Tuple> zrangeByScoreWithScores(byte[] key, double min, double max, int offset, int count)
zrangeByScoreWithScores in interface BinaryJedisClusterCommandspublic java.util.Set<byte[]> zrevrangeByScore(byte[] key,
byte[] max,
byte[] min,
int offset,
int count)
zrevrangeByScore in interface BinaryJedisClusterCommandspublic java.util.Set<Tuple> zrangeByScoreWithScores(byte[] key, byte[] min, byte[] max)
zrangeByScoreWithScores in interface BinaryJedisClusterCommandspublic java.util.Set<Tuple> zrevrangeByScoreWithScores(byte[] key, byte[] max, byte[] min)
zrevrangeByScoreWithScores in interface BinaryJedisClusterCommandspublic java.util.Set<Tuple> zrangeByScoreWithScores(byte[] key, byte[] min, byte[] max, int offset, int count)
zrangeByScoreWithScores in interface BinaryJedisClusterCommandspublic java.util.Set<Tuple> zrevrangeByScoreWithScores(byte[] key, double max, double min, int offset, int count)
zrevrangeByScoreWithScores in interface BinaryJedisClusterCommandspublic java.util.Set<Tuple> zrevrangeByScoreWithScores(byte[] key, byte[] max, byte[] min, int offset, int count)
zrevrangeByScoreWithScores in interface BinaryJedisClusterCommandspublic java.lang.Long zremrangeByRank(byte[] key,
long start,
long end)
zremrangeByRank in interface BinaryJedisClusterCommandspublic java.lang.Long zremrangeByScore(byte[] key,
double start,
double end)
zremrangeByScore in interface BinaryJedisClusterCommandspublic java.lang.Long zremrangeByScore(byte[] key,
byte[] start,
byte[] end)
zremrangeByScore in interface BinaryJedisClusterCommandspublic java.lang.Long linsert(byte[] key,
BinaryClient.LIST_POSITION where,
byte[] pivot,
byte[] value)
linsert in interface BinaryJedisClusterCommandspublic java.lang.Long lpushx(byte[] key,
byte[]... arg)
lpushx in interface BinaryJedisClusterCommandspublic java.lang.Long rpushx(byte[] key,
byte[]... arg)
rpushx in interface BinaryJedisClusterCommandspublic java.lang.Long del(byte[] key)
del in interface BinaryJedisClusterCommandspublic byte[] echo(byte[] arg)
echo in interface BinaryJedisClusterCommandspublic java.lang.Long bitcount(byte[] key)
bitcount in interface BinaryJedisClusterCommandspublic java.lang.Long bitcount(byte[] key,
long start,
long end)
bitcount in interface BinaryJedisClusterCommandspublic java.lang.Long pfadd(byte[] key,
byte[]... elements)
pfadd in interface BinaryJedisClusterCommandspublic long pfcount(byte[] key)
pfcount in interface BinaryJedisClusterCommandspublic java.util.List<byte[]> srandmember(byte[] key,
int count)
srandmember in interface BinaryJedisClusterCommandspublic java.lang.Long zlexcount(byte[] key,
byte[] min,
byte[] max)
zlexcount in interface BinaryJedisClusterCommandspublic java.util.Set<byte[]> zrangeByLex(byte[] key,
byte[] min,
byte[] max)
zrangeByLex in interface BinaryJedisClusterCommandspublic java.util.Set<byte[]> zrangeByLex(byte[] key,
byte[] min,
byte[] max,
int offset,
int count)
zrangeByLex in interface BinaryJedisClusterCommandspublic java.util.Set<byte[]> zrevrangeByLex(byte[] key,
byte[] max,
byte[] min)
zrevrangeByLex in interface BinaryJedisClusterCommandspublic java.util.Set<byte[]> zrevrangeByLex(byte[] key,
byte[] max,
byte[] min,
int offset,
int count)
zrevrangeByLex in interface BinaryJedisClusterCommandspublic java.lang.Long zremrangeByLex(byte[] key,
byte[] min,
byte[] max)
zremrangeByLex in interface BinaryJedisClusterCommandspublic java.lang.Object eval(byte[] script,
byte[] keyCount,
byte[]... params)
eval in interface JedisClusterBinaryScriptingCommandspublic java.lang.Object eval(byte[] script,
int keyCount,
byte[]... params)
eval in interface JedisClusterBinaryScriptingCommandspublic java.lang.Object eval(byte[] script,
java.util.List<byte[]> keys,
java.util.List<byte[]> args)
eval in interface JedisClusterBinaryScriptingCommandspublic java.lang.Object eval(byte[] script,
byte[] key)
eval in interface JedisClusterBinaryScriptingCommandspublic java.lang.Object evalsha(byte[] script,
byte[] key)
evalsha in interface JedisClusterBinaryScriptingCommandspublic java.lang.Object evalsha(byte[] sha1,
java.util.List<byte[]> keys,
java.util.List<byte[]> args)
evalsha in interface JedisClusterBinaryScriptingCommandspublic java.lang.Object evalsha(byte[] sha1,
int keyCount,
byte[]... params)
evalsha in interface JedisClusterBinaryScriptingCommandspublic java.util.List<java.lang.Long> scriptExists(byte[] key,
byte[][] sha1)
scriptExists in interface JedisClusterBinaryScriptingCommandspublic byte[] scriptLoad(byte[] script,
byte[] key)
scriptLoad in interface JedisClusterBinaryScriptingCommandspublic java.lang.String scriptFlush(byte[] key)
scriptFlush in interface JedisClusterBinaryScriptingCommandspublic java.lang.String scriptKill(byte[] key)
scriptKill in interface JedisClusterBinaryScriptingCommandspublic java.lang.Long del(byte[]... keys)
del in interface MultiKeyBinaryJedisClusterCommandspublic java.util.List<byte[]> blpop(int timeout,
byte[]... keys)
blpop in interface MultiKeyBinaryJedisClusterCommandspublic java.util.List<byte[]> brpop(int timeout,
byte[]... keys)
brpop in interface MultiKeyBinaryJedisClusterCommandspublic java.util.List<byte[]> mget(byte[]... keys)
mget in interface MultiKeyBinaryJedisClusterCommandspublic java.lang.String mset(byte[]... keysvalues)
mset in interface MultiKeyBinaryJedisClusterCommandspublic java.lang.Long msetnx(byte[]... keysvalues)
msetnx in interface MultiKeyBinaryJedisClusterCommandspublic java.lang.String rename(byte[] oldkey,
byte[] newkey)
rename in interface MultiKeyBinaryJedisClusterCommandspublic java.lang.Long renamenx(byte[] oldkey,
byte[] newkey)
renamenx in interface MultiKeyBinaryJedisClusterCommandspublic byte[] rpoplpush(byte[] srckey,
byte[] dstkey)
rpoplpush in interface MultiKeyBinaryJedisClusterCommandspublic java.util.Set<byte[]> sdiff(byte[]... keys)
sdiff in interface MultiKeyBinaryJedisClusterCommandspublic java.lang.Long sdiffstore(byte[] dstkey,
byte[]... keys)
sdiffstore in interface MultiKeyBinaryJedisClusterCommandspublic java.util.Set<byte[]> sinter(byte[]... keys)
sinter in interface MultiKeyBinaryJedisClusterCommandspublic java.lang.Long sinterstore(byte[] dstkey,
byte[]... keys)
sinterstore in interface MultiKeyBinaryJedisClusterCommandspublic java.lang.Long smove(byte[] srckey,
byte[] dstkey,
byte[] member)
smove in interface MultiKeyBinaryJedisClusterCommandspublic java.lang.Long sort(byte[] key,
SortingParams sortingParameters,
byte[] dstkey)
sort in interface MultiKeyBinaryJedisClusterCommandspublic java.lang.Long sort(byte[] key,
byte[] dstkey)
sort in interface MultiKeyBinaryJedisClusterCommandspublic java.util.Set<byte[]> sunion(byte[]... keys)
sunion in interface MultiKeyBinaryJedisClusterCommandspublic java.lang.Long sunionstore(byte[] dstkey,
byte[]... keys)
sunionstore in interface MultiKeyBinaryJedisClusterCommandspublic java.lang.Long zinterstore(byte[] dstkey,
byte[]... sets)
zinterstore in interface MultiKeyBinaryJedisClusterCommandspublic java.lang.Long zinterstore(byte[] dstkey,
ZParams params,
byte[]... sets)
zinterstore in interface MultiKeyBinaryJedisClusterCommandspublic java.lang.Long zunionstore(byte[] dstkey,
byte[]... sets)
zunionstore in interface MultiKeyBinaryJedisClusterCommandspublic java.lang.Long zunionstore(byte[] dstkey,
ZParams params,
byte[]... sets)
zunionstore in interface MultiKeyBinaryJedisClusterCommandspublic byte[] brpoplpush(byte[] source,
byte[] destination,
int timeout)
brpoplpush in interface MultiKeyBinaryJedisClusterCommandspublic java.lang.Long publish(byte[] channel,
byte[] message)
publish in interface MultiKeyBinaryJedisClusterCommandspublic void subscribe(BinaryJedisPubSub jedisPubSub, byte[]... channels)
subscribe in interface MultiKeyBinaryJedisClusterCommandspublic void psubscribe(BinaryJedisPubSub jedisPubSub, byte[]... patterns)
psubscribe in interface MultiKeyBinaryJedisClusterCommandspublic java.lang.Long bitop(BitOP op, byte[] destKey, byte[]... srcKeys)
bitop in interface MultiKeyBinaryJedisClusterCommandspublic java.lang.String pfmerge(byte[] destkey,
byte[]... sourcekeys)
pfmerge in interface MultiKeyBinaryJedisClusterCommandspublic java.lang.Long pfcount(byte[]... keys)
pfcount in interface MultiKeyBinaryJedisClusterCommands@Deprecated public java.lang.String ping()
ping in interface BasicCommands@Deprecated public java.lang.String quit()
quit in interface BasicCommands@Deprecated public java.lang.String flushDB()
flushDB in interface BasicCommands@Deprecated public java.lang.Long dbSize()
dbSize in interface BasicCommands@Deprecated public java.lang.String select(int index)
select in interface BasicCommands@Deprecated public java.lang.String flushAll()
flushAll in interface BasicCommands@Deprecated public java.lang.String auth(java.lang.String password)
auth in interface BasicCommands@Deprecated public java.lang.String save()
save in interface BasicCommands@Deprecated public java.lang.String bgsave()
bgsave in interface BasicCommands@Deprecated public java.lang.String bgrewriteaof()
bgrewriteaof in interface BasicCommands@Deprecated public java.lang.Long lastsave()
lastsave in interface BasicCommands@Deprecated public java.lang.String shutdown()
shutdown in interface BasicCommands@Deprecated public java.lang.String info()
info in interface BasicCommands@Deprecated public java.lang.String info(java.lang.String section)
info in interface BasicCommands@Deprecated
public java.lang.String slaveof(java.lang.String host,
int port)
slaveof in interface BasicCommands@Deprecated public java.lang.String slaveofNoOne()
slaveofNoOne in interface BasicCommands@Deprecated public java.lang.Long getDB()
getDB in interface BasicCommands@Deprecated public java.lang.String debug(DebugParams params)
debug in interface BasicCommands@Deprecated public java.lang.String configResetStat()
configResetStat in interface BasicCommands@Deprecated
public java.lang.Long waitReplicas(int replicas,
long timeout)
waitReplicas in interface BasicCommandspublic java.lang.Long geoadd(byte[] key,
double longitude,
double latitude,
byte[] member)
geoadd in interface BinaryJedisClusterCommandspublic java.lang.Long geoadd(byte[] key,
java.util.Map<byte[],GeoCoordinate> memberCoordinateMap)
geoadd in interface BinaryJedisClusterCommandspublic java.lang.Double geodist(byte[] key,
byte[] member1,
byte[] member2)
geodist in interface BinaryJedisClusterCommandspublic java.lang.Double geodist(byte[] key,
byte[] member1,
byte[] member2,
GeoUnit unit)
geodist in interface BinaryJedisClusterCommandspublic java.util.List<byte[]> geohash(byte[] key,
byte[]... members)
geohash in interface BinaryJedisClusterCommandspublic java.util.List<GeoCoordinate> geopos(byte[] key, byte[]... members)
geopos in interface BinaryJedisClusterCommandspublic java.util.List<GeoRadiusResponse> georadius(byte[] key, double longitude, double latitude, double radius, GeoUnit unit)
georadius in interface BinaryJedisClusterCommandspublic java.util.List<GeoRadiusResponse> georadius(byte[] key, double longitude, double latitude, double radius, GeoUnit unit, GeoRadiusParam param)
georadius in interface BinaryJedisClusterCommandspublic java.util.List<GeoRadiusResponse> georadiusByMember(byte[] key, byte[] member, double radius, GeoUnit unit)
georadiusByMember in interface BinaryJedisClusterCommandspublic java.util.List<GeoRadiusResponse> georadiusByMember(byte[] key, byte[] member, double radius, GeoUnit unit, GeoRadiusParam param)
georadiusByMember in interface BinaryJedisClusterCommandspublic ScanResult<byte[]> scan(byte[] cursor, ScanParams params)
scan in interface BinaryJedisClusterCommandspublic ScanResult<java.util.Map.Entry<byte[],byte[]>> hscan(byte[] key, byte[] cursor)
hscan in interface BinaryJedisClusterCommandspublic ScanResult<java.util.Map.Entry<byte[],byte[]>> hscan(byte[] key, byte[] cursor, ScanParams params)
hscan in interface BinaryJedisClusterCommandspublic ScanResult<byte[]> sscan(byte[] key, byte[] cursor)
sscan in interface BinaryJedisClusterCommandspublic ScanResult<byte[]> sscan(byte[] key, byte[] cursor, ScanParams params)
sscan in interface BinaryJedisClusterCommandspublic ScanResult<Tuple> zscan(byte[] key, byte[] cursor)
zscan in interface BinaryJedisClusterCommandspublic ScanResult<Tuple> zscan(byte[] key, byte[] cursor, ScanParams params)
zscan in interface BinaryJedisClusterCommandspublic java.util.List<byte[]> bitfield(byte[] key,
byte[]... arguments)
BinaryJedisClusterCommandsbitfield in interface BinaryJedisClusterCommands