Package redis.clients.jedis
Class BinaryJedisCluster
- java.lang.Object
-
- redis.clients.jedis.BinaryJedisCluster
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
,BinaryJedisClusterCommands
,JedisClusterBinaryScriptingCommands
,MultiKeyBinaryJedisClusterCommands
- Direct Known Subclasses:
JedisCluster
public class BinaryJedisCluster extends Object implements BinaryJedisClusterCommands, MultiKeyBinaryJedisClusterCommands, JedisClusterBinaryScriptingCommands, Closeable
-
-
Field Summary
Fields Modifier and Type Field Description protected JedisClusterConnectionHandler
connectionHandler
protected static int
DEFAULT_MAX_ATTEMPTS
protected static int
DEFAULT_TIMEOUT
static int
HASHSLOTS
protected int
maxAttempts
-
Constructor Summary
Constructors Constructor Description BinaryJedisCluster(Set<HostAndPort> nodes)
BinaryJedisCluster(Set<HostAndPort> nodes, int timeout)
BinaryJedisCluster(Set<HostAndPort> jedisClusterNode, int connectionTimeout, int soTimeout, int infiniteSoTimeout, int maxAttempts, String user, String password, String clientName, org.apache.commons.pool2.impl.GenericObjectPoolConfig poolConfig)
BinaryJedisCluster(Set<HostAndPort> jedisClusterNode, int connectionTimeout, int soTimeout, int infiniteSoTimeout, int maxAttempts, String user, String password, String clientName, org.apache.commons.pool2.impl.GenericObjectPoolConfig poolConfig, boolean ssl, SSLSocketFactory sslSocketFactory, SSLParameters sslParameters, HostnameVerifier hostnameVerifier, JedisClusterHostAndPortMap hostAndPortMap)
BinaryJedisCluster(Set<HostAndPort> jedisClusterNode, int connectionTimeout, int soTimeout, int maxAttempts, String user, String password, String clientName, org.apache.commons.pool2.impl.GenericObjectPoolConfig poolConfig)
BinaryJedisCluster(Set<HostAndPort> jedisClusterNode, int connectionTimeout, int soTimeout, int maxAttempts, String user, String password, String clientName, org.apache.commons.pool2.impl.GenericObjectPoolConfig poolConfig, boolean ssl)
BinaryJedisCluster(Set<HostAndPort> jedisClusterNode, int connectionTimeout, int soTimeout, int maxAttempts, String user, String password, String clientName, org.apache.commons.pool2.impl.GenericObjectPoolConfig poolConfig, boolean ssl, SSLSocketFactory sslSocketFactory, SSLParameters sslParameters, HostnameVerifier hostnameVerifier, JedisClusterHostAndPortMap hostAndPortMap)
BinaryJedisCluster(Set<HostAndPort> jedisClusterNode, int connectionTimeout, int soTimeout, int maxAttempts, String password, String clientName, org.apache.commons.pool2.impl.GenericObjectPoolConfig poolConfig)
BinaryJedisCluster(Set<HostAndPort> jedisClusterNode, int connectionTimeout, int soTimeout, int maxAttempts, String password, String clientName, org.apache.commons.pool2.impl.GenericObjectPoolConfig poolConfig, boolean ssl)
BinaryJedisCluster(Set<HostAndPort> jedisClusterNode, int connectionTimeout, int soTimeout, int maxAttempts, String password, String clientName, org.apache.commons.pool2.impl.GenericObjectPoolConfig poolConfig, boolean ssl, SSLSocketFactory sslSocketFactory, SSLParameters sslParameters, HostnameVerifier hostnameVerifier, JedisClusterHostAndPortMap hostAndPortMap)
BinaryJedisCluster(Set<HostAndPort> jedisClusterNode, int connectionTimeout, int soTimeout, int maxAttempts, String password, org.apache.commons.pool2.impl.GenericObjectPoolConfig poolConfig)
BinaryJedisCluster(Set<HostAndPort> jedisClusterNode, int connectionTimeout, int soTimeout, int maxAttempts, org.apache.commons.pool2.impl.GenericObjectPoolConfig poolConfig)
BinaryJedisCluster(Set<HostAndPort> jedisClusterNode, int timeout, int maxAttempts, org.apache.commons.pool2.impl.GenericObjectPoolConfig poolConfig)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Long
append(byte[] key, byte[] value)
Long
bitcount(byte[] key)
Long
bitcount(byte[] key, long start, long end)
List<Long>
bitfield(byte[] key, byte[]... arguments)
Executes BITFIELD Redis commandList<Long>
bitfieldReadonly(byte[] key, byte[]... arguments)
Long
bitop(BitOP op, byte[] destKey, byte[]... srcKeys)
List<byte[]>
blpop(int timeout, byte[]... keys)
List<byte[]>
brpop(int timeout, byte[]... keys)
byte[]
brpoplpush(byte[] source, byte[] destination, int timeout)
void
close()
Long
decr(byte[] key)
Long
decrBy(byte[] key, long decrement)
Long
del(byte[] key)
Long
del(byte[]... keys)
byte[]
dump(byte[] key)
byte[]
echo(byte[] arg)
Object
eval(byte[] script, byte[] sampleKey)
Object
eval(byte[] script, byte[] keyCount, byte[]... params)
Object
eval(byte[] script, int keyCount, byte[]... params)
Object
eval(byte[] script, List<byte[]> keys, List<byte[]> args)
Object
evalsha(byte[] sha1, byte[] sampleKey)
Object
evalsha(byte[] sha1, int keyCount, byte[]... params)
Object
evalsha(byte[] sha1, List<byte[]> keys, List<byte[]> args)
Boolean
exists(byte[] key)
Long
exists(byte[]... keys)
Long
expire(byte[] key, int seconds)
Long
expireAt(byte[] key, long unixTime)
Long
geoadd(byte[] key, double longitude, double latitude, byte[] member)
Long
geoadd(byte[] key, Map<byte[],GeoCoordinate> memberCoordinateMap)
Double
geodist(byte[] key, byte[] member1, byte[] member2)
Double
geodist(byte[] key, byte[] member1, byte[] member2, GeoUnit unit)
List<byte[]>
geohash(byte[] key, byte[]... members)
List<GeoCoordinate>
geopos(byte[] key, byte[]... members)
List<GeoRadiusResponse>
georadius(byte[] key, double longitude, double latitude, double radius, GeoUnit unit)
List<GeoRadiusResponse>
georadius(byte[] key, double longitude, double latitude, double radius, GeoUnit unit, GeoRadiusParam param)
List<GeoRadiusResponse>
georadiusByMember(byte[] key, byte[] member, double radius, GeoUnit unit)
List<GeoRadiusResponse>
georadiusByMember(byte[] key, byte[] member, double radius, GeoUnit unit, GeoRadiusParam param)
List<GeoRadiusResponse>
georadiusByMemberReadonly(byte[] key, byte[] member, double radius, GeoUnit unit)
List<GeoRadiusResponse>
georadiusByMemberReadonly(byte[] key, byte[] member, double radius, GeoUnit unit, GeoRadiusParam param)
Long
georadiusByMemberStore(byte[] key, byte[] member, double radius, GeoUnit unit, GeoRadiusParam param, GeoRadiusStoreParam storeParam)
List<GeoRadiusResponse>
georadiusReadonly(byte[] key, double longitude, double latitude, double radius, GeoUnit unit)
List<GeoRadiusResponse>
georadiusReadonly(byte[] key, double longitude, double latitude, double radius, GeoUnit unit, GeoRadiusParam param)
Long
georadiusStore(byte[] key, double longitude, double latitude, double radius, GeoUnit unit, GeoRadiusParam param, GeoRadiusStoreParam storeParam)
byte[]
get(byte[] key)
Boolean
getbit(byte[] key, long offset)
Map<String,JedisPool>
getClusterNodes()
Jedis
getConnectionFromSlot(int slot)
byte[]
getrange(byte[] key, long startOffset, long endOffset)
byte[]
getSet(byte[] key, byte[] value)
Long
hdel(byte[] key, byte[]... field)
Boolean
hexists(byte[] key, byte[] field)
byte[]
hget(byte[] key, byte[] field)
Map<byte[],byte[]>
hgetAll(byte[] key)
Long
hincrBy(byte[] key, byte[] field, long value)
Double
hincrByFloat(byte[] key, byte[] field, double value)
Set<byte[]>
hkeys(byte[] key)
Long
hlen(byte[] key)
List<byte[]>
hmget(byte[] key, byte[]... fields)
String
hmset(byte[] key, Map<byte[],byte[]> hash)
ScanResult<Map.Entry<byte[],byte[]>>
hscan(byte[] key, byte[] cursor)
ScanResult<Map.Entry<byte[],byte[]>>
hscan(byte[] key, byte[] cursor, ScanParams params)
Long
hset(byte[] key, byte[] field, byte[] value)
Long
hset(byte[] key, Map<byte[],byte[]> hash)
Long
hsetnx(byte[] key, byte[] field, byte[] value)
Long
hstrlen(byte[] key, byte[] field)
Used for HSTRLEN Redis commandList<byte[]>
hvals(byte[] key)
Long
incr(byte[] key)
Long
incrBy(byte[] key, long increment)
Double
incrByFloat(byte[] key, double increment)
Set<byte[]>
keys(byte[] pattern)
byte[]
lindex(byte[] key, long index)
Long
linsert(byte[] key, ListPosition where, byte[] pivot, byte[] value)
Long
llen(byte[] key)
byte[]
lpop(byte[] key)
Long
lpos(byte[] key, byte[] element)
Long
lpos(byte[] key, byte[] element, LPosParams params)
List<Long>
lpos(byte[] key, byte[] element, LPosParams params, long count)
Long
lpush(byte[] key, byte[]... args)
Long
lpushx(byte[] key, byte[]... arg)
List<byte[]>
lrange(byte[] key, long start, long stop)
Long
lrem(byte[] key, long count, byte[] value)
String
lset(byte[] key, long index, byte[] value)
String
ltrim(byte[] key, long start, long stop)
Long
memoryUsage(byte[] key)
Long
memoryUsage(byte[] key, int samples)
List<byte[]>
mget(byte[]... keys)
String
mset(byte[]... keysvalues)
Long
msetnx(byte[]... keysvalues)
Long
persist(byte[] key)
Long
pexpire(byte[] key, long milliseconds)
Long
pexpireAt(byte[] key, long millisecondsTimestamp)
Long
pfadd(byte[] key, byte[]... elements)
long
pfcount(byte[] key)
Long
pfcount(byte[]... keys)
String
pfmerge(byte[] destkey, byte[]... sourcekeys)
String
psetex(byte[] key, long milliseconds, byte[] value)
void
psubscribe(BinaryJedisPubSub jedisPubSub, byte[]... patterns)
Long
pttl(byte[] key)
Long
publish(byte[] channel, byte[] message)
String
rename(byte[] oldkey, byte[] newkey)
Long
renamenx(byte[] oldkey, byte[] newkey)
String
restore(byte[] key, int ttl, byte[] serializedValue)
byte[]
rpop(byte[] key)
byte[]
rpoplpush(byte[] srckey, byte[] dstkey)
Long
rpush(byte[] key, byte[]... args)
Long
rpushx(byte[] key, byte[]... arg)
Long
sadd(byte[] key, byte[]... member)
ScanResult<byte[]>
scan(byte[] cursor, ScanParams params)
Long
scard(byte[] key)
List<Long>
scriptExists(byte[] sampleKey, byte[]... sha1)
String
scriptFlush(byte[] sampleKey)
String
scriptKill(byte[] sampleKey)
byte[]
scriptLoad(byte[] script, byte[] sampleKey)
Set<byte[]>
sdiff(byte[]... keys)
Long
sdiffstore(byte[] dstkey, byte[]... keys)
Object
sendCommand(byte[] sampleKey, ProtocolCommand cmd, byte[]... args)
String
set(byte[] key, byte[] value)
String
set(byte[] key, byte[] value, SetParams params)
Boolean
setbit(byte[] key, long offset, boolean value)
Boolean
setbit(byte[] key, long offset, byte[] value)
String
setex(byte[] key, int seconds, byte[] value)
Long
setnx(byte[] key, byte[] value)
Long
setrange(byte[] key, long offset, byte[] value)
Set<byte[]>
sinter(byte[]... keys)
Long
sinterstore(byte[] dstkey, byte[]... keys)
Boolean
sismember(byte[] key, byte[] member)
Set<byte[]>
smembers(byte[] key)
List<Boolean>
smismember(byte[] key, byte[]... members)
Long
smove(byte[] srckey, byte[] dstkey, byte[] member)
List<byte[]>
sort(byte[] key)
Long
sort(byte[] key, byte[] dstkey)
List<byte[]>
sort(byte[] key, SortingParams sortingParameters)
Long
sort(byte[] key, SortingParams sortingParameters, byte[] dstkey)
byte[]
spop(byte[] key)
Set<byte[]>
spop(byte[] key, long count)
byte[]
srandmember(byte[] key)
List<byte[]>
srandmember(byte[] key, int count)
Long
srem(byte[] key, byte[]... member)
ScanResult<byte[]>
sscan(byte[] key, byte[] cursor)
ScanResult<byte[]>
sscan(byte[] key, byte[] cursor, ScanParams params)
Long
strlen(byte[] key)
void
subscribe(BinaryJedisPubSub jedisPubSub, byte[]... channels)
byte[]
substr(byte[] key, int start, int end)
Set<byte[]>
sunion(byte[]... keys)
Long
sunionstore(byte[] dstkey, byte[]... keys)
Long
touch(byte[] key)
Long
touch(byte[]... keys)
Long
ttl(byte[] key)
String
type(byte[] key)
Long
unlink(byte[] key)
Long
unlink(byte[]... keys)
Long
waitReplicas(byte[] key, int replicas, long timeout)
Long
xack(byte[] key, byte[] group, byte[]... ids)
byte[]
xadd(byte[] key, byte[] id, Map<byte[],byte[]> hash, long maxLen, boolean approximateLength)
List<byte[]>
xclaim(byte[] key, byte[] groupname, byte[] consumername, long minIdleTime, long newIdleTime, int retries, boolean force, byte[][] ids)
Long
xdel(byte[] key, byte[]... ids)
String
xgroupCreate(byte[] key, byte[] consumer, byte[] id, boolean makeStream)
Long
xgroupDelConsumer(byte[] key, byte[] consumer, byte[] consumerName)
Long
xgroupDestroy(byte[] key, byte[] consumer)
String
xgroupSetID(byte[] key, byte[] consumer, byte[] id)
Long
xlen(byte[] key)
List<byte[]>
xpending(byte[] key, byte[] groupname, byte[] start, byte[] end, int count, byte[] consumername)
List<byte[]>
xrange(byte[] key, byte[] start, byte[] end, long count)
List<byte[]>
xread(int count, long block, Map<byte[],byte[]> streams)
List<byte[]>
xreadGroup(byte[] groupname, byte[] consumer, int count, long block, boolean noAck, Map<byte[],byte[]> streams)
List<byte[]>
xrevrange(byte[] key, byte[] end, byte[] start, int count)
Long
xtrim(byte[] key, long maxLen, boolean approximateLength)
Long
zadd(byte[] key, double score, byte[] member)
Long
zadd(byte[] key, double score, byte[] member, ZAddParams params)
Long
zadd(byte[] key, Map<byte[],Double> scoreMembers)
Long
zadd(byte[] key, Map<byte[],Double> scoreMembers, ZAddParams params)
Long
zcard(byte[] key)
Long
zcount(byte[] key, byte[] min, byte[] max)
Long
zcount(byte[] key, double min, double max)
Double
zincrby(byte[] key, double increment, byte[] member)
Double
zincrby(byte[] key, double increment, byte[] member, ZIncrByParams params)
Long
zinterstore(byte[] dstkey, byte[]... sets)
Long
zinterstore(byte[] dstkey, ZParams params, byte[]... sets)
Long
zlexcount(byte[] key, byte[] min, byte[] max)
List<Double>
zmscore(byte[] key, byte[]... members)
Tuple
zpopmax(byte[] key)
Set<Tuple>
zpopmax(byte[] key, int count)
Tuple
zpopmin(byte[] key)
Set<Tuple>
zpopmin(byte[] key, int count)
Set<byte[]>
zrange(byte[] key, long start, long stop)
Set<byte[]>
zrangeByLex(byte[] key, byte[] min, byte[] max)
Set<byte[]>
zrangeByLex(byte[] key, byte[] min, byte[] max, int offset, int count)
Set<byte[]>
zrangeByScore(byte[] key, byte[] min, byte[] max)
Set<byte[]>
zrangeByScore(byte[] key, byte[] min, byte[] max, int offset, int count)
Set<byte[]>
zrangeByScore(byte[] key, double min, double max)
Set<byte[]>
zrangeByScore(byte[] key, double min, double max, int offset, int count)
Set<Tuple>
zrangeByScoreWithScores(byte[] key, byte[] min, byte[] max)
Set<Tuple>
zrangeByScoreWithScores(byte[] key, byte[] min, byte[] max, int offset, int count)
Set<Tuple>
zrangeByScoreWithScores(byte[] key, double min, double max)
Set<Tuple>
zrangeByScoreWithScores(byte[] key, double min, double max, int offset, int count)
Set<Tuple>
zrangeWithScores(byte[] key, long start, long stop)
Long
zrank(byte[] key, byte[] member)
Long
zrem(byte[] key, byte[]... members)
Long
zremrangeByLex(byte[] key, byte[] min, byte[] max)
Long
zremrangeByRank(byte[] key, long start, long stop)
Long
zremrangeByScore(byte[] key, byte[] min, byte[] max)
Long
zremrangeByScore(byte[] key, double min, double max)
Set<byte[]>
zrevrange(byte[] key, long start, long stop)
Set<byte[]>
zrevrangeByLex(byte[] key, byte[] max, byte[] min)
Set<byte[]>
zrevrangeByLex(byte[] key, byte[] max, byte[] min, int offset, int count)
Set<byte[]>
zrevrangeByScore(byte[] key, byte[] max, byte[] min)
Set<byte[]>
zrevrangeByScore(byte[] key, byte[] max, byte[] min, int offset, int count)
Set<byte[]>
zrevrangeByScore(byte[] key, double max, double min)
Set<byte[]>
zrevrangeByScore(byte[] key, double max, double min, int offset, int count)
Set<Tuple>
zrevrangeByScoreWithScores(byte[] key, byte[] max, byte[] min)
Set<Tuple>
zrevrangeByScoreWithScores(byte[] key, byte[] max, byte[] min, int offset, int count)
Set<Tuple>
zrevrangeByScoreWithScores(byte[] key, double max, double min)
Set<Tuple>
zrevrangeByScoreWithScores(byte[] key, double max, double min, int offset, int count)
Set<Tuple>
zrevrangeWithScores(byte[] key, long start, long stop)
Long
zrevrank(byte[] key, byte[] member)
ScanResult<Tuple>
zscan(byte[] key, byte[] cursor)
ScanResult<Tuple>
zscan(byte[] key, byte[] cursor, ScanParams params)
Double
zscore(byte[] key, byte[] member)
Long
zunionstore(byte[] dstkey, byte[]... sets)
Long
zunionstore(byte[] dstkey, ZParams params, byte[]... sets)
-
-
-
Field Detail
-
HASHSLOTS
public static final int HASHSLOTS
- See Also:
- Constant Field Values
-
DEFAULT_TIMEOUT
protected static final int DEFAULT_TIMEOUT
- See Also:
- Constant Field Values
-
DEFAULT_MAX_ATTEMPTS
protected static final int DEFAULT_MAX_ATTEMPTS
- See Also:
- Constant Field Values
-
maxAttempts
protected int maxAttempts
-
connectionHandler
protected JedisClusterConnectionHandler connectionHandler
-
-
Constructor Detail
-
BinaryJedisCluster
public BinaryJedisCluster(Set<HostAndPort> nodes)
-
BinaryJedisCluster
public BinaryJedisCluster(Set<HostAndPort> nodes, int timeout)
-
BinaryJedisCluster
public BinaryJedisCluster(Set<HostAndPort> jedisClusterNode, int timeout, int maxAttempts, org.apache.commons.pool2.impl.GenericObjectPoolConfig poolConfig)
-
BinaryJedisCluster
public BinaryJedisCluster(Set<HostAndPort> jedisClusterNode, int connectionTimeout, int soTimeout, int maxAttempts, org.apache.commons.pool2.impl.GenericObjectPoolConfig poolConfig)
-
BinaryJedisCluster
public BinaryJedisCluster(Set<HostAndPort> jedisClusterNode, int connectionTimeout, int soTimeout, int maxAttempts, String password, org.apache.commons.pool2.impl.GenericObjectPoolConfig poolConfig)
-
BinaryJedisCluster
public BinaryJedisCluster(Set<HostAndPort> jedisClusterNode, int connectionTimeout, int soTimeout, int maxAttempts, String password, String clientName, org.apache.commons.pool2.impl.GenericObjectPoolConfig poolConfig)
-
BinaryJedisCluster
public BinaryJedisCluster(Set<HostAndPort> jedisClusterNode, int connectionTimeout, int soTimeout, int maxAttempts, String user, String password, String clientName, org.apache.commons.pool2.impl.GenericObjectPoolConfig poolConfig)
-
BinaryJedisCluster
public BinaryJedisCluster(Set<HostAndPort> jedisClusterNode, int connectionTimeout, int soTimeout, int infiniteSoTimeout, int maxAttempts, String user, String password, String clientName, org.apache.commons.pool2.impl.GenericObjectPoolConfig poolConfig)
-
BinaryJedisCluster
public BinaryJedisCluster(Set<HostAndPort> jedisClusterNode, int connectionTimeout, int soTimeout, int maxAttempts, String password, String clientName, org.apache.commons.pool2.impl.GenericObjectPoolConfig poolConfig, boolean ssl)
-
BinaryJedisCluster
public BinaryJedisCluster(Set<HostAndPort> jedisClusterNode, int connectionTimeout, int soTimeout, int maxAttempts, String user, String password, String clientName, org.apache.commons.pool2.impl.GenericObjectPoolConfig poolConfig, boolean ssl)
-
BinaryJedisCluster
public BinaryJedisCluster(Set<HostAndPort> jedisClusterNode, int connectionTimeout, int soTimeout, int maxAttempts, String password, String clientName, org.apache.commons.pool2.impl.GenericObjectPoolConfig poolConfig, boolean ssl, SSLSocketFactory sslSocketFactory, SSLParameters sslParameters, HostnameVerifier hostnameVerifier, JedisClusterHostAndPortMap hostAndPortMap)
-
BinaryJedisCluster
public BinaryJedisCluster(Set<HostAndPort> jedisClusterNode, int connectionTimeout, int soTimeout, int maxAttempts, String user, String password, String clientName, org.apache.commons.pool2.impl.GenericObjectPoolConfig poolConfig, boolean ssl, SSLSocketFactory sslSocketFactory, SSLParameters sslParameters, HostnameVerifier hostnameVerifier, JedisClusterHostAndPortMap hostAndPortMap)
-
BinaryJedisCluster
public BinaryJedisCluster(Set<HostAndPort> jedisClusterNode, int connectionTimeout, int soTimeout, int infiniteSoTimeout, int maxAttempts, String user, String password, String clientName, org.apache.commons.pool2.impl.GenericObjectPoolConfig poolConfig, boolean ssl, SSLSocketFactory sslSocketFactory, SSLParameters sslParameters, HostnameVerifier hostnameVerifier, JedisClusterHostAndPortMap hostAndPortMap)
-
-
Method Detail
-
close
public void close()
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
-
getConnectionFromSlot
public Jedis getConnectionFromSlot(int slot)
-
set
public String set(byte[] key, byte[] value)
- Specified by:
set
in interfaceBinaryJedisClusterCommands
-
set
public String set(byte[] key, byte[] value, SetParams params)
- Specified by:
set
in interfaceBinaryJedisClusterCommands
-
get
public byte[] get(byte[] key)
- Specified by:
get
in interfaceBinaryJedisClusterCommands
-
exists
public Long exists(byte[]... keys)
- Specified by:
exists
in interfaceMultiKeyBinaryJedisClusterCommands
-
exists
public Boolean exists(byte[] key)
- Specified by:
exists
in interfaceBinaryJedisClusterCommands
-
persist
public Long persist(byte[] key)
- Specified by:
persist
in interfaceBinaryJedisClusterCommands
-
type
public String type(byte[] key)
- Specified by:
type
in interfaceBinaryJedisClusterCommands
-
dump
public byte[] dump(byte[] key)
- Specified by:
dump
in interfaceBinaryJedisClusterCommands
-
restore
public String restore(byte[] key, int ttl, byte[] serializedValue)
- Specified by:
restore
in interfaceBinaryJedisClusterCommands
-
expire
public Long expire(byte[] key, int seconds)
- Specified by:
expire
in interfaceBinaryJedisClusterCommands
-
pexpire
public Long pexpire(byte[] key, long milliseconds)
- Specified by:
pexpire
in interfaceBinaryJedisClusterCommands
-
expireAt
public Long expireAt(byte[] key, long unixTime)
- Specified by:
expireAt
in interfaceBinaryJedisClusterCommands
-
pexpireAt
public Long pexpireAt(byte[] key, long millisecondsTimestamp)
- Specified by:
pexpireAt
in interfaceBinaryJedisClusterCommands
-
ttl
public Long ttl(byte[] key)
- Specified by:
ttl
in interfaceBinaryJedisClusterCommands
-
pttl
public Long pttl(byte[] key)
- Specified by:
pttl
in interfaceBinaryJedisClusterCommands
-
touch
public Long touch(byte[] key)
- Specified by:
touch
in interfaceBinaryJedisClusterCommands
-
touch
public Long touch(byte[]... keys)
- Specified by:
touch
in interfaceMultiKeyBinaryJedisClusterCommands
-
setbit
public Boolean setbit(byte[] key, long offset, boolean value)
- Specified by:
setbit
in interfaceBinaryJedisClusterCommands
-
setbit
public Boolean setbit(byte[] key, long offset, byte[] value)
- Specified by:
setbit
in interfaceBinaryJedisClusterCommands
-
getbit
public Boolean getbit(byte[] key, long offset)
- Specified by:
getbit
in interfaceBinaryJedisClusterCommands
-
setrange
public Long setrange(byte[] key, long offset, byte[] value)
- Specified by:
setrange
in interfaceBinaryJedisClusterCommands
-
getrange
public byte[] getrange(byte[] key, long startOffset, long endOffset)
- Specified by:
getrange
in interfaceBinaryJedisClusterCommands
-
getSet
public byte[] getSet(byte[] key, byte[] value)
- Specified by:
getSet
in interfaceBinaryJedisClusterCommands
-
setnx
public Long setnx(byte[] key, byte[] value)
- Specified by:
setnx
in interfaceBinaryJedisClusterCommands
-
psetex
public String psetex(byte[] key, long milliseconds, byte[] value)
- Specified by:
psetex
in interfaceBinaryJedisClusterCommands
-
setex
public String setex(byte[] key, int seconds, byte[] value)
- Specified by:
setex
in interfaceBinaryJedisClusterCommands
-
decrBy
public Long decrBy(byte[] key, long decrement)
- Specified by:
decrBy
in interfaceBinaryJedisClusterCommands
-
decr
public Long decr(byte[] key)
- Specified by:
decr
in interfaceBinaryJedisClusterCommands
-
incrBy
public Long incrBy(byte[] key, long increment)
- Specified by:
incrBy
in interfaceBinaryJedisClusterCommands
-
incrByFloat
public Double incrByFloat(byte[] key, double increment)
- Specified by:
incrByFloat
in interfaceBinaryJedisClusterCommands
-
incr
public Long incr(byte[] key)
- Specified by:
incr
in interfaceBinaryJedisClusterCommands
-
append
public Long append(byte[] key, byte[] value)
- Specified by:
append
in interfaceBinaryJedisClusterCommands
-
substr
public byte[] substr(byte[] key, int start, int end)
- Specified by:
substr
in interfaceBinaryJedisClusterCommands
-
hset
public Long hset(byte[] key, byte[] field, byte[] value)
- Specified by:
hset
in interfaceBinaryJedisClusterCommands
-
hset
public Long hset(byte[] key, Map<byte[],byte[]> hash)
- Specified by:
hset
in interfaceBinaryJedisClusterCommands
-
hget
public byte[] hget(byte[] key, byte[] field)
- Specified by:
hget
in interfaceBinaryJedisClusterCommands
-
hsetnx
public Long hsetnx(byte[] key, byte[] field, byte[] value)
- Specified by:
hsetnx
in interfaceBinaryJedisClusterCommands
-
hmset
public String hmset(byte[] key, Map<byte[],byte[]> hash)
- Specified by:
hmset
in interfaceBinaryJedisClusterCommands
-
hmget
public List<byte[]> hmget(byte[] key, byte[]... fields)
- Specified by:
hmget
in interfaceBinaryJedisClusterCommands
-
hincrBy
public Long hincrBy(byte[] key, byte[] field, long value)
- Specified by:
hincrBy
in interfaceBinaryJedisClusterCommands
-
hincrByFloat
public Double hincrByFloat(byte[] key, byte[] field, double value)
- Specified by:
hincrByFloat
in interfaceBinaryJedisClusterCommands
-
hexists
public Boolean hexists(byte[] key, byte[] field)
- Specified by:
hexists
in interfaceBinaryJedisClusterCommands
-
hdel
public Long hdel(byte[] key, byte[]... field)
- Specified by:
hdel
in interfaceBinaryJedisClusterCommands
-
hlen
public Long hlen(byte[] key)
- Specified by:
hlen
in interfaceBinaryJedisClusterCommands
-
hkeys
public Set<byte[]> hkeys(byte[] key)
- Specified by:
hkeys
in interfaceBinaryJedisClusterCommands
-
hvals
public List<byte[]> hvals(byte[] key)
- Specified by:
hvals
in interfaceBinaryJedisClusterCommands
-
hgetAll
public Map<byte[],byte[]> hgetAll(byte[] key)
- Specified by:
hgetAll
in interfaceBinaryJedisClusterCommands
-
rpush
public Long rpush(byte[] key, byte[]... args)
- Specified by:
rpush
in interfaceBinaryJedisClusterCommands
-
lpush
public Long lpush(byte[] key, byte[]... args)
- Specified by:
lpush
in interfaceBinaryJedisClusterCommands
-
llen
public Long llen(byte[] key)
- Specified by:
llen
in interfaceBinaryJedisClusterCommands
-
lrange
public List<byte[]> lrange(byte[] key, long start, long stop)
- Specified by:
lrange
in interfaceBinaryJedisClusterCommands
-
ltrim
public String ltrim(byte[] key, long start, long stop)
- Specified by:
ltrim
in interfaceBinaryJedisClusterCommands
-
lindex
public byte[] lindex(byte[] key, long index)
- Specified by:
lindex
in interfaceBinaryJedisClusterCommands
-
lset
public String lset(byte[] key, long index, byte[] value)
- Specified by:
lset
in interfaceBinaryJedisClusterCommands
-
lrem
public Long lrem(byte[] key, long count, byte[] value)
- Specified by:
lrem
in interfaceBinaryJedisClusterCommands
-
lpop
public byte[] lpop(byte[] key)
- Specified by:
lpop
in interfaceBinaryJedisClusterCommands
-
lpos
public Long lpos(byte[] key, byte[] element)
- Specified by:
lpos
in interfaceBinaryJedisClusterCommands
-
lpos
public Long lpos(byte[] key, byte[] element, LPosParams params)
- Specified by:
lpos
in interfaceBinaryJedisClusterCommands
-
lpos
public List<Long> lpos(byte[] key, byte[] element, LPosParams params, long count)
- Specified by:
lpos
in interfaceBinaryJedisClusterCommands
-
rpop
public byte[] rpop(byte[] key)
- Specified by:
rpop
in interfaceBinaryJedisClusterCommands
-
sadd
public Long sadd(byte[] key, byte[]... member)
- Specified by:
sadd
in interfaceBinaryJedisClusterCommands
-
smembers
public Set<byte[]> smembers(byte[] key)
- Specified by:
smembers
in interfaceBinaryJedisClusterCommands
-
srem
public Long srem(byte[] key, byte[]... member)
- Specified by:
srem
in interfaceBinaryJedisClusterCommands
-
spop
public byte[] spop(byte[] key)
- Specified by:
spop
in interfaceBinaryJedisClusterCommands
-
spop
public Set<byte[]> spop(byte[] key, long count)
- Specified by:
spop
in interfaceBinaryJedisClusterCommands
-
scard
public Long scard(byte[] key)
- Specified by:
scard
in interfaceBinaryJedisClusterCommands
-
sismember
public Boolean sismember(byte[] key, byte[] member)
- Specified by:
sismember
in interfaceBinaryJedisClusterCommands
-
smismember
public List<Boolean> smismember(byte[] key, byte[]... members)
- Specified by:
smismember
in interfaceBinaryJedisClusterCommands
-
srandmember
public byte[] srandmember(byte[] key)
- Specified by:
srandmember
in interfaceBinaryJedisClusterCommands
-
strlen
public Long strlen(byte[] key)
- Specified by:
strlen
in interfaceBinaryJedisClusterCommands
-
zadd
public Long zadd(byte[] key, double score, byte[] member)
- Specified by:
zadd
in interfaceBinaryJedisClusterCommands
-
zadd
public Long zadd(byte[] key, double score, byte[] member, ZAddParams params)
- Specified by:
zadd
in interfaceBinaryJedisClusterCommands
-
zadd
public Long zadd(byte[] key, Map<byte[],Double> scoreMembers)
- Specified by:
zadd
in interfaceBinaryJedisClusterCommands
-
zadd
public Long zadd(byte[] key, Map<byte[],Double> scoreMembers, ZAddParams params)
- Specified by:
zadd
in interfaceBinaryJedisClusterCommands
-
zrange
public Set<byte[]> zrange(byte[] key, long start, long stop)
- Specified by:
zrange
in interfaceBinaryJedisClusterCommands
-
zrem
public Long zrem(byte[] key, byte[]... members)
- Specified by:
zrem
in interfaceBinaryJedisClusterCommands
-
zincrby
public Double zincrby(byte[] key, double increment, byte[] member)
- Specified by:
zincrby
in interfaceBinaryJedisClusterCommands
-
zincrby
public Double zincrby(byte[] key, double increment, byte[] member, ZIncrByParams params)
- Specified by:
zincrby
in interfaceBinaryJedisClusterCommands
-
zrank
public Long zrank(byte[] key, byte[] member)
- Specified by:
zrank
in interfaceBinaryJedisClusterCommands
-
zrevrank
public Long zrevrank(byte[] key, byte[] member)
- Specified by:
zrevrank
in interfaceBinaryJedisClusterCommands
-
zrevrange
public Set<byte[]> zrevrange(byte[] key, long start, long stop)
- Specified by:
zrevrange
in interfaceBinaryJedisClusterCommands
-
zrangeWithScores
public Set<Tuple> zrangeWithScores(byte[] key, long start, long stop)
- Specified by:
zrangeWithScores
in interfaceBinaryJedisClusterCommands
-
zrevrangeWithScores
public Set<Tuple> zrevrangeWithScores(byte[] key, long start, long stop)
- Specified by:
zrevrangeWithScores
in interfaceBinaryJedisClusterCommands
-
zcard
public Long zcard(byte[] key)
- Specified by:
zcard
in interfaceBinaryJedisClusterCommands
-
zscore
public Double zscore(byte[] key, byte[] member)
- Specified by:
zscore
in interfaceBinaryJedisClusterCommands
-
zmscore
public List<Double> zmscore(byte[] key, byte[]... members)
- Specified by:
zmscore
in interfaceBinaryJedisClusterCommands
-
zpopmax
public Tuple zpopmax(byte[] key)
- Specified by:
zpopmax
in interfaceBinaryJedisClusterCommands
-
zpopmax
public Set<Tuple> zpopmax(byte[] key, int count)
- Specified by:
zpopmax
in interfaceBinaryJedisClusterCommands
-
zpopmin
public Tuple zpopmin(byte[] key)
- Specified by:
zpopmin
in interfaceBinaryJedisClusterCommands
-
zpopmin
public Set<Tuple> zpopmin(byte[] key, int count)
- Specified by:
zpopmin
in interfaceBinaryJedisClusterCommands
-
sort
public List<byte[]> sort(byte[] key)
- Specified by:
sort
in interfaceBinaryJedisClusterCommands
-
sort
public List<byte[]> sort(byte[] key, SortingParams sortingParameters)
- Specified by:
sort
in interfaceBinaryJedisClusterCommands
-
zcount
public Long zcount(byte[] key, double min, double max)
- Specified by:
zcount
in interfaceBinaryJedisClusterCommands
-
zcount
public Long zcount(byte[] key, byte[] min, byte[] max)
- Specified by:
zcount
in interfaceBinaryJedisClusterCommands
-
zrangeByScore
public Set<byte[]> zrangeByScore(byte[] key, double min, double max)
- Specified by:
zrangeByScore
in interfaceBinaryJedisClusterCommands
-
zrangeByScore
public Set<byte[]> zrangeByScore(byte[] key, byte[] min, byte[] max)
- Specified by:
zrangeByScore
in interfaceBinaryJedisClusterCommands
-
zrevrangeByScore
public Set<byte[]> zrevrangeByScore(byte[] key, double max, double min)
- Specified by:
zrevrangeByScore
in interfaceBinaryJedisClusterCommands
-
zrangeByScore
public Set<byte[]> zrangeByScore(byte[] key, double min, double max, int offset, int count)
- Specified by:
zrangeByScore
in interfaceBinaryJedisClusterCommands
-
zrevrangeByScore
public Set<byte[]> zrevrangeByScore(byte[] key, byte[] max, byte[] min)
- Specified by:
zrevrangeByScore
in interfaceBinaryJedisClusterCommands
-
zrangeByScore
public Set<byte[]> zrangeByScore(byte[] key, byte[] min, byte[] max, int offset, int count)
- Specified by:
zrangeByScore
in interfaceBinaryJedisClusterCommands
-
zrevrangeByScore
public Set<byte[]> zrevrangeByScore(byte[] key, double max, double min, int offset, int count)
- Specified by:
zrevrangeByScore
in interfaceBinaryJedisClusterCommands
-
zrangeByScoreWithScores
public Set<Tuple> zrangeByScoreWithScores(byte[] key, double min, double max)
- Specified by:
zrangeByScoreWithScores
in interfaceBinaryJedisClusterCommands
-
zrevrangeByScoreWithScores
public Set<Tuple> zrevrangeByScoreWithScores(byte[] key, double max, double min)
- Specified by:
zrevrangeByScoreWithScores
in interfaceBinaryJedisClusterCommands
-
zrangeByScoreWithScores
public Set<Tuple> zrangeByScoreWithScores(byte[] key, double min, double max, int offset, int count)
- Specified by:
zrangeByScoreWithScores
in interfaceBinaryJedisClusterCommands
-
zrevrangeByScore
public Set<byte[]> zrevrangeByScore(byte[] key, byte[] max, byte[] min, int offset, int count)
- Specified by:
zrevrangeByScore
in interfaceBinaryJedisClusterCommands
-
zrangeByScoreWithScores
public Set<Tuple> zrangeByScoreWithScores(byte[] key, byte[] min, byte[] max)
- Specified by:
zrangeByScoreWithScores
in interfaceBinaryJedisClusterCommands
-
zrevrangeByScoreWithScores
public Set<Tuple> zrevrangeByScoreWithScores(byte[] key, byte[] max, byte[] min)
- Specified by:
zrevrangeByScoreWithScores
in interfaceBinaryJedisClusterCommands
-
zrangeByScoreWithScores
public Set<Tuple> zrangeByScoreWithScores(byte[] key, byte[] min, byte[] max, int offset, int count)
- Specified by:
zrangeByScoreWithScores
in interfaceBinaryJedisClusterCommands
-
zrevrangeByScoreWithScores
public Set<Tuple> zrevrangeByScoreWithScores(byte[] key, double max, double min, int offset, int count)
- Specified by:
zrevrangeByScoreWithScores
in interfaceBinaryJedisClusterCommands
-
zrevrangeByScoreWithScores
public Set<Tuple> zrevrangeByScoreWithScores(byte[] key, byte[] max, byte[] min, int offset, int count)
- Specified by:
zrevrangeByScoreWithScores
in interfaceBinaryJedisClusterCommands
-
zremrangeByRank
public Long zremrangeByRank(byte[] key, long start, long stop)
- Specified by:
zremrangeByRank
in interfaceBinaryJedisClusterCommands
-
zremrangeByScore
public Long zremrangeByScore(byte[] key, double min, double max)
- Specified by:
zremrangeByScore
in interfaceBinaryJedisClusterCommands
-
zremrangeByScore
public Long zremrangeByScore(byte[] key, byte[] min, byte[] max)
- Specified by:
zremrangeByScore
in interfaceBinaryJedisClusterCommands
-
linsert
public Long linsert(byte[] key, ListPosition where, byte[] pivot, byte[] value)
- Specified by:
linsert
in interfaceBinaryJedisClusterCommands
-
lpushx
public Long lpushx(byte[] key, byte[]... arg)
- Specified by:
lpushx
in interfaceBinaryJedisClusterCommands
-
rpushx
public Long rpushx(byte[] key, byte[]... arg)
- Specified by:
rpushx
in interfaceBinaryJedisClusterCommands
-
del
public Long del(byte[] key)
- Specified by:
del
in interfaceBinaryJedisClusterCommands
-
unlink
public Long unlink(byte[] key)
- Specified by:
unlink
in interfaceBinaryJedisClusterCommands
-
unlink
public Long unlink(byte[]... keys)
- Specified by:
unlink
in interfaceMultiKeyBinaryJedisClusterCommands
-
echo
public byte[] echo(byte[] arg)
- Specified by:
echo
in interfaceBinaryJedisClusterCommands
-
bitcount
public Long bitcount(byte[] key)
- Specified by:
bitcount
in interfaceBinaryJedisClusterCommands
-
bitcount
public Long bitcount(byte[] key, long start, long end)
- Specified by:
bitcount
in interfaceBinaryJedisClusterCommands
-
pfadd
public Long pfadd(byte[] key, byte[]... elements)
- Specified by:
pfadd
in interfaceBinaryJedisClusterCommands
-
pfcount
public long pfcount(byte[] key)
- Specified by:
pfcount
in interfaceBinaryJedisClusterCommands
-
srandmember
public List<byte[]> srandmember(byte[] key, int count)
- Specified by:
srandmember
in interfaceBinaryJedisClusterCommands
-
zlexcount
public Long zlexcount(byte[] key, byte[] min, byte[] max)
- Specified by:
zlexcount
in interfaceBinaryJedisClusterCommands
-
zrangeByLex
public Set<byte[]> zrangeByLex(byte[] key, byte[] min, byte[] max)
- Specified by:
zrangeByLex
in interfaceBinaryJedisClusterCommands
-
zrangeByLex
public Set<byte[]> zrangeByLex(byte[] key, byte[] min, byte[] max, int offset, int count)
- Specified by:
zrangeByLex
in interfaceBinaryJedisClusterCommands
-
zrevrangeByLex
public Set<byte[]> zrevrangeByLex(byte[] key, byte[] max, byte[] min)
- Specified by:
zrevrangeByLex
in interfaceBinaryJedisClusterCommands
-
zrevrangeByLex
public Set<byte[]> zrevrangeByLex(byte[] key, byte[] max, byte[] min, int offset, int count)
- Specified by:
zrevrangeByLex
in interfaceBinaryJedisClusterCommands
-
zremrangeByLex
public Long zremrangeByLex(byte[] key, byte[] min, byte[] max)
- Specified by:
zremrangeByLex
in interfaceBinaryJedisClusterCommands
-
eval
public Object eval(byte[] script, byte[] keyCount, byte[]... params)
- Specified by:
eval
in interfaceJedisClusterBinaryScriptingCommands
-
eval
public Object eval(byte[] script, int keyCount, byte[]... params)
- Specified by:
eval
in interfaceJedisClusterBinaryScriptingCommands
-
eval
public Object eval(byte[] script, List<byte[]> keys, List<byte[]> args)
- Specified by:
eval
in interfaceJedisClusterBinaryScriptingCommands
-
eval
public Object eval(byte[] script, byte[] sampleKey)
- Specified by:
eval
in interfaceJedisClusterBinaryScriptingCommands
sampleKey
- Command will be executed in the node where the hash slot of this key is assigned to- Returns:
-
evalsha
public Object evalsha(byte[] sha1, byte[] sampleKey)
- Specified by:
evalsha
in interfaceJedisClusterBinaryScriptingCommands
sampleKey
- Command will be executed in the node where the hash slot of this key is assigned to- Returns:
-
evalsha
public Object evalsha(byte[] sha1, List<byte[]> keys, List<byte[]> args)
- Specified by:
evalsha
in interfaceJedisClusterBinaryScriptingCommands
-
evalsha
public Object evalsha(byte[] sha1, int keyCount, byte[]... params)
- Specified by:
evalsha
in interfaceJedisClusterBinaryScriptingCommands
-
scriptExists
public List<Long> scriptExists(byte[] sampleKey, byte[]... sha1)
- Specified by:
scriptExists
in interfaceJedisClusterBinaryScriptingCommands
- Parameters:
sampleKey
- Command will be executed in the node where the hash slot of this key is assigned to- Returns:
-
scriptLoad
public byte[] scriptLoad(byte[] script, byte[] sampleKey)
- Specified by:
scriptLoad
in interfaceJedisClusterBinaryScriptingCommands
sampleKey
- Command will be executed in the node where the hash slot of this key is assigned to- Returns:
-
scriptFlush
public String scriptFlush(byte[] sampleKey)
- Specified by:
scriptFlush
in interfaceJedisClusterBinaryScriptingCommands
- Parameters:
sampleKey
- Command will be executed in the node where the hash slot of this key is assigned to- Returns:
-
scriptKill
public String scriptKill(byte[] sampleKey)
- Specified by:
scriptKill
in interfaceJedisClusterBinaryScriptingCommands
- Parameters:
sampleKey
- Command will be executed in the node where the hash slot of this key is assigned to- Returns:
-
del
public Long del(byte[]... keys)
- Specified by:
del
in interfaceMultiKeyBinaryJedisClusterCommands
-
blpop
public List<byte[]> blpop(int timeout, byte[]... keys)
- Specified by:
blpop
in interfaceMultiKeyBinaryJedisClusterCommands
-
brpop
public List<byte[]> brpop(int timeout, byte[]... keys)
- Specified by:
brpop
in interfaceMultiKeyBinaryJedisClusterCommands
-
mget
public List<byte[]> mget(byte[]... keys)
- Specified by:
mget
in interfaceMultiKeyBinaryJedisClusterCommands
-
mset
public String mset(byte[]... keysvalues)
- Specified by:
mset
in interfaceMultiKeyBinaryJedisClusterCommands
-
msetnx
public Long msetnx(byte[]... keysvalues)
- Specified by:
msetnx
in interfaceMultiKeyBinaryJedisClusterCommands
-
rename
public String rename(byte[] oldkey, byte[] newkey)
- Specified by:
rename
in interfaceMultiKeyBinaryJedisClusterCommands
-
renamenx
public Long renamenx(byte[] oldkey, byte[] newkey)
- Specified by:
renamenx
in interfaceMultiKeyBinaryJedisClusterCommands
-
rpoplpush
public byte[] rpoplpush(byte[] srckey, byte[] dstkey)
- Specified by:
rpoplpush
in interfaceMultiKeyBinaryJedisClusterCommands
-
sdiff
public Set<byte[]> sdiff(byte[]... keys)
- Specified by:
sdiff
in interfaceMultiKeyBinaryJedisClusterCommands
-
sdiffstore
public Long sdiffstore(byte[] dstkey, byte[]... keys)
- Specified by:
sdiffstore
in interfaceMultiKeyBinaryJedisClusterCommands
-
sinter
public Set<byte[]> sinter(byte[]... keys)
- Specified by:
sinter
in interfaceMultiKeyBinaryJedisClusterCommands
-
sinterstore
public Long sinterstore(byte[] dstkey, byte[]... keys)
- Specified by:
sinterstore
in interfaceMultiKeyBinaryJedisClusterCommands
-
smove
public Long smove(byte[] srckey, byte[] dstkey, byte[] member)
- Specified by:
smove
in interfaceMultiKeyBinaryJedisClusterCommands
-
sort
public Long sort(byte[] key, SortingParams sortingParameters, byte[] dstkey)
- Specified by:
sort
in interfaceMultiKeyBinaryJedisClusterCommands
-
sort
public Long sort(byte[] key, byte[] dstkey)
- Specified by:
sort
in interfaceMultiKeyBinaryJedisClusterCommands
-
sunion
public Set<byte[]> sunion(byte[]... keys)
- Specified by:
sunion
in interfaceMultiKeyBinaryJedisClusterCommands
-
sunionstore
public Long sunionstore(byte[] dstkey, byte[]... keys)
- Specified by:
sunionstore
in interfaceMultiKeyBinaryJedisClusterCommands
-
zinterstore
public Long zinterstore(byte[] dstkey, byte[]... sets)
- Specified by:
zinterstore
in interfaceMultiKeyBinaryJedisClusterCommands
-
zinterstore
public Long zinterstore(byte[] dstkey, ZParams params, byte[]... sets)
- Specified by:
zinterstore
in interfaceMultiKeyBinaryJedisClusterCommands
-
zunionstore
public Long zunionstore(byte[] dstkey, byte[]... sets)
- Specified by:
zunionstore
in interfaceMultiKeyBinaryJedisClusterCommands
-
zunionstore
public Long zunionstore(byte[] dstkey, ZParams params, byte[]... sets)
- Specified by:
zunionstore
in interfaceMultiKeyBinaryJedisClusterCommands
-
brpoplpush
public byte[] brpoplpush(byte[] source, byte[] destination, int timeout)
- Specified by:
brpoplpush
in interfaceMultiKeyBinaryJedisClusterCommands
-
publish
public Long publish(byte[] channel, byte[] message)
- Specified by:
publish
in interfaceMultiKeyBinaryJedisClusterCommands
-
subscribe
public void subscribe(BinaryJedisPubSub jedisPubSub, byte[]... channels)
- Specified by:
subscribe
in interfaceMultiKeyBinaryJedisClusterCommands
-
psubscribe
public void psubscribe(BinaryJedisPubSub jedisPubSub, byte[]... patterns)
- Specified by:
psubscribe
in interfaceMultiKeyBinaryJedisClusterCommands
-
bitop
public Long bitop(BitOP op, byte[] destKey, byte[]... srcKeys)
- Specified by:
bitop
in interfaceMultiKeyBinaryJedisClusterCommands
-
pfmerge
public String pfmerge(byte[] destkey, byte[]... sourcekeys)
- Specified by:
pfmerge
in interfaceMultiKeyBinaryJedisClusterCommands
-
pfcount
public Long pfcount(byte[]... keys)
- Specified by:
pfcount
in interfaceMultiKeyBinaryJedisClusterCommands
-
geoadd
public Long geoadd(byte[] key, double longitude, double latitude, byte[] member)
- Specified by:
geoadd
in interfaceBinaryJedisClusterCommands
-
geoadd
public Long geoadd(byte[] key, Map<byte[],GeoCoordinate> memberCoordinateMap)
- Specified by:
geoadd
in interfaceBinaryJedisClusterCommands
-
geodist
public Double geodist(byte[] key, byte[] member1, byte[] member2)
- Specified by:
geodist
in interfaceBinaryJedisClusterCommands
-
geodist
public Double geodist(byte[] key, byte[] member1, byte[] member2, GeoUnit unit)
- Specified by:
geodist
in interfaceBinaryJedisClusterCommands
-
geohash
public List<byte[]> geohash(byte[] key, byte[]... members)
- Specified by:
geohash
in interfaceBinaryJedisClusterCommands
-
geopos
public List<GeoCoordinate> geopos(byte[] key, byte[]... members)
- Specified by:
geopos
in interfaceBinaryJedisClusterCommands
-
georadius
public List<GeoRadiusResponse> georadius(byte[] key, double longitude, double latitude, double radius, GeoUnit unit)
- Specified by:
georadius
in interfaceBinaryJedisClusterCommands
-
georadiusReadonly
public List<GeoRadiusResponse> georadiusReadonly(byte[] key, double longitude, double latitude, double radius, GeoUnit unit)
- Specified by:
georadiusReadonly
in interfaceBinaryJedisClusterCommands
-
georadius
public List<GeoRadiusResponse> georadius(byte[] key, double longitude, double latitude, double radius, GeoUnit unit, GeoRadiusParam param)
- Specified by:
georadius
in interfaceBinaryJedisClusterCommands
-
georadiusStore
public Long georadiusStore(byte[] key, double longitude, double latitude, double radius, GeoUnit unit, GeoRadiusParam param, GeoRadiusStoreParam storeParam)
- Specified by:
georadiusStore
in interfaceMultiKeyBinaryJedisClusterCommands
-
georadiusReadonly
public List<GeoRadiusResponse> georadiusReadonly(byte[] key, double longitude, double latitude, double radius, GeoUnit unit, GeoRadiusParam param)
- Specified by:
georadiusReadonly
in interfaceBinaryJedisClusterCommands
-
georadiusByMember
public List<GeoRadiusResponse> georadiusByMember(byte[] key, byte[] member, double radius, GeoUnit unit)
- Specified by:
georadiusByMember
in interfaceBinaryJedisClusterCommands
-
georadiusByMemberReadonly
public List<GeoRadiusResponse> georadiusByMemberReadonly(byte[] key, byte[] member, double radius, GeoUnit unit)
- Specified by:
georadiusByMemberReadonly
in interfaceBinaryJedisClusterCommands
-
georadiusByMember
public List<GeoRadiusResponse> georadiusByMember(byte[] key, byte[] member, double radius, GeoUnit unit, GeoRadiusParam param)
- Specified by:
georadiusByMember
in interfaceBinaryJedisClusterCommands
-
georadiusByMemberStore
public Long georadiusByMemberStore(byte[] key, byte[] member, double radius, GeoUnit unit, GeoRadiusParam param, GeoRadiusStoreParam storeParam)
- Specified by:
georadiusByMemberStore
in interfaceMultiKeyBinaryJedisClusterCommands
-
georadiusByMemberReadonly
public List<GeoRadiusResponse> georadiusByMemberReadonly(byte[] key, byte[] member, double radius, GeoUnit unit, GeoRadiusParam param)
- Specified by:
georadiusByMemberReadonly
in interfaceBinaryJedisClusterCommands
-
keys
public Set<byte[]> keys(byte[] pattern)
- Specified by:
keys
in interfaceMultiKeyBinaryJedisClusterCommands
-
scan
public ScanResult<byte[]> scan(byte[] cursor, ScanParams params)
- Specified by:
scan
in interfaceMultiKeyBinaryJedisClusterCommands
-
hscan
public ScanResult<Map.Entry<byte[],byte[]>> hscan(byte[] key, byte[] cursor)
- Specified by:
hscan
in interfaceBinaryJedisClusterCommands
-
hscan
public ScanResult<Map.Entry<byte[],byte[]>> hscan(byte[] key, byte[] cursor, ScanParams params)
- Specified by:
hscan
in interfaceBinaryJedisClusterCommands
-
sscan
public ScanResult<byte[]> sscan(byte[] key, byte[] cursor)
- Specified by:
sscan
in interfaceBinaryJedisClusterCommands
-
sscan
public ScanResult<byte[]> sscan(byte[] key, byte[] cursor, ScanParams params)
- Specified by:
sscan
in interfaceBinaryJedisClusterCommands
-
zscan
public ScanResult<Tuple> zscan(byte[] key, byte[] cursor)
- Specified by:
zscan
in interfaceBinaryJedisClusterCommands
-
zscan
public ScanResult<Tuple> zscan(byte[] key, byte[] cursor, ScanParams params)
- Specified by:
zscan
in interfaceBinaryJedisClusterCommands
-
bitfield
public List<Long> bitfield(byte[] key, byte[]... arguments)
Description copied from interface:BinaryJedisClusterCommands
Executes BITFIELD Redis command- Specified by:
bitfield
in interfaceBinaryJedisClusterCommands
- Returns:
-
bitfieldReadonly
public List<Long> bitfieldReadonly(byte[] key, byte[]... arguments)
- Specified by:
bitfieldReadonly
in interfaceBinaryJedisClusterCommands
-
hstrlen
public Long hstrlen(byte[] key, byte[] field)
Description copied from interface:BinaryJedisClusterCommands
Used for HSTRLEN Redis command- Specified by:
hstrlen
in interfaceBinaryJedisClusterCommands
- Returns:
-
memoryUsage
public Long memoryUsage(byte[] key)
- Specified by:
memoryUsage
in interfaceBinaryJedisClusterCommands
-
memoryUsage
public Long memoryUsage(byte[] key, int samples)
- Specified by:
memoryUsage
in interfaceBinaryJedisClusterCommands
-
xadd
public byte[] xadd(byte[] key, byte[] id, Map<byte[],byte[]> hash, long maxLen, boolean approximateLength)
- Specified by:
xadd
in interfaceBinaryJedisClusterCommands
-
xlen
public Long xlen(byte[] key)
- Specified by:
xlen
in interfaceBinaryJedisClusterCommands
-
xrange
public List<byte[]> xrange(byte[] key, byte[] start, byte[] end, long count)
- Specified by:
xrange
in interfaceBinaryJedisClusterCommands
-
xrevrange
public List<byte[]> xrevrange(byte[] key, byte[] end, byte[] start, int count)
- Specified by:
xrevrange
in interfaceBinaryJedisClusterCommands
-
xread
public List<byte[]> xread(int count, long block, Map<byte[],byte[]> streams)
- Specified by:
xread
in interfaceMultiKeyBinaryJedisClusterCommands
-
xack
public Long xack(byte[] key, byte[] group, byte[]... ids)
- Specified by:
xack
in interfaceBinaryJedisClusterCommands
-
xgroupCreate
public String xgroupCreate(byte[] key, byte[] consumer, byte[] id, boolean makeStream)
- Specified by:
xgroupCreate
in interfaceBinaryJedisClusterCommands
-
xgroupSetID
public String xgroupSetID(byte[] key, byte[] consumer, byte[] id)
- Specified by:
xgroupSetID
in interfaceBinaryJedisClusterCommands
-
xgroupDestroy
public Long xgroupDestroy(byte[] key, byte[] consumer)
- Specified by:
xgroupDestroy
in interfaceBinaryJedisClusterCommands
-
xgroupDelConsumer
public Long xgroupDelConsumer(byte[] key, byte[] consumer, byte[] consumerName)
- Specified by:
xgroupDelConsumer
in interfaceBinaryJedisClusterCommands
-
xreadGroup
public List<byte[]> xreadGroup(byte[] groupname, byte[] consumer, int count, long block, boolean noAck, Map<byte[],byte[]> streams)
- Specified by:
xreadGroup
in interfaceMultiKeyBinaryJedisClusterCommands
-
xdel
public Long xdel(byte[] key, byte[]... ids)
- Specified by:
xdel
in interfaceBinaryJedisClusterCommands
-
xtrim
public Long xtrim(byte[] key, long maxLen, boolean approximateLength)
- Specified by:
xtrim
in interfaceBinaryJedisClusterCommands
-
xpending
public List<byte[]> xpending(byte[] key, byte[] groupname, byte[] start, byte[] end, int count, byte[] consumername)
- Specified by:
xpending
in interfaceBinaryJedisClusterCommands
-
xclaim
public List<byte[]> xclaim(byte[] key, byte[] groupname, byte[] consumername, long minIdleTime, long newIdleTime, int retries, boolean force, byte[][] ids)
- Specified by:
xclaim
in interfaceBinaryJedisClusterCommands
-
waitReplicas
public Long waitReplicas(byte[] key, int replicas, long timeout)
- Specified by:
waitReplicas
in interfaceBinaryJedisClusterCommands
-
sendCommand
public Object sendCommand(byte[] sampleKey, ProtocolCommand cmd, byte[]... args)
-
-