public class BinaryClient extends Connection
Constructor and Description |
---|
BinaryClient() |
BinaryClient(JedisSocketFactory jedisSocketFactory) |
BinaryClient(String host) |
BinaryClient(String host,
int port) |
BinaryClient(String host,
int port,
boolean ssl) |
BinaryClient(String host,
int port,
boolean ssl,
SSLSocketFactory sslSocketFactory,
SSLParameters sslParameters,
HostnameVerifier hostnameVerifier) |
Modifier and Type | Method and Description |
---|---|
void |
aclCat() |
void |
aclCat(byte[] category) |
void |
aclDelUser(byte[] name) |
void |
aclGenPass() |
void |
aclGetUser(byte[] name) |
void |
aclList() |
void |
aclSetUser(byte[] name) |
void |
aclSetUser(byte[] name,
byte[][] parameters) |
void |
aclUsers() |
void |
aclWhoAmI() |
void |
append(byte[] key,
byte[] value) |
void |
asking() |
void |
auth(String password) |
void |
auth(String user,
String password) |
void |
bgrewriteaof() |
void |
bgsave() |
void |
bitcount(byte[] key) |
void |
bitcount(byte[] key,
long start,
long end) |
void |
bitfield(byte[] key,
byte[]... value) |
void |
bitfieldReadonly(byte[] key,
byte[]... arguments) |
void |
bitop(BitOP op,
byte[] destKey,
byte[]... srcKeys) |
void |
bitpos(byte[] key,
boolean value,
BitPosParams params) |
void |
blpop(byte[][] args) |
void |
blpop(int timeout,
byte[]... keys) |
void |
brpop(byte[][] args) |
void |
brpop(int timeout,
byte[]... keys) |
void |
brpoplpush(byte[] source,
byte[] destination,
int timeout) |
void |
clientGetname() |
void |
clientKill(byte[] ipPort) |
void |
clientKill(ClientKillParams params) |
void |
clientKill(String ip,
int port) |
void |
clientList() |
void |
clientPause(long timeout) |
void |
clientSetname(byte[] name) |
void |
close() |
void |
cluster(byte[]... args) |
void |
configGet(byte[] pattern) |
void |
configResetStat() |
void |
configRewrite() |
void |
configSet(byte[] parameter,
byte[] value) |
void |
connect() |
void |
dbSize() |
void |
debug(DebugParams params) |
void |
decr(byte[] key) |
void |
decrBy(byte[] key,
long decrement) |
void |
del(byte[]... keys) |
void |
discard() |
void |
disconnect() |
void |
dump(byte[] key) |
void |
echo(byte[] string) |
void |
eval(byte[] script,
byte[] keyCount,
byte[][] params) |
void |
eval(byte[] script,
int keyCount,
byte[]... params) |
void |
evalsha(byte[] sha1,
byte[] keyCount,
byte[]... params) |
void |
evalsha(byte[] sha1,
int keyCount,
byte[]... params) |
void |
exec() |
void |
exists(byte[]... keys) |
void |
expire(byte[] key,
int seconds) |
void |
expireAt(byte[] key,
long unixTime) |
void |
flushAll() |
void |
flushDB() |
void |
geoadd(byte[] key,
double longitude,
double latitude,
byte[] member) |
void |
geoadd(byte[] key,
Map<byte[],GeoCoordinate> memberCoordinateMap) |
void |
geodist(byte[] key,
byte[] member1,
byte[] member2) |
void |
geodist(byte[] key,
byte[] member1,
byte[] member2,
GeoUnit unit) |
void |
geohash(byte[] key,
byte[]... members) |
void |
geopos(byte[] key,
byte[][] members) |
void |
georadius(byte[] key,
double longitude,
double latitude,
double radius,
GeoUnit unit) |
void |
georadius(byte[] key,
double longitude,
double latitude,
double radius,
GeoUnit unit,
GeoRadiusParam param) |
void |
georadiusByMember(byte[] key,
byte[] member,
double radius,
GeoUnit unit) |
void |
georadiusByMember(byte[] key,
byte[] member,
double radius,
GeoUnit unit,
GeoRadiusParam param) |
void |
georadiusByMemberReadonly(byte[] key,
byte[] member,
double radius,
GeoUnit unit) |
void |
georadiusByMemberReadonly(byte[] key,
byte[] member,
double radius,
GeoUnit unit,
GeoRadiusParam param) |
void |
georadiusReadonly(byte[] key,
double longitude,
double latitude,
double radius,
GeoUnit unit) |
void |
georadiusReadonly(byte[] key,
double longitude,
double latitude,
double radius,
GeoUnit unit,
GeoRadiusParam param) |
void |
get(byte[] key) |
void |
getbit(byte[] key,
long offset) |
int |
getDB() |
void |
getrange(byte[] key,
long startOffset,
long endOffset) |
void |
getSet(byte[] key,
byte[] value) |
void |
hdel(byte[] key,
byte[]... fields) |
void |
hexists(byte[] key,
byte[] field) |
void |
hget(byte[] key,
byte[] field) |
void |
hgetAll(byte[] key) |
void |
hincrBy(byte[] key,
byte[] field,
long value) |
void |
hincrByFloat(byte[] key,
byte[] field,
double increment) |
void |
hkeys(byte[] key) |
void |
hlen(byte[] key) |
void |
hmget(byte[] key,
byte[]... fields) |
void |
hmset(byte[] key,
Map<byte[],byte[]> hash) |
void |
hscan(byte[] key,
byte[] cursor,
ScanParams params) |
void |
hset(byte[] key,
byte[] field,
byte[] value) |
void |
hset(byte[] key,
Map<byte[],byte[]> hash) |
void |
hsetnx(byte[] key,
byte[] field,
byte[] value) |
void |
hstrlen(byte[] key,
byte[] field) |
void |
hvals(byte[] key) |
void |
incr(byte[] key) |
void |
incrBy(byte[] key,
long increment) |
void |
incrByFloat(byte[] key,
double increment) |
void |
info() |
void |
info(String section) |
boolean |
isInMulti() |
boolean |
isInWatch() |
void |
keys(byte[] pattern) |
void |
lastsave() |
void |
lindex(byte[] key,
long index) |
void |
linsert(byte[] key,
ListPosition where,
byte[] pivot,
byte[] value) |
void |
llen(byte[] key) |
void |
lpop(byte[] key) |
void |
lpush(byte[] key,
byte[]... strings) |
void |
lpushx(byte[] key,
byte[]... string) |
void |
lrange(byte[] key,
long start,
long stop) |
void |
lrem(byte[] key,
long count,
byte[] value) |
void |
lset(byte[] key,
long index,
byte[] value) |
void |
ltrim(byte[] key,
long start,
long stop) |
void |
memoryDoctor() |
void |
mget(byte[]... keys) |
void |
migrate(String host,
int port,
byte[] key,
int destinationDb,
int timeout) |
void |
migrate(String host,
int port,
int destinationDB,
int timeout,
MigrateParams params,
byte[]... keys) |
void |
moduleList() |
void |
moduleLoad(byte[] path) |
void |
moduleUnload(byte[] name) |
void |
monitor() |
void |
move(byte[] key,
int dbIndex) |
void |
mset(byte[]... keysvalues) |
void |
msetnx(byte[]... keysvalues) |
void |
multi() |
void |
objectEncoding(byte[] key) |
void |
objectFreq(byte[] key) |
void |
objectHelp() |
void |
objectIdletime(byte[] key) |
void |
objectRefcount(byte[] key) |
void |
persist(byte[] key) |
void |
pexpire(byte[] key,
long milliseconds) |
void |
pexpireAt(byte[] key,
long millisecondsTimestamp) |
void |
pfadd(byte[] key,
byte[]... elements) |
void |
pfcount(byte[]... keys) |
void |
pfcount(byte[] key) |
void |
pfmerge(byte[] destkey,
byte[]... sourcekeys) |
void |
ping() |
void |
ping(byte[] message) |
void |
psetex(byte[] key,
long milliseconds,
byte[] value) |
void |
psubscribe(byte[]... patterns) |
void |
pttl(byte[] key) |
void |
publish(byte[] channel,
byte[] message) |
void |
pubsub(byte[]... args) |
void |
punsubscribe() |
void |
punsubscribe(byte[]... patterns) |
void |
quit() |
void |
randomKey() |
void |
readonly() |
void |
rename(byte[] oldkey,
byte[] newkey) |
void |
renamenx(byte[] oldkey,
byte[] newkey) |
void |
resetState() |
void |
restore(byte[] key,
int ttl,
byte[] serializedValue) |
void |
restoreReplace(byte[] key,
int ttl,
byte[] serializedValue) |
void |
rpop(byte[] key) |
void |
rpoplpush(byte[] srckey,
byte[] dstkey) |
void |
rpush(byte[] key,
byte[]... strings) |
void |
rpushx(byte[] key,
byte[]... string) |
void |
sadd(byte[] key,
byte[]... members) |
void |
save() |
void |
scan(byte[] cursor,
ScanParams params) |
void |
scard(byte[] key) |
void |
scriptExists(byte[]... sha1) |
void |
scriptFlush() |
void |
scriptKill() |
void |
scriptLoad(byte[] script) |
void |
sdiff(byte[]... keys) |
void |
sdiffstore(byte[] dstkey,
byte[]... keys) |
void |
select(int index) |
void |
sentinel(byte[]... args) |
void |
set(byte[] key,
byte[] value) |
void |
set(byte[] key,
byte[] value,
SetParams params) |
void |
setbit(byte[] key,
long offset,
boolean value) |
void |
setbit(byte[] key,
long offset,
byte[] value) |
void |
setDb(int db) |
void |
setex(byte[] key,
int seconds,
byte[] value) |
void |
setnx(byte[] key,
byte[] value) |
void |
setPassword(String password) |
void |
setrange(byte[] key,
long offset,
byte[] value) |
void |
setUser(String user) |
void |
shutdown() |
void |
sinter(byte[]... keys) |
void |
sinterstore(byte[] dstkey,
byte[]... keys) |
void |
sismember(byte[] key,
byte[] member) |
void |
slaveof(String host,
int port) |
void |
slaveofNoOne() |
void |
slowlogGet() |
void |
slowlogGet(long entries) |
void |
slowlogLen() |
void |
slowlogReset() |
void |
smembers(byte[] key) |
void |
smove(byte[] srckey,
byte[] dstkey,
byte[] member) |
void |
sort(byte[] key) |
void |
sort(byte[] key,
byte[] dstkey) |
void |
sort(byte[] key,
SortingParams sortingParameters) |
void |
sort(byte[] key,
SortingParams sortingParameters,
byte[] dstkey) |
void |
spop(byte[] key) |
void |
spop(byte[] key,
long count) |
void |
srandmember(byte[] key) |
void |
srandmember(byte[] key,
int count) |
void |
srem(byte[] key,
byte[]... members) |
void |
sscan(byte[] key,
byte[] cursor,
ScanParams params) |
void |
strlen(byte[] key) |
void |
subscribe(byte[]... channels) |
void |
substr(byte[] key,
int start,
int end) |
void |
sunion(byte[]... keys) |
void |
sunionstore(byte[] dstkey,
byte[]... keys) |
void |
swapDB(int index1,
int index2) |
void |
sync() |
void |
time() |
void |
touch(byte[]... keys) |
void |
ttl(byte[] key) |
void |
type(byte[] key) |
void |
unlink(byte[]... keys) |
void |
unsubscribe() |
void |
unsubscribe(byte[]... channels) |
void |
unwatch() |
void |
waitReplicas(int replicas,
long timeout) |
void |
watch(byte[]... keys) |
void |
xack(byte[] key,
byte[] group,
byte[]... ids) |
void |
xadd(byte[] key,
byte[] id,
Map<byte[],byte[]> hash,
long maxLen,
boolean approximateLength) |
void |
xclaim(byte[] key,
byte[] groupname,
byte[] consumername,
long minIdleTime,
long newIdleTime,
int retries,
boolean force,
byte[][] ids) |
void |
xdel(byte[] key,
byte[]... ids) |
void |
xgroupCreate(byte[] key,
byte[] groupname,
byte[] id,
boolean makeStream) |
void |
xgroupDelConsumer(byte[] key,
byte[] groupname,
byte[] consumerName) |
void |
xgroupDestroy(byte[] key,
byte[] groupname) |
void |
xgroupSetID(byte[] key,
byte[] groupname,
byte[] id) |
void |
xinfoConsumers(byte[] key,
byte[] group) |
void |
xinfoGroup(byte[] key) |
void |
xinfoStream(byte[] key) |
void |
xlen(byte[] key) |
void |
xpending(byte[] key,
byte[] groupname,
byte[] start,
byte[] end,
int count,
byte[] consumername) |
void |
xrange(byte[] key,
byte[] start,
byte[] end,
long count) |
void |
xread(int count,
long block,
Map<byte[],byte[]> streams) |
void |
xreadGroup(byte[] groupname,
byte[] consumer,
int count,
long block,
boolean noAck,
Map<byte[],byte[]> streams) |
void |
xrevrange(byte[] key,
byte[] end,
byte[] start,
int count) |
void |
xtrim(byte[] key,
long maxLen,
boolean approximateLength) |
void |
zadd(byte[] key,
double score,
byte[] member) |
void |
zadd(byte[] key,
double score,
byte[] member,
ZAddParams params) |
void |
zadd(byte[] key,
Map<byte[],Double> scoreMembers) |
void |
zadd(byte[] key,
Map<byte[],Double> scoreMembers,
ZAddParams params) |
void |
zcard(byte[] key) |
void |
zcount(byte[] key,
byte[] min,
byte[] max) |
void |
zcount(byte[] key,
double min,
double max) |
void |
zincrby(byte[] key,
double increment,
byte[] member) |
void |
zincrby(byte[] key,
double increment,
byte[] member,
ZIncrByParams params) |
void |
zinterstore(byte[] dstkey,
byte[]... sets) |
void |
zinterstore(byte[] dstkey,
ZParams params,
byte[]... sets) |
void |
zlexcount(byte[] key,
byte[] min,
byte[] max) |
void |
zpopmax(byte[] key) |
void |
zpopmax(byte[] key,
int count) |
void |
zpopmin(byte[] key) |
void |
zpopmin(byte[] key,
long count) |
void |
zrange(byte[] key,
long start,
long stop) |
void |
zrangeByLex(byte[] key,
byte[] min,
byte[] max) |
void |
zrangeByLex(byte[] key,
byte[] min,
byte[] max,
int offset,
int count) |
void |
zrangeByScore(byte[] key,
byte[] min,
byte[] max) |
void |
zrangeByScore(byte[] key,
byte[] min,
byte[] max,
int offset,
int count) |
void |
zrangeByScore(byte[] key,
double min,
double max) |
void |
zrangeByScore(byte[] key,
double min,
double max,
int offset,
int count) |
void |
zrangeByScoreWithScores(byte[] key,
byte[] min,
byte[] max) |
void |
zrangeByScoreWithScores(byte[] key,
byte[] min,
byte[] max,
int offset,
int count) |
void |
zrangeByScoreWithScores(byte[] key,
double min,
double max) |
void |
zrangeByScoreWithScores(byte[] key,
double min,
double max,
int offset,
int count) |
void |
zrangeWithScores(byte[] key,
long start,
long stop) |
void |
zrank(byte[] key,
byte[] member) |
void |
zrem(byte[] key,
byte[]... members) |
void |
zremrangeByLex(byte[] key,
byte[] min,
byte[] max) |
void |
zremrangeByRank(byte[] key,
long start,
long stop) |
void |
zremrangeByScore(byte[] key,
byte[] min,
byte[] max) |
void |
zremrangeByScore(byte[] key,
double min,
double max) |
void |
zrevrange(byte[] key,
long start,
long stop) |
void |
zrevrangeByLex(byte[] key,
byte[] max,
byte[] min) |
void |
zrevrangeByLex(byte[] key,
byte[] max,
byte[] min,
int offset,
int count) |
void |
zrevrangeByScore(byte[] key,
byte[] max,
byte[] min) |
void |
zrevrangeByScore(byte[] key,
byte[] max,
byte[] min,
int offset,
int count) |
void |
zrevrangeByScore(byte[] key,
double max,
double min) |
void |
zrevrangeByScore(byte[] key,
double max,
double min,
int offset,
int count) |
void |
zrevrangeByScoreWithScores(byte[] key,
byte[] max,
byte[] min) |
void |
zrevrangeByScoreWithScores(byte[] key,
byte[] max,
byte[] min,
int offset,
int count) |
void |
zrevrangeByScoreWithScores(byte[] key,
double max,
double min) |
void |
zrevrangeByScoreWithScores(byte[] key,
double max,
double min,
int offset,
int count) |
void |
zrevrangeWithScores(byte[] key,
long start,
long stop) |
void |
zrevrank(byte[] key,
byte[] member) |
void |
zscan(byte[] key,
byte[] cursor,
ScanParams params) |
void |
zscore(byte[] key,
byte[] member) |
void |
zunionstore(byte[] dstkey,
byte[]... sets) |
void |
zunionstore(byte[] dstkey,
ZParams params,
byte[]... sets) |
flush, getBinaryBulkReply, getBinaryMultiBulkReply, getBulkReply, getConnectionTimeout, getHost, getIntegerMultiBulkReply, getIntegerReply, getMany, getMultiBulkReply, getObjectMultiBulkReply, getOne, getPort, getRawObjectMultiBulkReply, getSocket, getSoTimeout, getStatusCodeReply, getUnflushedObjectMultiBulkReply, isBroken, isConnected, readProtocolWithCheckingBroken, rollbackTimeout, sendCommand, sendCommand, sendCommand, setConnectionTimeout, setHost, setPort, setSoTimeout, setTimeoutInfinite
public BinaryClient()
public BinaryClient(String host)
public BinaryClient(String host, int port)
public BinaryClient(String host, int port, boolean ssl)
public BinaryClient(String host, int port, boolean ssl, SSLSocketFactory sslSocketFactory, SSLParameters sslParameters, HostnameVerifier hostnameVerifier)
public BinaryClient(JedisSocketFactory jedisSocketFactory)
public boolean isInMulti()
public boolean isInWatch()
public void setUser(String user)
public void setPassword(String password)
public void setDb(int db)
public void connect()
connect
in class Connection
public void ping()
public void ping(byte[] message)
public void set(byte[] key, byte[] value)
public void set(byte[] key, byte[] value, SetParams params)
public void get(byte[] key)
public void quit()
public void exists(byte[]... keys)
public void del(byte[]... keys)
public void unlink(byte[]... keys)
public void type(byte[] key)
public void flushDB()
public void keys(byte[] pattern)
public void randomKey()
public void rename(byte[] oldkey, byte[] newkey)
public void renamenx(byte[] oldkey, byte[] newkey)
public void dbSize()
public void expire(byte[] key, int seconds)
public void expireAt(byte[] key, long unixTime)
public void ttl(byte[] key)
public void touch(byte[]... keys)
public void select(int index)
public void swapDB(int index1, int index2)
public void move(byte[] key, int dbIndex)
public void flushAll()
public void getSet(byte[] key, byte[] value)
public void mget(byte[]... keys)
public void setnx(byte[] key, byte[] value)
public void setex(byte[] key, int seconds, byte[] value)
public void mset(byte[]... keysvalues)
public void msetnx(byte[]... keysvalues)
public void decrBy(byte[] key, long decrement)
public void decr(byte[] key)
public void incrBy(byte[] key, long increment)
public void incrByFloat(byte[] key, double increment)
public void incr(byte[] key)
public void append(byte[] key, byte[] value)
public void substr(byte[] key, int start, int end)
public void hset(byte[] key, byte[] field, byte[] value)
public void hset(byte[] key, Map<byte[],byte[]> hash)
public void hget(byte[] key, byte[] field)
public void hsetnx(byte[] key, byte[] field, byte[] value)
public void hmset(byte[] key, Map<byte[],byte[]> hash)
public void hmget(byte[] key, byte[]... fields)
public void hincrBy(byte[] key, byte[] field, long value)
public void hexists(byte[] key, byte[] field)
public void hdel(byte[] key, byte[]... fields)
public void hlen(byte[] key)
public void hkeys(byte[] key)
public void hvals(byte[] key)
public void hgetAll(byte[] key)
public void rpush(byte[] key, byte[]... strings)
public void lpush(byte[] key, byte[]... strings)
public void llen(byte[] key)
public void lrange(byte[] key, long start, long stop)
public void ltrim(byte[] key, long start, long stop)
public void lindex(byte[] key, long index)
public void lset(byte[] key, long index, byte[] value)
public void lrem(byte[] key, long count, byte[] value)
public void lpop(byte[] key)
public void rpop(byte[] key)
public void rpoplpush(byte[] srckey, byte[] dstkey)
public void sadd(byte[] key, byte[]... members)
public void smembers(byte[] key)
public void srem(byte[] key, byte[]... members)
public void spop(byte[] key)
public void spop(byte[] key, long count)
public void smove(byte[] srckey, byte[] dstkey, byte[] member)
public void scard(byte[] key)
public void sismember(byte[] key, byte[] member)
public void sinter(byte[]... keys)
public void sinterstore(byte[] dstkey, byte[]... keys)
public void sunion(byte[]... keys)
public void sunionstore(byte[] dstkey, byte[]... keys)
public void sdiff(byte[]... keys)
public void sdiffstore(byte[] dstkey, byte[]... keys)
public void srandmember(byte[] key)
public void zadd(byte[] key, double score, byte[] member)
public void zadd(byte[] key, double score, byte[] member, ZAddParams params)
public void zadd(byte[] key, Map<byte[],Double> scoreMembers, ZAddParams params)
public void zrange(byte[] key, long start, long stop)
public void zrem(byte[] key, byte[]... members)
public void zincrby(byte[] key, double increment, byte[] member)
public void zincrby(byte[] key, double increment, byte[] member, ZIncrByParams params)
public void zrank(byte[] key, byte[] member)
public void zrevrank(byte[] key, byte[] member)
public void zrevrange(byte[] key, long start, long stop)
public void zrangeWithScores(byte[] key, long start, long stop)
public void zrevrangeWithScores(byte[] key, long start, long stop)
public void zcard(byte[] key)
public void zscore(byte[] key, byte[] member)
public void zpopmax(byte[] key)
public void zpopmax(byte[] key, int count)
public void zpopmin(byte[] key)
public void zpopmin(byte[] key, long count)
public void multi()
public void discard()
public void exec()
public void watch(byte[]... keys)
public void unwatch()
public void sort(byte[] key)
public void sort(byte[] key, SortingParams sortingParameters)
public void blpop(byte[][] args)
public void blpop(int timeout, byte[]... keys)
public void sort(byte[] key, SortingParams sortingParameters, byte[] dstkey)
public void sort(byte[] key, byte[] dstkey)
public void brpop(byte[][] args)
public void brpop(int timeout, byte[]... keys)
public void auth(String password)
public void subscribe(byte[]... channels)
public void publish(byte[] channel, byte[] message)
public void unsubscribe()
public void unsubscribe(byte[]... channels)
public void psubscribe(byte[]... patterns)
public void punsubscribe()
public void punsubscribe(byte[]... patterns)
public void pubsub(byte[]... args)
public void zcount(byte[] key, double min, double max)
public void zcount(byte[] key, byte[] min, byte[] max)
public void zrangeByScore(byte[] key, double min, double max)
public void zrangeByScore(byte[] key, byte[] min, byte[] max)
public void zrevrangeByScore(byte[] key, double max, double min)
public void zrevrangeByScore(byte[] key, byte[] max, byte[] min)
public void zrangeByScore(byte[] key, double min, double max, int offset, int count)
public void zrevrangeByScore(byte[] key, double max, double min, int offset, int count)
public void zrangeByScoreWithScores(byte[] key, double min, double max)
public void zrevrangeByScoreWithScores(byte[] key, double max, double min)
public void zrangeByScoreWithScores(byte[] key, double min, double max, int offset, int count)
public void zrevrangeByScoreWithScores(byte[] key, double max, double min, int offset, int count)
public void zrangeByScore(byte[] key, byte[] min, byte[] max, int offset, int count)
public void zrevrangeByScore(byte[] key, byte[] max, byte[] min, int offset, int count)
public void zrangeByScoreWithScores(byte[] key, byte[] min, byte[] max)
public void zrevrangeByScoreWithScores(byte[] key, byte[] max, byte[] min)
public void zrangeByScoreWithScores(byte[] key, byte[] min, byte[] max, int offset, int count)
public void zrevrangeByScoreWithScores(byte[] key, byte[] max, byte[] min, int offset, int count)
public void zremrangeByRank(byte[] key, long start, long stop)
public void zremrangeByScore(byte[] key, double min, double max)
public void zremrangeByScore(byte[] key, byte[] min, byte[] max)
public void zunionstore(byte[] dstkey, byte[]... sets)
public void zunionstore(byte[] dstkey, ZParams params, byte[]... sets)
public void zinterstore(byte[] dstkey, byte[]... sets)
public void zinterstore(byte[] dstkey, ZParams params, byte[]... sets)
public void zlexcount(byte[] key, byte[] min, byte[] max)
public void zrangeByLex(byte[] key, byte[] min, byte[] max)
public void zrangeByLex(byte[] key, byte[] min, byte[] max, int offset, int count)
public void zrevrangeByLex(byte[] key, byte[] max, byte[] min)
public void zrevrangeByLex(byte[] key, byte[] max, byte[] min, int offset, int count)
public void zremrangeByLex(byte[] key, byte[] min, byte[] max)
public void save()
public void bgsave()
public void bgrewriteaof()
public void lastsave()
public void shutdown()
public void info()
public void info(String section)
public void monitor()
public void slaveof(String host, int port)
public void slaveofNoOne()
public void configGet(byte[] pattern)
public void configSet(byte[] parameter, byte[] value)
public void strlen(byte[] key)
public void sync()
public void lpushx(byte[] key, byte[]... string)
public void persist(byte[] key)
public void rpushx(byte[] key, byte[]... string)
public void echo(byte[] string)
public void linsert(byte[] key, ListPosition where, byte[] pivot, byte[] value)
public void debug(DebugParams params)
public void brpoplpush(byte[] source, byte[] destination, int timeout)
public void configResetStat()
public void configRewrite()
public void setbit(byte[] key, long offset, byte[] value)
public void setbit(byte[] key, long offset, boolean value)
public void getbit(byte[] key, long offset)
public void bitpos(byte[] key, boolean value, BitPosParams params)
public void setrange(byte[] key, long offset, byte[] value)
public void getrange(byte[] key, long startOffset, long endOffset)
public int getDB()
public void disconnect()
disconnect
in class Connection
public void close()
close
in interface Closeable
close
in interface AutoCloseable
close
in class Connection
public void resetState()
public void eval(byte[] script, byte[] keyCount, byte[][] params)
public void eval(byte[] script, int keyCount, byte[]... params)
public void evalsha(byte[] sha1, byte[] keyCount, byte[]... params)
public void evalsha(byte[] sha1, int keyCount, byte[]... params)
public void scriptFlush()
public void scriptExists(byte[]... sha1)
public void scriptLoad(byte[] script)
public void scriptKill()
public void slowlogGet()
public void slowlogGet(long entries)
public void slowlogReset()
public void slowlogLen()
public void objectRefcount(byte[] key)
public void objectIdletime(byte[] key)
public void objectEncoding(byte[] key)
public void objectHelp()
public void objectFreq(byte[] key)
public void bitcount(byte[] key)
public void bitcount(byte[] key, long start, long end)
public void bitop(BitOP op, byte[] destKey, byte[]... srcKeys)
public void sentinel(byte[]... args)
public void dump(byte[] key)
public void restore(byte[] key, int ttl, byte[] serializedValue)
public void restoreReplace(byte[] key, int ttl, byte[] serializedValue)
public void pexpire(byte[] key, long milliseconds)
public void pexpireAt(byte[] key, long millisecondsTimestamp)
public void pttl(byte[] key)
public void psetex(byte[] key, long milliseconds, byte[] value)
public void srandmember(byte[] key, int count)
public void memoryDoctor()
public void clientKill(byte[] ipPort)
public void clientKill(String ip, int port)
public void clientKill(ClientKillParams params)
public void clientGetname()
public void clientList()
public void clientSetname(byte[] name)
public void clientPause(long timeout)
public void time()
public void migrate(String host, int port, byte[] key, int destinationDb, int timeout)
public void migrate(String host, int port, int destinationDB, int timeout, MigrateParams params, byte[]... keys)
public void hincrByFloat(byte[] key, byte[] field, double increment)
public void scan(byte[] cursor, ScanParams params)
public void hscan(byte[] key, byte[] cursor, ScanParams params)
public void sscan(byte[] key, byte[] cursor, ScanParams params)
public void zscan(byte[] key, byte[] cursor, ScanParams params)
public void waitReplicas(int replicas, long timeout)
public void cluster(byte[]... args)
public void asking()
public void pfadd(byte[] key, byte[]... elements)
public void pfcount(byte[] key)
public void pfcount(byte[]... keys)
public void pfmerge(byte[] destkey, byte[]... sourcekeys)
public void readonly()
public void geoadd(byte[] key, double longitude, double latitude, byte[] member)
public void geoadd(byte[] key, Map<byte[],GeoCoordinate> memberCoordinateMap)
public void geodist(byte[] key, byte[] member1, byte[] member2)
public void geodist(byte[] key, byte[] member1, byte[] member2, GeoUnit unit)
public void geohash(byte[] key, byte[]... members)
public void geopos(byte[] key, byte[][] members)
public void georadius(byte[] key, double longitude, double latitude, double radius, GeoUnit unit)
public void georadiusReadonly(byte[] key, double longitude, double latitude, double radius, GeoUnit unit)
public void georadius(byte[] key, double longitude, double latitude, double radius, GeoUnit unit, GeoRadiusParam param)
public void georadiusReadonly(byte[] key, double longitude, double latitude, double radius, GeoUnit unit, GeoRadiusParam param)
public void georadiusByMember(byte[] key, byte[] member, double radius, GeoUnit unit)
public void georadiusByMemberReadonly(byte[] key, byte[] member, double radius, GeoUnit unit)
public void georadiusByMember(byte[] key, byte[] member, double radius, GeoUnit unit, GeoRadiusParam param)
public void georadiusByMemberReadonly(byte[] key, byte[] member, double radius, GeoUnit unit, GeoRadiusParam param)
public void moduleLoad(byte[] path)
public void moduleList()
public void moduleUnload(byte[] name)
public void aclWhoAmI()
public void aclGenPass()
public void aclList()
public void aclUsers()
public void aclCat()
public void aclCat(byte[] category)
public void aclSetUser(byte[] name)
public void aclGetUser(byte[] name)
public void aclSetUser(byte[] name, byte[][] parameters)
public void aclDelUser(byte[] name)
public void bitfield(byte[] key, byte[]... value)
public void bitfieldReadonly(byte[] key, byte[]... arguments)
public void hstrlen(byte[] key, byte[] field)
public void xadd(byte[] key, byte[] id, Map<byte[],byte[]> hash, long maxLen, boolean approximateLength)
public void xlen(byte[] key)
public void xrange(byte[] key, byte[] start, byte[] end, long count)
public void xrevrange(byte[] key, byte[] end, byte[] start, int count)
public void xread(int count, long block, Map<byte[],byte[]> streams)
public void xack(byte[] key, byte[] group, byte[]... ids)
public void xgroupCreate(byte[] key, byte[] groupname, byte[] id, boolean makeStream)
public void xgroupSetID(byte[] key, byte[] groupname, byte[] id)
public void xgroupDestroy(byte[] key, byte[] groupname)
public void xgroupDelConsumer(byte[] key, byte[] groupname, byte[] consumerName)
public void xdel(byte[] key, byte[]... ids)
public void xtrim(byte[] key, long maxLen, boolean approximateLength)
public void xreadGroup(byte[] groupname, byte[] consumer, int count, long block, boolean noAck, Map<byte[],byte[]> streams)
public void xpending(byte[] key, byte[] groupname, byte[] start, byte[] end, int count, byte[] consumername)
public void xclaim(byte[] key, byte[] groupname, byte[] consumername, long minIdleTime, long newIdleTime, int retries, boolean force, byte[][] ids)
public void xinfoStream(byte[] key)
public void xinfoGroup(byte[] key)
public void xinfoConsumers(byte[] key, byte[] group)
Copyright © 2020. All rights reserved.