public class BinaryJedisCluster extends Object implements BinaryJedisClusterCommands, MultiKeyBinaryJedisClusterCommands, JedisClusterBinaryScriptingCommands, Closeable
Modifier and Type | Field and Description |
---|---|
protected JedisClusterConnectionHandler |
connectionHandler |
protected static int |
DEFAULT_MAX_REDIRECTIONS |
protected static int |
DEFAULT_TIMEOUT |
static short |
HASHSLOTS |
protected int |
maxRedirections |
Constructor and Description |
---|
BinaryJedisCluster(Set<HostAndPort> nodes) |
BinaryJedisCluster(Set<HostAndPort> nodes,
int timeout) |
BinaryJedisCluster(Set<HostAndPort> jedisClusterNode,
int timeout,
int maxRedirections,
org.apache.commons.pool2.impl.GenericObjectPoolConfig poolConfig) |
BinaryJedisCluster(Set<HostAndPort> jedisClusterNode,
int connectionTimeout,
int soTimeout,
int maxRedirections,
org.apache.commons.pool2.impl.GenericObjectPoolConfig poolConfig) |
Modifier and Type | Method and Description |
---|---|
Long |
append(byte[] key,
byte[] value) |
Long |
bitcount(byte[] key) |
Long |
bitcount(byte[] key,
long start,
long end) |
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 integer) |
Long |
del(byte[]... keys) |
Long |
del(byte[] key) |
byte[] |
echo(byte[] arg) |
Object |
eval(byte[] script,
byte[] key) |
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[] script,
byte[] key) |
Object |
evalsha(byte[] sha1,
int keyCount,
byte[]... params) |
Object |
evalsha(byte[] sha1,
List<byte[]> keys,
List<byte[]> args) |
Boolean |
exists(byte[] key) |
Long |
expire(byte[] key,
int seconds) |
Long |
expireAt(byte[] key,
long unixTime) |
byte[] |
get(byte[] key) |
Boolean |
getbit(byte[] key,
long offset) |
Map<String,JedisPool> |
getClusterNodes() |
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) |
Long |
hset(byte[] key,
byte[] field,
byte[] value) |
Long |
hsetnx(byte[] key,
byte[] field,
byte[] value) |
Collection<byte[]> |
hvals(byte[] key) |
Long |
incr(byte[] key) |
Long |
incrBy(byte[] key,
long integer) |
Double |
incrByFloat(byte[] key,
double value) |
byte[] |
lindex(byte[] key,
long index) |
Long |
linsert(byte[] key,
BinaryClient.LIST_POSITION where,
byte[] pivot,
byte[] value) |
Long |
llen(byte[] key) |
byte[] |
lpop(byte[] key) |
Long |
lpush(byte[] key,
byte[]... args) |
Long |
lpushx(byte[] key,
byte[]... arg) |
List<byte[]> |
lrange(byte[] key,
long start,
long end) |
Long |
lrem(byte[] key,
long count,
byte[] value) |
String |
lset(byte[] key,
long index,
byte[] value) |
String |
ltrim(byte[] key,
long start,
long end) |
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[]... keys) |
long |
pfcount(byte[] key) |
String |
pfmerge(byte[] destkey,
byte[]... sourcekeys) |
void |
psubscribe(BinaryJedisPubSub jedisPubSub,
byte[]... patterns) |
Long |
publish(byte[] channel,
byte[] message) |
String |
rename(byte[] oldkey,
byte[] newkey) |
Long |
renamenx(byte[] oldkey,
byte[] newkey) |
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) |
Long |
scard(byte[] key) |
List<Long> |
scriptExists(byte[] key,
byte[][] sha1) |
String |
scriptFlush(byte[] key) |
String |
scriptKill(byte[] key) |
byte[] |
scriptLoad(byte[] script,
byte[] key) |
Set<byte[]> |
sdiff(byte[]... keys) |
Long |
sdiffstore(byte[] dstkey,
byte[]... keys) |
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) |
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) |
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 |
ttl(byte[] key) |
String |
type(byte[] key) |
Long |
zadd(byte[] key,
double score,
byte[] member) |
Long |
zadd(byte[] key,
Map<byte[],Double> scoreMembers) |
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 score,
byte[] member) |
Long |
zinterstore(byte[] dstkey,
byte[]... sets) |
Long |
zinterstore(byte[] dstkey,
ZParams params,
byte[]... sets) |
Long |
zlexcount(byte[] key,
byte[] min,
byte[] max) |
Set<byte[]> |
zrange(byte[] key,
long start,
long end) |
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 end) |
Long |
zrank(byte[] key,
byte[] member) |
Long |
zrem(byte[] key,
byte[]... member) |
Long |
zremrangeByLex(byte[] key,
byte[] min,
byte[] max) |
Long |
zremrangeByRank(byte[] key,
long start,
long end) |
Long |
zremrangeByScore(byte[] key,
byte[] start,
byte[] end) |
Long |
zremrangeByScore(byte[] key,
double start,
double end) |
Set<byte[]> |
zrevrange(byte[] key,
long start,
long end) |
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 end) |
Long |
zrevrank(byte[] key,
byte[] member) |
Double |
zscore(byte[] key,
byte[] member) |
Long |
zunionstore(byte[] dstkey,
byte[]... sets) |
Long |
zunionstore(byte[] dstkey,
ZParams params,
byte[]... sets) |
public static final short HASHSLOTS
protected static final int DEFAULT_TIMEOUT
protected static final int DEFAULT_MAX_REDIRECTIONS
protected int maxRedirections
protected JedisClusterConnectionHandler connectionHandler
public BinaryJedisCluster(Set<HostAndPort> nodes, int timeout)
public BinaryJedisCluster(Set<HostAndPort> nodes)
public BinaryJedisCluster(Set<HostAndPort> jedisClusterNode, int timeout, int maxRedirections, org.apache.commons.pool2.impl.GenericObjectPoolConfig poolConfig)
public BinaryJedisCluster(Set<HostAndPort> jedisClusterNode, int connectionTimeout, int soTimeout, int maxRedirections, org.apache.commons.pool2.impl.GenericObjectPoolConfig poolConfig)
public void close()
close
in interface Closeable
close
in interface AutoCloseable
public String set(byte[] key, byte[] value)
set
in interface BinaryJedisClusterCommands
public String set(byte[] key, byte[] value, SetParams params)
set
in interface BinaryJedisClusterCommands
public byte[] get(byte[] key)
get
in interface BinaryJedisClusterCommands
public Boolean exists(byte[] key)
exists
in interface BinaryJedisClusterCommands
public Long persist(byte[] key)
persist
in interface BinaryJedisClusterCommands
public String type(byte[] key)
type
in interface BinaryJedisClusterCommands
public Long expire(byte[] key, int seconds)
expire
in interface BinaryJedisClusterCommands
public Long pexpire(byte[] key, long milliseconds)
pexpire
in interface BinaryJedisClusterCommands
public Long expireAt(byte[] key, long unixTime)
expireAt
in interface BinaryJedisClusterCommands
public Long pexpireAt(byte[] key, long millisecondsTimestamp)
pexpireAt
in interface BinaryJedisClusterCommands
public Long ttl(byte[] key)
ttl
in interface BinaryJedisClusterCommands
public Boolean setbit(byte[] key, long offset, boolean value)
setbit
in interface BinaryJedisClusterCommands
public Boolean setbit(byte[] key, long offset, byte[] value)
setbit
in interface BinaryJedisClusterCommands
public Boolean getbit(byte[] key, long offset)
getbit
in interface BinaryJedisClusterCommands
public Long setrange(byte[] key, long offset, byte[] value)
setrange
in interface BinaryJedisClusterCommands
public byte[] getrange(byte[] key, long startOffset, long endOffset)
getrange
in interface BinaryJedisClusterCommands
public byte[] getSet(byte[] key, byte[] value)
getSet
in interface BinaryJedisClusterCommands
public Long setnx(byte[] key, byte[] value)
setnx
in interface BinaryJedisClusterCommands
public String setex(byte[] key, int seconds, byte[] value)
setex
in interface BinaryJedisClusterCommands
public Long decrBy(byte[] key, long integer)
decrBy
in interface BinaryJedisClusterCommands
public Long decr(byte[] key)
decr
in interface BinaryJedisClusterCommands
public Long incrBy(byte[] key, long integer)
incrBy
in interface BinaryJedisClusterCommands
public Double incrByFloat(byte[] key, double value)
incrByFloat
in interface BinaryJedisClusterCommands
public Long incr(byte[] key)
incr
in interface BinaryJedisClusterCommands
public Long append(byte[] key, byte[] value)
append
in interface BinaryJedisClusterCommands
public byte[] substr(byte[] key, int start, int end)
substr
in interface BinaryJedisClusterCommands
public Long hset(byte[] key, byte[] field, byte[] value)
hset
in interface BinaryJedisClusterCommands
public byte[] hget(byte[] key, byte[] field)
hget
in interface BinaryJedisClusterCommands
public Long hsetnx(byte[] key, byte[] field, byte[] value)
hsetnx
in interface BinaryJedisClusterCommands
public String hmset(byte[] key, Map<byte[],byte[]> hash)
hmset
in interface BinaryJedisClusterCommands
public List<byte[]> hmget(byte[] key, byte[]... fields)
hmget
in interface BinaryJedisClusterCommands
public Long hincrBy(byte[] key, byte[] field, long value)
hincrBy
in interface BinaryJedisClusterCommands
public Double hincrByFloat(byte[] key, byte[] field, double value)
hincrByFloat
in interface BinaryJedisClusterCommands
public Boolean hexists(byte[] key, byte[] field)
hexists
in interface BinaryJedisClusterCommands
public Long hdel(byte[] key, byte[]... field)
hdel
in interface BinaryJedisClusterCommands
public Long hlen(byte[] key)
hlen
in interface BinaryJedisClusterCommands
public Set<byte[]> hkeys(byte[] key)
hkeys
in interface BinaryJedisClusterCommands
public Collection<byte[]> hvals(byte[] key)
hvals
in interface BinaryJedisClusterCommands
public Map<byte[],byte[]> hgetAll(byte[] key)
hgetAll
in interface BinaryJedisClusterCommands
public Long rpush(byte[] key, byte[]... args)
rpush
in interface BinaryJedisClusterCommands
public Long lpush(byte[] key, byte[]... args)
lpush
in interface BinaryJedisClusterCommands
public Long llen(byte[] key)
llen
in interface BinaryJedisClusterCommands
public List<byte[]> lrange(byte[] key, long start, long end)
lrange
in interface BinaryJedisClusterCommands
public String ltrim(byte[] key, long start, long end)
ltrim
in interface BinaryJedisClusterCommands
public byte[] lindex(byte[] key, long index)
lindex
in interface BinaryJedisClusterCommands
public String lset(byte[] key, long index, byte[] value)
lset
in interface BinaryJedisClusterCommands
public Long lrem(byte[] key, long count, byte[] value)
lrem
in interface BinaryJedisClusterCommands
public byte[] lpop(byte[] key)
lpop
in interface BinaryJedisClusterCommands
public byte[] rpop(byte[] key)
rpop
in interface BinaryJedisClusterCommands
public Long sadd(byte[] key, byte[]... member)
sadd
in interface BinaryJedisClusterCommands
public Set<byte[]> smembers(byte[] key)
smembers
in interface BinaryJedisClusterCommands
public Long srem(byte[] key, byte[]... member)
srem
in interface BinaryJedisClusterCommands
public byte[] spop(byte[] key)
spop
in interface BinaryJedisClusterCommands
public Set<byte[]> spop(byte[] key, long count)
spop
in interface BinaryJedisClusterCommands
public Long scard(byte[] key)
scard
in interface BinaryJedisClusterCommands
public Boolean sismember(byte[] key, byte[] member)
sismember
in interface BinaryJedisClusterCommands
public byte[] srandmember(byte[] key)
srandmember
in interface BinaryJedisClusterCommands
public Long strlen(byte[] key)
strlen
in interface BinaryJedisClusterCommands
public Long zadd(byte[] key, double score, byte[] member)
zadd
in interface BinaryJedisClusterCommands
public Long zadd(byte[] key, Map<byte[],Double> scoreMembers)
zadd
in interface BinaryJedisClusterCommands
public Set<byte[]> zrange(byte[] key, long start, long end)
zrange
in interface BinaryJedisClusterCommands
public Long zrem(byte[] key, byte[]... member)
zrem
in interface BinaryJedisClusterCommands
public Double zincrby(byte[] key, double score, byte[] member)
zincrby
in interface BinaryJedisClusterCommands
public Long zrank(byte[] key, byte[] member)
zrank
in interface BinaryJedisClusterCommands
public Long zrevrank(byte[] key, byte[] member)
zrevrank
in interface BinaryJedisClusterCommands
public Set<byte[]> zrevrange(byte[] key, long start, long end)
zrevrange
in interface BinaryJedisClusterCommands
public Set<Tuple> zrangeWithScores(byte[] key, long start, long end)
zrangeWithScores
in interface BinaryJedisClusterCommands
public Set<Tuple> zrevrangeWithScores(byte[] key, long start, long end)
zrevrangeWithScores
in interface BinaryJedisClusterCommands
public Long zcard(byte[] key)
zcard
in interface BinaryJedisClusterCommands
public Double zscore(byte[] key, byte[] member)
zscore
in interface BinaryJedisClusterCommands
public List<byte[]> sort(byte[] key)
sort
in interface BinaryJedisClusterCommands
public List<byte[]> sort(byte[] key, SortingParams sortingParameters)
sort
in interface BinaryJedisClusterCommands
public Long zcount(byte[] key, double min, double max)
zcount
in interface BinaryJedisClusterCommands
public Long zcount(byte[] key, byte[] min, byte[] max)
zcount
in interface BinaryJedisClusterCommands
public Set<byte[]> zrangeByScore(byte[] key, double min, double max)
zrangeByScore
in interface BinaryJedisClusterCommands
public Set<byte[]> zrangeByScore(byte[] key, byte[] min, byte[] max)
zrangeByScore
in interface BinaryJedisClusterCommands
public Set<byte[]> zrevrangeByScore(byte[] key, double max, double min)
zrevrangeByScore
in interface BinaryJedisClusterCommands
public Set<byte[]> zrangeByScore(byte[] key, double min, double max, int offset, int count)
zrangeByScore
in interface BinaryJedisClusterCommands
public Set<byte[]> zrevrangeByScore(byte[] key, byte[] max, byte[] min)
zrevrangeByScore
in interface BinaryJedisClusterCommands
public Set<byte[]> zrangeByScore(byte[] key, byte[] min, byte[] max, int offset, int count)
zrangeByScore
in interface BinaryJedisClusterCommands
public Set<byte[]> zrevrangeByScore(byte[] key, double max, double min, int offset, int count)
zrevrangeByScore
in interface BinaryJedisClusterCommands
public Set<Tuple> zrangeByScoreWithScores(byte[] key, double min, double max)
zrangeByScoreWithScores
in interface BinaryJedisClusterCommands
public Set<Tuple> zrevrangeByScoreWithScores(byte[] key, double max, double min)
zrevrangeByScoreWithScores
in interface BinaryJedisClusterCommands
public Set<Tuple> zrangeByScoreWithScores(byte[] key, double min, double max, int offset, int count)
zrangeByScoreWithScores
in interface BinaryJedisClusterCommands
public Set<byte[]> zrevrangeByScore(byte[] key, byte[] max, byte[] min, int offset, int count)
zrevrangeByScore
in interface BinaryJedisClusterCommands
public Set<Tuple> zrangeByScoreWithScores(byte[] key, byte[] min, byte[] max)
zrangeByScoreWithScores
in interface BinaryJedisClusterCommands
public Set<Tuple> zrevrangeByScoreWithScores(byte[] key, byte[] max, byte[] min)
zrevrangeByScoreWithScores
in interface BinaryJedisClusterCommands
public Set<Tuple> zrangeByScoreWithScores(byte[] key, byte[] min, byte[] max, int offset, int count)
zrangeByScoreWithScores
in interface BinaryJedisClusterCommands
public Set<Tuple> zrevrangeByScoreWithScores(byte[] key, double max, double min, int offset, int count)
zrevrangeByScoreWithScores
in interface BinaryJedisClusterCommands
public Set<Tuple> zrevrangeByScoreWithScores(byte[] key, byte[] max, byte[] min, int offset, int count)
zrevrangeByScoreWithScores
in interface BinaryJedisClusterCommands
public Long zremrangeByRank(byte[] key, long start, long end)
zremrangeByRank
in interface BinaryJedisClusterCommands
public Long zremrangeByScore(byte[] key, double start, double end)
zremrangeByScore
in interface BinaryJedisClusterCommands
public Long zremrangeByScore(byte[] key, byte[] start, byte[] end)
zremrangeByScore
in interface BinaryJedisClusterCommands
public Long linsert(byte[] key, BinaryClient.LIST_POSITION where, byte[] pivot, byte[] value)
linsert
in interface BinaryJedisClusterCommands
public Long lpushx(byte[] key, byte[]... arg)
lpushx
in interface BinaryJedisClusterCommands
public Long rpushx(byte[] key, byte[]... arg)
rpushx
in interface BinaryJedisClusterCommands
public Long del(byte[] key)
del
in interface BinaryJedisClusterCommands
public byte[] echo(byte[] arg)
echo
in interface BinaryJedisClusterCommands
public Long bitcount(byte[] key)
bitcount
in interface BinaryJedisClusterCommands
public Long bitcount(byte[] key, long start, long end)
bitcount
in interface BinaryJedisClusterCommands
public Long pfadd(byte[] key, byte[]... elements)
pfadd
in interface BinaryJedisClusterCommands
public long pfcount(byte[] key)
pfcount
in interface BinaryJedisClusterCommands
public List<byte[]> srandmember(byte[] key, int count)
srandmember
in interface BinaryJedisClusterCommands
public Long zlexcount(byte[] key, byte[] min, byte[] max)
zlexcount
in interface BinaryJedisClusterCommands
public Set<byte[]> zrangeByLex(byte[] key, byte[] min, byte[] max)
zrangeByLex
in interface BinaryJedisClusterCommands
public Set<byte[]> zrangeByLex(byte[] key, byte[] min, byte[] max, int offset, int count)
zrangeByLex
in interface BinaryJedisClusterCommands
public Set<byte[]> zrevrangeByLex(byte[] key, byte[] max, byte[] min)
zrevrangeByLex
in interface BinaryJedisClusterCommands
public Set<byte[]> zrevrangeByLex(byte[] key, byte[] max, byte[] min, int offset, int count)
zrevrangeByLex
in interface BinaryJedisClusterCommands
public Long zremrangeByLex(byte[] key, byte[] min, byte[] max)
zremrangeByLex
in interface BinaryJedisClusterCommands
public Object eval(byte[] script, byte[] keyCount, byte[]... params)
eval
in interface JedisClusterBinaryScriptingCommands
public Object eval(byte[] script, int keyCount, byte[]... params)
eval
in interface JedisClusterBinaryScriptingCommands
public Object eval(byte[] script, List<byte[]> keys, List<byte[]> args)
eval
in interface JedisClusterBinaryScriptingCommands
public Object eval(byte[] script, byte[] key)
eval
in interface JedisClusterBinaryScriptingCommands
public Object evalsha(byte[] script, byte[] key)
evalsha
in interface JedisClusterBinaryScriptingCommands
public Object evalsha(byte[] sha1, List<byte[]> keys, List<byte[]> args)
evalsha
in interface JedisClusterBinaryScriptingCommands
public Object evalsha(byte[] sha1, int keyCount, byte[]... params)
evalsha
in interface JedisClusterBinaryScriptingCommands
public List<Long> scriptExists(byte[] key, byte[][] sha1)
scriptExists
in interface JedisClusterBinaryScriptingCommands
public byte[] scriptLoad(byte[] script, byte[] key)
scriptLoad
in interface JedisClusterBinaryScriptingCommands
public String scriptFlush(byte[] key)
scriptFlush
in interface JedisClusterBinaryScriptingCommands
public String scriptKill(byte[] key)
scriptKill
in interface JedisClusterBinaryScriptingCommands
public Long del(byte[]... keys)
del
in interface MultiKeyBinaryJedisClusterCommands
public List<byte[]> blpop(int timeout, byte[]... keys)
blpop
in interface MultiKeyBinaryJedisClusterCommands
public List<byte[]> brpop(int timeout, byte[]... keys)
brpop
in interface MultiKeyBinaryJedisClusterCommands
public List<byte[]> mget(byte[]... keys)
mget
in interface MultiKeyBinaryJedisClusterCommands
public String mset(byte[]... keysvalues)
mset
in interface MultiKeyBinaryJedisClusterCommands
public Long msetnx(byte[]... keysvalues)
msetnx
in interface MultiKeyBinaryJedisClusterCommands
public String rename(byte[] oldkey, byte[] newkey)
rename
in interface MultiKeyBinaryJedisClusterCommands
public Long renamenx(byte[] oldkey, byte[] newkey)
renamenx
in interface MultiKeyBinaryJedisClusterCommands
public byte[] rpoplpush(byte[] srckey, byte[] dstkey)
rpoplpush
in interface MultiKeyBinaryJedisClusterCommands
public Set<byte[]> sdiff(byte[]... keys)
sdiff
in interface MultiKeyBinaryJedisClusterCommands
public Long sdiffstore(byte[] dstkey, byte[]... keys)
sdiffstore
in interface MultiKeyBinaryJedisClusterCommands
public Set<byte[]> sinter(byte[]... keys)
sinter
in interface MultiKeyBinaryJedisClusterCommands
public Long sinterstore(byte[] dstkey, byte[]... keys)
sinterstore
in interface MultiKeyBinaryJedisClusterCommands
public Long smove(byte[] srckey, byte[] dstkey, byte[] member)
smove
in interface MultiKeyBinaryJedisClusterCommands
public Long sort(byte[] key, SortingParams sortingParameters, byte[] dstkey)
sort
in interface MultiKeyBinaryJedisClusterCommands
public Long sort(byte[] key, byte[] dstkey)
sort
in interface MultiKeyBinaryJedisClusterCommands
public Set<byte[]> sunion(byte[]... keys)
sunion
in interface MultiKeyBinaryJedisClusterCommands
public Long sunionstore(byte[] dstkey, byte[]... keys)
sunionstore
in interface MultiKeyBinaryJedisClusterCommands
public Long zinterstore(byte[] dstkey, byte[]... sets)
zinterstore
in interface MultiKeyBinaryJedisClusterCommands
public Long zinterstore(byte[] dstkey, ZParams params, byte[]... sets)
zinterstore
in interface MultiKeyBinaryJedisClusterCommands
public Long zunionstore(byte[] dstkey, byte[]... sets)
zunionstore
in interface MultiKeyBinaryJedisClusterCommands
public Long zunionstore(byte[] dstkey, ZParams params, byte[]... sets)
zunionstore
in interface MultiKeyBinaryJedisClusterCommands
public byte[] brpoplpush(byte[] source, byte[] destination, int timeout)
brpoplpush
in interface MultiKeyBinaryJedisClusterCommands
public Long publish(byte[] channel, byte[] message)
publish
in interface MultiKeyBinaryJedisClusterCommands
public void subscribe(BinaryJedisPubSub jedisPubSub, byte[]... channels)
subscribe
in interface MultiKeyBinaryJedisClusterCommands
public void psubscribe(BinaryJedisPubSub jedisPubSub, byte[]... patterns)
psubscribe
in interface MultiKeyBinaryJedisClusterCommands
public Long bitop(BitOP op, byte[] destKey, byte[]... srcKeys)
bitop
in interface MultiKeyBinaryJedisClusterCommands
public String pfmerge(byte[] destkey, byte[]... sourcekeys)
pfmerge
in interface MultiKeyBinaryJedisClusterCommands
public Long pfcount(byte[]... keys)
pfcount
in interface MultiKeyBinaryJedisClusterCommands
Copyright © 2015. All rights reserved.