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 JedisClusterConnectionHandlerconnectionHandlerprotected static intDEFAULT_MAX_ATTEMPTSprotected static intDEFAULT_TIMEOUTstatic intHASHSLOTSprotected intmaxAttempts
-
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 Longappend(byte[] key, byte[] value)Longbitcount(byte[] key)Longbitcount(byte[] key, long start, long end)List<Long>bitfield(byte[] key, byte[]... arguments)Executes BITFIELD Redis commandList<Long>bitfieldReadonly(byte[] key, byte[]... arguments)Longbitop(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)voidclose()Longdecr(byte[] key)LongdecrBy(byte[] key, long decrement)Longdel(byte[] key)Longdel(byte[]... keys)byte[]dump(byte[] key)byte[]echo(byte[] arg)Objecteval(byte[] script, byte[] sampleKey)Objecteval(byte[] script, byte[] keyCount, byte[]... params)Objecteval(byte[] script, int keyCount, byte[]... params)Objecteval(byte[] script, List<byte[]> keys, List<byte[]> args)Objectevalsha(byte[] sha1, byte[] sampleKey)Objectevalsha(byte[] sha1, int keyCount, byte[]... params)Objectevalsha(byte[] sha1, List<byte[]> keys, List<byte[]> args)Booleanexists(byte[] key)Longexists(byte[]... keys)Longexpire(byte[] key, int seconds)LongexpireAt(byte[] key, long unixTime)Longgeoadd(byte[] key, double longitude, double latitude, byte[] member)Longgeoadd(byte[] key, Map<byte[],GeoCoordinate> memberCoordinateMap)Doublegeodist(byte[] key, byte[] member1, byte[] member2)Doublegeodist(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)LonggeoradiusByMemberStore(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)LonggeoradiusStore(byte[] key, double longitude, double latitude, double radius, GeoUnit unit, GeoRadiusParam param, GeoRadiusStoreParam storeParam)byte[]get(byte[] key)Booleangetbit(byte[] key, long offset)Map<String,JedisPool>getClusterNodes()JedisgetConnectionFromSlot(int slot)byte[]getrange(byte[] key, long startOffset, long endOffset)byte[]getSet(byte[] key, byte[] value)Longhdel(byte[] key, byte[]... field)Booleanhexists(byte[] key, byte[] field)byte[]hget(byte[] key, byte[] field)Map<byte[],byte[]>hgetAll(byte[] key)LonghincrBy(byte[] key, byte[] field, long value)DoublehincrByFloat(byte[] key, byte[] field, double value)Set<byte[]>hkeys(byte[] key)Longhlen(byte[] key)List<byte[]>hmget(byte[] key, byte[]... fields)Stringhmset(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)Longhset(byte[] key, byte[] field, byte[] value)Longhset(byte[] key, Map<byte[],byte[]> hash)Longhsetnx(byte[] key, byte[] field, byte[] value)Longhstrlen(byte[] key, byte[] field)Used for HSTRLEN Redis commandList<byte[]>hvals(byte[] key)Longincr(byte[] key)LongincrBy(byte[] key, long increment)DoubleincrByFloat(byte[] key, double increment)Set<byte[]>keys(byte[] pattern)byte[]lindex(byte[] key, long index)Longlinsert(byte[] key, ListPosition where, byte[] pivot, byte[] value)Longllen(byte[] key)byte[]lpop(byte[] key)List<byte[]>lpop(byte[] key, int count)Longlpos(byte[] key, byte[] element)Longlpos(byte[] key, byte[] element, LPosParams params)List<Long>lpos(byte[] key, byte[] element, LPosParams params, long count)Longlpush(byte[] key, byte[]... args)Longlpushx(byte[] key, byte[]... arg)List<byte[]>lrange(byte[] key, long start, long stop)Longlrem(byte[] key, long count, byte[] value)Stringlset(byte[] key, long index, byte[] value)Stringltrim(byte[] key, long start, long stop)LongmemoryUsage(byte[] key)LongmemoryUsage(byte[] key, int samples)List<byte[]>mget(byte[]... keys)Stringmset(byte[]... keysvalues)Longmsetnx(byte[]... keysvalues)Longpersist(byte[] key)Longpexpire(byte[] key, long milliseconds)LongpexpireAt(byte[] key, long millisecondsTimestamp)Longpfadd(byte[] key, byte[]... elements)longpfcount(byte[] key)Longpfcount(byte[]... keys)Stringpfmerge(byte[] destkey, byte[]... sourcekeys)Stringpsetex(byte[] key, long milliseconds, byte[] value)voidpsubscribe(BinaryJedisPubSub jedisPubSub, byte[]... patterns)Longpttl(byte[] key)Longpublish(byte[] channel, byte[] message)Stringrename(byte[] oldkey, byte[] newkey)Longrenamenx(byte[] oldkey, byte[] newkey)Stringrestore(byte[] key, int ttl, byte[] serializedValue)byte[]rpop(byte[] key)List<byte[]>rpop(byte[] key, int count)byte[]rpoplpush(byte[] srckey, byte[] dstkey)Longrpush(byte[] key, byte[]... args)Longrpushx(byte[] key, byte[]... arg)Longsadd(byte[] key, byte[]... member)ScanResult<byte[]>scan(byte[] cursor, ScanParams params)Longscard(byte[] key)List<Long>scriptExists(byte[] sampleKey, byte[]... sha1)StringscriptFlush(byte[] sampleKey)StringscriptKill(byte[] sampleKey)byte[]scriptLoad(byte[] script, byte[] sampleKey)Set<byte[]>sdiff(byte[]... keys)Longsdiffstore(byte[] dstkey, byte[]... keys)ObjectsendBlockingCommand(byte[] sampleKey, ProtocolCommand cmd, byte[]... args)ObjectsendCommand(byte[] sampleKey, ProtocolCommand cmd, byte[]... args)Stringset(byte[] key, byte[] value)Stringset(byte[] key, byte[] value, SetParams params)Booleansetbit(byte[] key, long offset, boolean value)Booleansetbit(byte[] key, long offset, byte[] value)Stringsetex(byte[] key, int seconds, byte[] value)Longsetnx(byte[] key, byte[] value)Longsetrange(byte[] key, long offset, byte[] value)Set<byte[]>sinter(byte[]... keys)Longsinterstore(byte[] dstkey, byte[]... keys)Booleansismember(byte[] key, byte[] member)Set<byte[]>smembers(byte[] key)List<Boolean>smismember(byte[] key, byte[]... members)Longsmove(byte[] srckey, byte[] dstkey, byte[] member)List<byte[]>sort(byte[] key)Longsort(byte[] key, byte[] dstkey)List<byte[]>sort(byte[] key, SortingParams sortingParameters)Longsort(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)Longsrem(byte[] key, byte[]... member)ScanResult<byte[]>sscan(byte[] key, byte[] cursor)ScanResult<byte[]>sscan(byte[] key, byte[] cursor, ScanParams params)Longstrlen(byte[] key)voidsubscribe(BinaryJedisPubSub jedisPubSub, byte[]... channels)byte[]substr(byte[] key, int start, int end)Set<byte[]>sunion(byte[]... keys)Longsunionstore(byte[] dstkey, byte[]... keys)Longtouch(byte[] key)Longtouch(byte[]... keys)Longttl(byte[] key)Stringtype(byte[] key)Longunlink(byte[] key)Longunlink(byte[]... keys)LongwaitReplicas(byte[] key, int replicas, long timeout)Longxack(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)Longxdel(byte[] key, byte[]... ids)StringxgroupCreate(byte[] key, byte[] consumer, byte[] id, boolean makeStream)LongxgroupDelConsumer(byte[] key, byte[] consumer, byte[] consumerName)LongxgroupDestroy(byte[] key, byte[] consumer)StringxgroupSetID(byte[] key, byte[] consumer, byte[] id)Longxlen(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)Longxtrim(byte[] key, long maxLen, boolean approximateLength)Longzadd(byte[] key, double score, byte[] member)Longzadd(byte[] key, double score, byte[] member, ZAddParams params)Longzadd(byte[] key, Map<byte[],Double> scoreMembers)Longzadd(byte[] key, Map<byte[],Double> scoreMembers, ZAddParams params)Longzcard(byte[] key)Longzcount(byte[] key, byte[] min, byte[] max)Longzcount(byte[] key, double min, double max)Doublezincrby(byte[] key, double increment, byte[] member)Doublezincrby(byte[] key, double increment, byte[] member, ZIncrByParams params)Longzinterstore(byte[] dstkey, byte[]... sets)Longzinterstore(byte[] dstkey, ZParams params, byte[]... sets)Longzlexcount(byte[] key, byte[] min, byte[] max)List<Double>zmscore(byte[] key, byte[]... members)Tuplezpopmax(byte[] key)Set<Tuple>zpopmax(byte[] key, int count)Tuplezpopmin(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)Longzrank(byte[] key, byte[] member)Longzrem(byte[] key, byte[]... members)LongzremrangeByLex(byte[] key, byte[] min, byte[] max)LongzremrangeByRank(byte[] key, long start, long stop)LongzremrangeByScore(byte[] key, byte[] min, byte[] max)LongzremrangeByScore(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)Longzrevrank(byte[] key, byte[] member)ScanResult<Tuple>zscan(byte[] key, byte[] cursor)ScanResult<Tuple>zscan(byte[] key, byte[] cursor, ScanParams params)Doublezscore(byte[] key, byte[] member)Longzunionstore(byte[] dstkey, byte[]... sets)Longzunionstore(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:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable
-
getConnectionFromSlot
public Jedis getConnectionFromSlot(int slot)
-
set
public String set(byte[] key, byte[] value)
- Specified by:
setin interfaceBinaryJedisClusterCommands
-
set
public String set(byte[] key, byte[] value, SetParams params)
- Specified by:
setin interfaceBinaryJedisClusterCommands
-
get
public byte[] get(byte[] key)
- Specified by:
getin interfaceBinaryJedisClusterCommands
-
exists
public Long exists(byte[]... keys)
- Specified by:
existsin interfaceMultiKeyBinaryJedisClusterCommands
-
exists
public Boolean exists(byte[] key)
- Specified by:
existsin interfaceBinaryJedisClusterCommands
-
persist
public Long persist(byte[] key)
- Specified by:
persistin interfaceBinaryJedisClusterCommands
-
type
public String type(byte[] key)
- Specified by:
typein interfaceBinaryJedisClusterCommands
-
dump
public byte[] dump(byte[] key)
- Specified by:
dumpin interfaceBinaryJedisClusterCommands
-
restore
public String restore(byte[] key, int ttl, byte[] serializedValue)
- Specified by:
restorein interfaceBinaryJedisClusterCommands
-
expire
public Long expire(byte[] key, int seconds)
- Specified by:
expirein interfaceBinaryJedisClusterCommands
-
pexpire
public Long pexpire(byte[] key, long milliseconds)
- Specified by:
pexpirein interfaceBinaryJedisClusterCommands
-
expireAt
public Long expireAt(byte[] key, long unixTime)
- Specified by:
expireAtin interfaceBinaryJedisClusterCommands
-
pexpireAt
public Long pexpireAt(byte[] key, long millisecondsTimestamp)
- Specified by:
pexpireAtin interfaceBinaryJedisClusterCommands
-
ttl
public Long ttl(byte[] key)
- Specified by:
ttlin interfaceBinaryJedisClusterCommands
-
pttl
public Long pttl(byte[] key)
- Specified by:
pttlin interfaceBinaryJedisClusterCommands
-
touch
public Long touch(byte[] key)
- Specified by:
touchin interfaceBinaryJedisClusterCommands
-
touch
public Long touch(byte[]... keys)
- Specified by:
touchin interfaceMultiKeyBinaryJedisClusterCommands
-
setbit
public Boolean setbit(byte[] key, long offset, boolean value)
- Specified by:
setbitin interfaceBinaryJedisClusterCommands
-
setbit
public Boolean setbit(byte[] key, long offset, byte[] value)
- Specified by:
setbitin interfaceBinaryJedisClusterCommands
-
getbit
public Boolean getbit(byte[] key, long offset)
- Specified by:
getbitin interfaceBinaryJedisClusterCommands
-
setrange
public Long setrange(byte[] key, long offset, byte[] value)
- Specified by:
setrangein interfaceBinaryJedisClusterCommands
-
getrange
public byte[] getrange(byte[] key, long startOffset, long endOffset)- Specified by:
getrangein interfaceBinaryJedisClusterCommands
-
getSet
public byte[] getSet(byte[] key, byte[] value)- Specified by:
getSetin interfaceBinaryJedisClusterCommands
-
setnx
public Long setnx(byte[] key, byte[] value)
- Specified by:
setnxin interfaceBinaryJedisClusterCommands
-
psetex
public String psetex(byte[] key, long milliseconds, byte[] value)
- Specified by:
psetexin interfaceBinaryJedisClusterCommands
-
setex
public String setex(byte[] key, int seconds, byte[] value)
- Specified by:
setexin interfaceBinaryJedisClusterCommands
-
decrBy
public Long decrBy(byte[] key, long decrement)
- Specified by:
decrByin interfaceBinaryJedisClusterCommands
-
decr
public Long decr(byte[] key)
- Specified by:
decrin interfaceBinaryJedisClusterCommands
-
incrBy
public Long incrBy(byte[] key, long increment)
- Specified by:
incrByin interfaceBinaryJedisClusterCommands
-
incrByFloat
public Double incrByFloat(byte[] key, double increment)
- Specified by:
incrByFloatin interfaceBinaryJedisClusterCommands
-
incr
public Long incr(byte[] key)
- Specified by:
incrin interfaceBinaryJedisClusterCommands
-
append
public Long append(byte[] key, byte[] value)
- Specified by:
appendin interfaceBinaryJedisClusterCommands
-
substr
public byte[] substr(byte[] key, int start, int end)- Specified by:
substrin interfaceBinaryJedisClusterCommands
-
hset
public Long hset(byte[] key, byte[] field, byte[] value)
- Specified by:
hsetin interfaceBinaryJedisClusterCommands
-
hset
public Long hset(byte[] key, Map<byte[],byte[]> hash)
- Specified by:
hsetin interfaceBinaryJedisClusterCommands
-
hget
public byte[] hget(byte[] key, byte[] field)- Specified by:
hgetin interfaceBinaryJedisClusterCommands
-
hsetnx
public Long hsetnx(byte[] key, byte[] field, byte[] value)
- Specified by:
hsetnxin interfaceBinaryJedisClusterCommands
-
hmset
public String hmset(byte[] key, Map<byte[],byte[]> hash)
- Specified by:
hmsetin interfaceBinaryJedisClusterCommands
-
hmget
public List<byte[]> hmget(byte[] key, byte[]... fields)
- Specified by:
hmgetin interfaceBinaryJedisClusterCommands
-
hincrBy
public Long hincrBy(byte[] key, byte[] field, long value)
- Specified by:
hincrByin interfaceBinaryJedisClusterCommands
-
hincrByFloat
public Double hincrByFloat(byte[] key, byte[] field, double value)
- Specified by:
hincrByFloatin interfaceBinaryJedisClusterCommands
-
hexists
public Boolean hexists(byte[] key, byte[] field)
- Specified by:
hexistsin interfaceBinaryJedisClusterCommands
-
hdel
public Long hdel(byte[] key, byte[]... field)
- Specified by:
hdelin interfaceBinaryJedisClusterCommands
-
hlen
public Long hlen(byte[] key)
- Specified by:
hlenin interfaceBinaryJedisClusterCommands
-
hkeys
public Set<byte[]> hkeys(byte[] key)
- Specified by:
hkeysin interfaceBinaryJedisClusterCommands
-
hvals
public List<byte[]> hvals(byte[] key)
- Specified by:
hvalsin interfaceBinaryJedisClusterCommands
-
hgetAll
public Map<byte[],byte[]> hgetAll(byte[] key)
- Specified by:
hgetAllin interfaceBinaryJedisClusterCommands
-
rpush
public Long rpush(byte[] key, byte[]... args)
- Specified by:
rpushin interfaceBinaryJedisClusterCommands
-
lpush
public Long lpush(byte[] key, byte[]... args)
- Specified by:
lpushin interfaceBinaryJedisClusterCommands
-
llen
public Long llen(byte[] key)
- Specified by:
llenin interfaceBinaryJedisClusterCommands
-
lrange
public List<byte[]> lrange(byte[] key, long start, long stop)
- Specified by:
lrangein interfaceBinaryJedisClusterCommands
-
ltrim
public String ltrim(byte[] key, long start, long stop)
- Specified by:
ltrimin interfaceBinaryJedisClusterCommands
-
lindex
public byte[] lindex(byte[] key, long index)- Specified by:
lindexin interfaceBinaryJedisClusterCommands
-
lset
public String lset(byte[] key, long index, byte[] value)
- Specified by:
lsetin interfaceBinaryJedisClusterCommands
-
lrem
public Long lrem(byte[] key, long count, byte[] value)
- Specified by:
lremin interfaceBinaryJedisClusterCommands
-
lpop
public byte[] lpop(byte[] key)
- Specified by:
lpopin interfaceBinaryJedisClusterCommands
-
lpop
public List<byte[]> lpop(byte[] key, int count)
- Specified by:
lpopin interfaceBinaryJedisClusterCommands
-
lpos
public Long lpos(byte[] key, byte[] element)
- Specified by:
lposin interfaceBinaryJedisClusterCommands
-
lpos
public Long lpos(byte[] key, byte[] element, LPosParams params)
- Specified by:
lposin interfaceBinaryJedisClusterCommands
-
lpos
public List<Long> lpos(byte[] key, byte[] element, LPosParams params, long count)
- Specified by:
lposin interfaceBinaryJedisClusterCommands
-
rpop
public byte[] rpop(byte[] key)
- Specified by:
rpopin interfaceBinaryJedisClusterCommands
-
rpop
public List<byte[]> rpop(byte[] key, int count)
- Specified by:
rpopin interfaceBinaryJedisClusterCommands
-
sadd
public Long sadd(byte[] key, byte[]... member)
- Specified by:
saddin interfaceBinaryJedisClusterCommands
-
smembers
public Set<byte[]> smembers(byte[] key)
- Specified by:
smembersin interfaceBinaryJedisClusterCommands
-
srem
public Long srem(byte[] key, byte[]... member)
- Specified by:
sremin interfaceBinaryJedisClusterCommands
-
spop
public byte[] spop(byte[] key)
- Specified by:
spopin interfaceBinaryJedisClusterCommands
-
spop
public Set<byte[]> spop(byte[] key, long count)
- Specified by:
spopin interfaceBinaryJedisClusterCommands
-
scard
public Long scard(byte[] key)
- Specified by:
scardin interfaceBinaryJedisClusterCommands
-
sismember
public Boolean sismember(byte[] key, byte[] member)
- Specified by:
sismemberin interfaceBinaryJedisClusterCommands
-
smismember
public List<Boolean> smismember(byte[] key, byte[]... members)
- Specified by:
smismemberin interfaceBinaryJedisClusterCommands
-
srandmember
public byte[] srandmember(byte[] key)
- Specified by:
srandmemberin interfaceBinaryJedisClusterCommands
-
strlen
public Long strlen(byte[] key)
- Specified by:
strlenin interfaceBinaryJedisClusterCommands
-
zadd
public Long zadd(byte[] key, double score, byte[] member)
- Specified by:
zaddin interfaceBinaryJedisClusterCommands
-
zadd
public Long zadd(byte[] key, double score, byte[] member, ZAddParams params)
- Specified by:
zaddin interfaceBinaryJedisClusterCommands
-
zadd
public Long zadd(byte[] key, Map<byte[],Double> scoreMembers)
- Specified by:
zaddin interfaceBinaryJedisClusterCommands
-
zadd
public Long zadd(byte[] key, Map<byte[],Double> scoreMembers, ZAddParams params)
- Specified by:
zaddin interfaceBinaryJedisClusterCommands
-
zrange
public Set<byte[]> zrange(byte[] key, long start, long stop)
- Specified by:
zrangein interfaceBinaryJedisClusterCommands
-
zrem
public Long zrem(byte[] key, byte[]... members)
- Specified by:
zremin interfaceBinaryJedisClusterCommands
-
zincrby
public Double zincrby(byte[] key, double increment, byte[] member)
- Specified by:
zincrbyin interfaceBinaryJedisClusterCommands
-
zincrby
public Double zincrby(byte[] key, double increment, byte[] member, ZIncrByParams params)
- Specified by:
zincrbyin interfaceBinaryJedisClusterCommands
-
zrank
public Long zrank(byte[] key, byte[] member)
- Specified by:
zrankin interfaceBinaryJedisClusterCommands
-
zrevrank
public Long zrevrank(byte[] key, byte[] member)
- Specified by:
zrevrankin interfaceBinaryJedisClusterCommands
-
zrevrange
public Set<byte[]> zrevrange(byte[] key, long start, long stop)
- Specified by:
zrevrangein interfaceBinaryJedisClusterCommands
-
zrangeWithScores
public Set<Tuple> zrangeWithScores(byte[] key, long start, long stop)
- Specified by:
zrangeWithScoresin interfaceBinaryJedisClusterCommands
-
zrevrangeWithScores
public Set<Tuple> zrevrangeWithScores(byte[] key, long start, long stop)
- Specified by:
zrevrangeWithScoresin interfaceBinaryJedisClusterCommands
-
zcard
public Long zcard(byte[] key)
- Specified by:
zcardin interfaceBinaryJedisClusterCommands
-
zscore
public Double zscore(byte[] key, byte[] member)
- Specified by:
zscorein interfaceBinaryJedisClusterCommands
-
zmscore
public List<Double> zmscore(byte[] key, byte[]... members)
- Specified by:
zmscorein interfaceBinaryJedisClusterCommands
-
zpopmax
public Tuple zpopmax(byte[] key)
- Specified by:
zpopmaxin interfaceBinaryJedisClusterCommands
-
zpopmax
public Set<Tuple> zpopmax(byte[] key, int count)
- Specified by:
zpopmaxin interfaceBinaryJedisClusterCommands
-
zpopmin
public Tuple zpopmin(byte[] key)
- Specified by:
zpopminin interfaceBinaryJedisClusterCommands
-
zpopmin
public Set<Tuple> zpopmin(byte[] key, int count)
- Specified by:
zpopminin interfaceBinaryJedisClusterCommands
-
sort
public List<byte[]> sort(byte[] key)
- Specified by:
sortin interfaceBinaryJedisClusterCommands
-
sort
public List<byte[]> sort(byte[] key, SortingParams sortingParameters)
- Specified by:
sortin interfaceBinaryJedisClusterCommands
-
zcount
public Long zcount(byte[] key, double min, double max)
- Specified by:
zcountin interfaceBinaryJedisClusterCommands
-
zcount
public Long zcount(byte[] key, byte[] min, byte[] max)
- Specified by:
zcountin interfaceBinaryJedisClusterCommands
-
zrangeByScore
public Set<byte[]> zrangeByScore(byte[] key, double min, double max)
- Specified by:
zrangeByScorein interfaceBinaryJedisClusterCommands
-
zrangeByScore
public Set<byte[]> zrangeByScore(byte[] key, byte[] min, byte[] max)
- Specified by:
zrangeByScorein interfaceBinaryJedisClusterCommands
-
zrevrangeByScore
public Set<byte[]> zrevrangeByScore(byte[] key, double max, double min)
- Specified by:
zrevrangeByScorein interfaceBinaryJedisClusterCommands
-
zrangeByScore
public Set<byte[]> zrangeByScore(byte[] key, double min, double max, int offset, int count)
- Specified by:
zrangeByScorein interfaceBinaryJedisClusterCommands
-
zrevrangeByScore
public Set<byte[]> zrevrangeByScore(byte[] key, byte[] max, byte[] min)
- Specified by:
zrevrangeByScorein interfaceBinaryJedisClusterCommands
-
zrangeByScore
public Set<byte[]> zrangeByScore(byte[] key, byte[] min, byte[] max, int offset, int count)
- Specified by:
zrangeByScorein interfaceBinaryJedisClusterCommands
-
zrevrangeByScore
public Set<byte[]> zrevrangeByScore(byte[] key, double max, double min, int offset, int count)
- Specified by:
zrevrangeByScorein interfaceBinaryJedisClusterCommands
-
zrangeByScoreWithScores
public Set<Tuple> zrangeByScoreWithScores(byte[] key, double min, double max)
- Specified by:
zrangeByScoreWithScoresin interfaceBinaryJedisClusterCommands
-
zrevrangeByScoreWithScores
public Set<Tuple> zrevrangeByScoreWithScores(byte[] key, double max, double min)
- Specified by:
zrevrangeByScoreWithScoresin interfaceBinaryJedisClusterCommands
-
zrangeByScoreWithScores
public Set<Tuple> zrangeByScoreWithScores(byte[] key, double min, double max, int offset, int count)
- Specified by:
zrangeByScoreWithScoresin interfaceBinaryJedisClusterCommands
-
zrevrangeByScore
public Set<byte[]> zrevrangeByScore(byte[] key, byte[] max, byte[] min, int offset, int count)
- Specified by:
zrevrangeByScorein interfaceBinaryJedisClusterCommands
-
zrangeByScoreWithScores
public Set<Tuple> zrangeByScoreWithScores(byte[] key, byte[] min, byte[] max)
- Specified by:
zrangeByScoreWithScoresin interfaceBinaryJedisClusterCommands
-
zrevrangeByScoreWithScores
public Set<Tuple> zrevrangeByScoreWithScores(byte[] key, byte[] max, byte[] min)
- Specified by:
zrevrangeByScoreWithScoresin interfaceBinaryJedisClusterCommands
-
zrangeByScoreWithScores
public Set<Tuple> zrangeByScoreWithScores(byte[] key, byte[] min, byte[] max, int offset, int count)
- Specified by:
zrangeByScoreWithScoresin interfaceBinaryJedisClusterCommands
-
zrevrangeByScoreWithScores
public Set<Tuple> zrevrangeByScoreWithScores(byte[] key, double max, double min, int offset, int count)
- Specified by:
zrevrangeByScoreWithScoresin interfaceBinaryJedisClusterCommands
-
zrevrangeByScoreWithScores
public Set<Tuple> zrevrangeByScoreWithScores(byte[] key, byte[] max, byte[] min, int offset, int count)
- Specified by:
zrevrangeByScoreWithScoresin interfaceBinaryJedisClusterCommands
-
zremrangeByRank
public Long zremrangeByRank(byte[] key, long start, long stop)
- Specified by:
zremrangeByRankin interfaceBinaryJedisClusterCommands
-
zremrangeByScore
public Long zremrangeByScore(byte[] key, double min, double max)
- Specified by:
zremrangeByScorein interfaceBinaryJedisClusterCommands
-
zremrangeByScore
public Long zremrangeByScore(byte[] key, byte[] min, byte[] max)
- Specified by:
zremrangeByScorein interfaceBinaryJedisClusterCommands
-
linsert
public Long linsert(byte[] key, ListPosition where, byte[] pivot, byte[] value)
- Specified by:
linsertin interfaceBinaryJedisClusterCommands
-
lpushx
public Long lpushx(byte[] key, byte[]... arg)
- Specified by:
lpushxin interfaceBinaryJedisClusterCommands
-
rpushx
public Long rpushx(byte[] key, byte[]... arg)
- Specified by:
rpushxin interfaceBinaryJedisClusterCommands
-
del
public Long del(byte[] key)
- Specified by:
delin interfaceBinaryJedisClusterCommands
-
unlink
public Long unlink(byte[] key)
- Specified by:
unlinkin interfaceBinaryJedisClusterCommands
-
unlink
public Long unlink(byte[]... keys)
- Specified by:
unlinkin interfaceMultiKeyBinaryJedisClusterCommands
-
echo
public byte[] echo(byte[] arg)
- Specified by:
echoin interfaceBinaryJedisClusterCommands
-
bitcount
public Long bitcount(byte[] key)
- Specified by:
bitcountin interfaceBinaryJedisClusterCommands
-
bitcount
public Long bitcount(byte[] key, long start, long end)
- Specified by:
bitcountin interfaceBinaryJedisClusterCommands
-
pfadd
public Long pfadd(byte[] key, byte[]... elements)
- Specified by:
pfaddin interfaceBinaryJedisClusterCommands
-
pfcount
public long pfcount(byte[] key)
- Specified by:
pfcountin interfaceBinaryJedisClusterCommands
-
srandmember
public List<byte[]> srandmember(byte[] key, int count)
- Specified by:
srandmemberin interfaceBinaryJedisClusterCommands
-
zlexcount
public Long zlexcount(byte[] key, byte[] min, byte[] max)
- Specified by:
zlexcountin interfaceBinaryJedisClusterCommands
-
zrangeByLex
public Set<byte[]> zrangeByLex(byte[] key, byte[] min, byte[] max)
- Specified by:
zrangeByLexin interfaceBinaryJedisClusterCommands
-
zrangeByLex
public Set<byte[]> zrangeByLex(byte[] key, byte[] min, byte[] max, int offset, int count)
- Specified by:
zrangeByLexin interfaceBinaryJedisClusterCommands
-
zrevrangeByLex
public Set<byte[]> zrevrangeByLex(byte[] key, byte[] max, byte[] min)
- Specified by:
zrevrangeByLexin interfaceBinaryJedisClusterCommands
-
zrevrangeByLex
public Set<byte[]> zrevrangeByLex(byte[] key, byte[] max, byte[] min, int offset, int count)
- Specified by:
zrevrangeByLexin interfaceBinaryJedisClusterCommands
-
zremrangeByLex
public Long zremrangeByLex(byte[] key, byte[] min, byte[] max)
- Specified by:
zremrangeByLexin interfaceBinaryJedisClusterCommands
-
eval
public Object eval(byte[] script, byte[] keyCount, byte[]... params)
- Specified by:
evalin interfaceJedisClusterBinaryScriptingCommands
-
eval
public Object eval(byte[] script, int keyCount, byte[]... params)
- Specified by:
evalin interfaceJedisClusterBinaryScriptingCommands
-
eval
public Object eval(byte[] script, List<byte[]> keys, List<byte[]> args)
- Specified by:
evalin interfaceJedisClusterBinaryScriptingCommands
-
eval
public Object eval(byte[] script, byte[] sampleKey)
- Specified by:
evalin interfaceJedisClusterBinaryScriptingCommandssampleKey- 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:
evalshain interfaceJedisClusterBinaryScriptingCommandssampleKey- 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:
evalshain interfaceJedisClusterBinaryScriptingCommands
-
evalsha
public Object evalsha(byte[] sha1, int keyCount, byte[]... params)
- Specified by:
evalshain interfaceJedisClusterBinaryScriptingCommands
-
scriptExists
public List<Long> scriptExists(byte[] sampleKey, byte[]... sha1)
- Specified by:
scriptExistsin 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:
scriptLoadin interfaceJedisClusterBinaryScriptingCommandssampleKey- 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:
scriptFlushin 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:
scriptKillin 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:
delin interfaceMultiKeyBinaryJedisClusterCommands
-
blpop
public List<byte[]> blpop(int timeout, byte[]... keys)
- Specified by:
blpopin interfaceMultiKeyBinaryJedisClusterCommands
-
brpop
public List<byte[]> brpop(int timeout, byte[]... keys)
- Specified by:
brpopin interfaceMultiKeyBinaryJedisClusterCommands
-
mget
public List<byte[]> mget(byte[]... keys)
- Specified by:
mgetin interfaceMultiKeyBinaryJedisClusterCommands
-
mset
public String mset(byte[]... keysvalues)
- Specified by:
msetin interfaceMultiKeyBinaryJedisClusterCommands
-
msetnx
public Long msetnx(byte[]... keysvalues)
- Specified by:
msetnxin interfaceMultiKeyBinaryJedisClusterCommands
-
rename
public String rename(byte[] oldkey, byte[] newkey)
- Specified by:
renamein interfaceMultiKeyBinaryJedisClusterCommands
-
renamenx
public Long renamenx(byte[] oldkey, byte[] newkey)
- Specified by:
renamenxin interfaceMultiKeyBinaryJedisClusterCommands
-
rpoplpush
public byte[] rpoplpush(byte[] srckey, byte[] dstkey)- Specified by:
rpoplpushin interfaceMultiKeyBinaryJedisClusterCommands
-
sdiff
public Set<byte[]> sdiff(byte[]... keys)
- Specified by:
sdiffin interfaceMultiKeyBinaryJedisClusterCommands
-
sdiffstore
public Long sdiffstore(byte[] dstkey, byte[]... keys)
- Specified by:
sdiffstorein interfaceMultiKeyBinaryJedisClusterCommands
-
sinter
public Set<byte[]> sinter(byte[]... keys)
- Specified by:
sinterin interfaceMultiKeyBinaryJedisClusterCommands
-
sinterstore
public Long sinterstore(byte[] dstkey, byte[]... keys)
- Specified by:
sinterstorein interfaceMultiKeyBinaryJedisClusterCommands
-
smove
public Long smove(byte[] srckey, byte[] dstkey, byte[] member)
- Specified by:
smovein interfaceMultiKeyBinaryJedisClusterCommands
-
sort
public Long sort(byte[] key, SortingParams sortingParameters, byte[] dstkey)
- Specified by:
sortin interfaceMultiKeyBinaryJedisClusterCommands
-
sort
public Long sort(byte[] key, byte[] dstkey)
- Specified by:
sortin interfaceMultiKeyBinaryJedisClusterCommands
-
sunion
public Set<byte[]> sunion(byte[]... keys)
- Specified by:
sunionin interfaceMultiKeyBinaryJedisClusterCommands
-
sunionstore
public Long sunionstore(byte[] dstkey, byte[]... keys)
- Specified by:
sunionstorein interfaceMultiKeyBinaryJedisClusterCommands
-
zinterstore
public Long zinterstore(byte[] dstkey, byte[]... sets)
- Specified by:
zinterstorein interfaceMultiKeyBinaryJedisClusterCommands
-
zinterstore
public Long zinterstore(byte[] dstkey, ZParams params, byte[]... sets)
- Specified by:
zinterstorein interfaceMultiKeyBinaryJedisClusterCommands
-
zunionstore
public Long zunionstore(byte[] dstkey, byte[]... sets)
- Specified by:
zunionstorein interfaceMultiKeyBinaryJedisClusterCommands
-
zunionstore
public Long zunionstore(byte[] dstkey, ZParams params, byte[]... sets)
- Specified by:
zunionstorein interfaceMultiKeyBinaryJedisClusterCommands
-
brpoplpush
public byte[] brpoplpush(byte[] source, byte[] destination, int timeout)- Specified by:
brpoplpushin interfaceMultiKeyBinaryJedisClusterCommands
-
publish
public Long publish(byte[] channel, byte[] message)
- Specified by:
publishin interfaceMultiKeyBinaryJedisClusterCommands
-
subscribe
public void subscribe(BinaryJedisPubSub jedisPubSub, byte[]... channels)
- Specified by:
subscribein interfaceMultiKeyBinaryJedisClusterCommands
-
psubscribe
public void psubscribe(BinaryJedisPubSub jedisPubSub, byte[]... patterns)
- Specified by:
psubscribein interfaceMultiKeyBinaryJedisClusterCommands
-
bitop
public Long bitop(BitOP op, byte[] destKey, byte[]... srcKeys)
- Specified by:
bitopin interfaceMultiKeyBinaryJedisClusterCommands
-
pfmerge
public String pfmerge(byte[] destkey, byte[]... sourcekeys)
- Specified by:
pfmergein interfaceMultiKeyBinaryJedisClusterCommands
-
pfcount
public Long pfcount(byte[]... keys)
- Specified by:
pfcountin interfaceMultiKeyBinaryJedisClusterCommands
-
geoadd
public Long geoadd(byte[] key, double longitude, double latitude, byte[] member)
- Specified by:
geoaddin interfaceBinaryJedisClusterCommands
-
geoadd
public Long geoadd(byte[] key, Map<byte[],GeoCoordinate> memberCoordinateMap)
- Specified by:
geoaddin interfaceBinaryJedisClusterCommands
-
geodist
public Double geodist(byte[] key, byte[] member1, byte[] member2)
- Specified by:
geodistin interfaceBinaryJedisClusterCommands
-
geodist
public Double geodist(byte[] key, byte[] member1, byte[] member2, GeoUnit unit)
- Specified by:
geodistin interfaceBinaryJedisClusterCommands
-
geohash
public List<byte[]> geohash(byte[] key, byte[]... members)
- Specified by:
geohashin interfaceBinaryJedisClusterCommands
-
geopos
public List<GeoCoordinate> geopos(byte[] key, byte[]... members)
- Specified by:
geoposin interfaceBinaryJedisClusterCommands
-
georadius
public List<GeoRadiusResponse> georadius(byte[] key, double longitude, double latitude, double radius, GeoUnit unit)
- Specified by:
georadiusin interfaceBinaryJedisClusterCommands
-
georadiusReadonly
public List<GeoRadiusResponse> georadiusReadonly(byte[] key, double longitude, double latitude, double radius, GeoUnit unit)
- Specified by:
georadiusReadonlyin interfaceBinaryJedisClusterCommands
-
georadius
public List<GeoRadiusResponse> georadius(byte[] key, double longitude, double latitude, double radius, GeoUnit unit, GeoRadiusParam param)
- Specified by:
georadiusin interfaceBinaryJedisClusterCommands
-
georadiusStore
public Long georadiusStore(byte[] key, double longitude, double latitude, double radius, GeoUnit unit, GeoRadiusParam param, GeoRadiusStoreParam storeParam)
- Specified by:
georadiusStorein interfaceMultiKeyBinaryJedisClusterCommands
-
georadiusReadonly
public List<GeoRadiusResponse> georadiusReadonly(byte[] key, double longitude, double latitude, double radius, GeoUnit unit, GeoRadiusParam param)
- Specified by:
georadiusReadonlyin interfaceBinaryJedisClusterCommands
-
georadiusByMember
public List<GeoRadiusResponse> georadiusByMember(byte[] key, byte[] member, double radius, GeoUnit unit)
- Specified by:
georadiusByMemberin interfaceBinaryJedisClusterCommands
-
georadiusByMemberReadonly
public List<GeoRadiusResponse> georadiusByMemberReadonly(byte[] key, byte[] member, double radius, GeoUnit unit)
- Specified by:
georadiusByMemberReadonlyin interfaceBinaryJedisClusterCommands
-
georadiusByMember
public List<GeoRadiusResponse> georadiusByMember(byte[] key, byte[] member, double radius, GeoUnit unit, GeoRadiusParam param)
- Specified by:
georadiusByMemberin interfaceBinaryJedisClusterCommands
-
georadiusByMemberStore
public Long georadiusByMemberStore(byte[] key, byte[] member, double radius, GeoUnit unit, GeoRadiusParam param, GeoRadiusStoreParam storeParam)
- Specified by:
georadiusByMemberStorein interfaceMultiKeyBinaryJedisClusterCommands
-
georadiusByMemberReadonly
public List<GeoRadiusResponse> georadiusByMemberReadonly(byte[] key, byte[] member, double radius, GeoUnit unit, GeoRadiusParam param)
- Specified by:
georadiusByMemberReadonlyin interfaceBinaryJedisClusterCommands
-
keys
public Set<byte[]> keys(byte[] pattern)
- Specified by:
keysin interfaceMultiKeyBinaryJedisClusterCommands
-
scan
public ScanResult<byte[]> scan(byte[] cursor, ScanParams params)
- Specified by:
scanin interfaceMultiKeyBinaryJedisClusterCommands
-
hscan
public ScanResult<Map.Entry<byte[],byte[]>> hscan(byte[] key, byte[] cursor)
- Specified by:
hscanin interfaceBinaryJedisClusterCommands
-
hscan
public ScanResult<Map.Entry<byte[],byte[]>> hscan(byte[] key, byte[] cursor, ScanParams params)
- Specified by:
hscanin interfaceBinaryJedisClusterCommands
-
sscan
public ScanResult<byte[]> sscan(byte[] key, byte[] cursor)
- Specified by:
sscanin interfaceBinaryJedisClusterCommands
-
sscan
public ScanResult<byte[]> sscan(byte[] key, byte[] cursor, ScanParams params)
- Specified by:
sscanin interfaceBinaryJedisClusterCommands
-
zscan
public ScanResult<Tuple> zscan(byte[] key, byte[] cursor)
- Specified by:
zscanin interfaceBinaryJedisClusterCommands
-
zscan
public ScanResult<Tuple> zscan(byte[] key, byte[] cursor, ScanParams params)
- Specified by:
zscanin interfaceBinaryJedisClusterCommands
-
bitfield
public List<Long> bitfield(byte[] key, byte[]... arguments)
Description copied from interface:BinaryJedisClusterCommandsExecutes BITFIELD Redis command- Specified by:
bitfieldin interfaceBinaryJedisClusterCommands- Returns:
-
bitfieldReadonly
public List<Long> bitfieldReadonly(byte[] key, byte[]... arguments)
- Specified by:
bitfieldReadonlyin interfaceBinaryJedisClusterCommands
-
hstrlen
public Long hstrlen(byte[] key, byte[] field)
Description copied from interface:BinaryJedisClusterCommandsUsed for HSTRLEN Redis command- Specified by:
hstrlenin interfaceBinaryJedisClusterCommands- Returns:
-
memoryUsage
public Long memoryUsage(byte[] key)
- Specified by:
memoryUsagein interfaceBinaryJedisClusterCommands
-
memoryUsage
public Long memoryUsage(byte[] key, int samples)
- Specified by:
memoryUsagein interfaceBinaryJedisClusterCommands
-
xadd
public byte[] xadd(byte[] key, byte[] id, Map<byte[],byte[]> hash, long maxLen, boolean approximateLength)- Specified by:
xaddin interfaceBinaryJedisClusterCommands
-
xlen
public Long xlen(byte[] key)
- Specified by:
xlenin interfaceBinaryJedisClusterCommands
-
xrange
public List<byte[]> xrange(byte[] key, byte[] start, byte[] end, long count)
- Specified by:
xrangein interfaceBinaryJedisClusterCommands
-
xrevrange
public List<byte[]> xrevrange(byte[] key, byte[] end, byte[] start, int count)
- Specified by:
xrevrangein interfaceBinaryJedisClusterCommands
-
xread
public List<byte[]> xread(int count, long block, Map<byte[],byte[]> streams)
- Specified by:
xreadin interfaceMultiKeyBinaryJedisClusterCommands
-
xack
public Long xack(byte[] key, byte[] group, byte[]... ids)
- Specified by:
xackin interfaceBinaryJedisClusterCommands
-
xgroupCreate
public String xgroupCreate(byte[] key, byte[] consumer, byte[] id, boolean makeStream)
- Specified by:
xgroupCreatein interfaceBinaryJedisClusterCommands
-
xgroupSetID
public String xgroupSetID(byte[] key, byte[] consumer, byte[] id)
- Specified by:
xgroupSetIDin interfaceBinaryJedisClusterCommands
-
xgroupDestroy
public Long xgroupDestroy(byte[] key, byte[] consumer)
- Specified by:
xgroupDestroyin interfaceBinaryJedisClusterCommands
-
xgroupDelConsumer
public Long xgroupDelConsumer(byte[] key, byte[] consumer, byte[] consumerName)
- Specified by:
xgroupDelConsumerin interfaceBinaryJedisClusterCommands
-
xreadGroup
public List<byte[]> xreadGroup(byte[] groupname, byte[] consumer, int count, long block, boolean noAck, Map<byte[],byte[]> streams)
- Specified by:
xreadGroupin interfaceMultiKeyBinaryJedisClusterCommands
-
xdel
public Long xdel(byte[] key, byte[]... ids)
- Specified by:
xdelin interfaceBinaryJedisClusterCommands
-
xtrim
public Long xtrim(byte[] key, long maxLen, boolean approximateLength)
- Specified by:
xtrimin interfaceBinaryJedisClusterCommands
-
xpending
public List<byte[]> xpending(byte[] key, byte[] groupname, byte[] start, byte[] end, int count, byte[] consumername)
- Specified by:
xpendingin interfaceBinaryJedisClusterCommands
-
xclaim
public List<byte[]> xclaim(byte[] key, byte[] groupname, byte[] consumername, long minIdleTime, long newIdleTime, int retries, boolean force, byte[][] ids)
- Specified by:
xclaimin interfaceBinaryJedisClusterCommands
-
waitReplicas
public Long waitReplicas(byte[] key, int replicas, long timeout)
- Specified by:
waitReplicasin interfaceBinaryJedisClusterCommands
-
sendCommand
public Object sendCommand(byte[] sampleKey, ProtocolCommand cmd, byte[]... args)
-
sendBlockingCommand
public Object sendBlockingCommand(byte[] sampleKey, ProtocolCommand cmd, byte[]... args)
-
-