Package redis.clients.jedis
Class BinaryClient
- java.lang.Object
-
- redis.clients.jedis.Connection
-
- redis.clients.jedis.BinaryClient
-
- All Implemented Interfaces:
Closeable,AutoCloseable
- Direct Known Subclasses:
Client
public class BinaryClient extends Connection
-
-
Constructor Summary
Constructors Constructor Description BinaryClient()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)BinaryClient(JedisSocketFactory jedisSocketFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaclCat()voidaclCat(byte[] category)voidaclDelUser(byte[] name)voidaclGenPass()voidaclGetUser(byte[] name)voidaclList()voidaclLog()voidaclLog(byte[] option)voidaclLog(int limit)voidaclSetUser(byte[] name)voidaclSetUser(byte[] name, byte[][] parameters)voidaclUsers()voidaclWhoAmI()voidappend(byte[] key, byte[] value)voidasking()voidauth(String password)voidauth(String user, String password)voidbgrewriteaof()voidbgsave()voidbitcount(byte[] key)voidbitcount(byte[] key, long start, long end)voidbitfield(byte[] key, byte[]... value)voidbitfieldReadonly(byte[] key, byte[]... arguments)voidbitop(BitOP op, byte[] destKey, byte[]... srcKeys)voidbitpos(byte[] key, boolean value, BitPosParams params)voidblpop(byte[][] args)voidblpop(int timeout, byte[]... keys)voidbrpop(byte[][] args)voidbrpop(int timeout, byte[]... keys)voidbrpoplpush(byte[] source, byte[] destination, int timeout)voidclientGetname()voidclientId()voidclientKill(byte[] ipPort)voidclientKill(String ip, int port)voidclientKill(ClientKillParams params)voidclientList()voidclientPause(long timeout)voidclientSetname(byte[] name)voidclose()voidcluster(byte[]... args)voidconfigGet(byte[] pattern)voidconfigResetStat()voidconfigRewrite()voidconfigSet(byte[] parameter, byte[] value)voidconnect()voiddbSize()voiddebug(DebugParams params)voiddecr(byte[] key)voiddecrBy(byte[] key, long decrement)voiddel(byte[]... keys)voiddiscard()voiddisconnect()voiddump(byte[] key)voidecho(byte[] string)voideval(byte[] script, byte[] keyCount, byte[][] params)voideval(byte[] script, int keyCount, byte[]... params)voidevalsha(byte[] sha1, byte[] keyCount, byte[]... params)voidevalsha(byte[] sha1, int keyCount, byte[]... params)voidexec()voidexists(byte[]... keys)voidexpire(byte[] key, int seconds)voidexpireAt(byte[] key, long unixTime)voidflushAll()voidflushDB()voidgeoadd(byte[] key, double longitude, double latitude, byte[] member)voidgeoadd(byte[] key, Map<byte[],GeoCoordinate> memberCoordinateMap)voidgeodist(byte[] key, byte[] member1, byte[] member2)voidgeodist(byte[] key, byte[] member1, byte[] member2, GeoUnit unit)voidgeohash(byte[] key, byte[]... members)voidgeopos(byte[] key, byte[][] members)voidgeoradius(byte[] key, double longitude, double latitude, double radius, GeoUnit unit)voidgeoradius(byte[] key, double longitude, double latitude, double radius, GeoUnit unit, GeoRadiusParam param)voidgeoradiusByMember(byte[] key, byte[] member, double radius, GeoUnit unit)voidgeoradiusByMember(byte[] key, byte[] member, double radius, GeoUnit unit, GeoRadiusParam param)voidgeoradiusByMemberReadonly(byte[] key, byte[] member, double radius, GeoUnit unit)voidgeoradiusByMemberReadonly(byte[] key, byte[] member, double radius, GeoUnit unit, GeoRadiusParam param)voidgeoradiusByMemberStore(byte[] key, byte[] member, double radius, GeoUnit unit, GeoRadiusParam param, GeoRadiusStoreParam storeParam)voidgeoradiusReadonly(byte[] key, double longitude, double latitude, double radius, GeoUnit unit)voidgeoradiusReadonly(byte[] key, double longitude, double latitude, double radius, GeoUnit unit, GeoRadiusParam param)voidgeoradiusStore(byte[] key, double longitude, double latitude, double radius, GeoUnit unit, GeoRadiusParam param, GeoRadiusStoreParam storeParam)voidget(byte[] key)voidgetbit(byte[] key, long offset)intgetDB()voidgetrange(byte[] key, long startOffset, long endOffset)voidgetSet(byte[] key, byte[] value)voidhdel(byte[] key, byte[]... fields)voidhexists(byte[] key, byte[] field)voidhget(byte[] key, byte[] field)voidhgetAll(byte[] key)voidhincrBy(byte[] key, byte[] field, long value)voidhincrByFloat(byte[] key, byte[] field, double increment)voidhkeys(byte[] key)voidhlen(byte[] key)voidhmget(byte[] key, byte[]... fields)voidhmset(byte[] key, Map<byte[],byte[]> hash)voidhscan(byte[] key, byte[] cursor, ScanParams params)voidhset(byte[] key, byte[] field, byte[] value)voidhset(byte[] key, Map<byte[],byte[]> hash)voidhsetnx(byte[] key, byte[] field, byte[] value)voidhstrlen(byte[] key, byte[] field)voidhvals(byte[] key)voidincr(byte[] key)voidincrBy(byte[] key, long increment)voidincrByFloat(byte[] key, double increment)voidinfo()voidinfo(String section)booleanisInMulti()booleanisInWatch()voidkeys(byte[] pattern)voidlastsave()voidlindex(byte[] key, long index)voidlinsert(byte[] key, ListPosition where, byte[] pivot, byte[] value)voidllen(byte[] key)voidlpop(byte[] key)voidlpop(byte[] key, int count)voidlpos(byte[] key, byte[] element)voidlpos(byte[] key, byte[] element, LPosParams params)voidlpos(byte[] key, byte[] element, LPosParams params, long count)voidlpush(byte[] key, byte[]... strings)voidlpushx(byte[] key, byte[]... string)voidlrange(byte[] key, long start, long stop)voidlrem(byte[] key, long count, byte[] value)voidlset(byte[] key, long index, byte[] value)voidltrim(byte[] key, long start, long stop)voidmemoryDoctor()voidmemoryUsage(byte[] key)voidmemoryUsage(byte[] key, int samples)voidmget(byte[]... keys)voidmigrate(String host, int port, byte[] key, int destinationDb, int timeout)voidmigrate(String host, int port, int destinationDB, int timeout, MigrateParams params, byte[]... keys)voidmoduleList()voidmoduleLoad(byte[] path)voidmoduleUnload(byte[] name)voidmonitor()voidmove(byte[] key, int dbIndex)voidmset(byte[]... keysvalues)voidmsetnx(byte[]... keysvalues)voidmulti()voidobjectEncoding(byte[] key)voidobjectFreq(byte[] key)voidobjectHelp()voidobjectIdletime(byte[] key)voidobjectRefcount(byte[] key)voidpersist(byte[] key)voidpexpire(byte[] key, long milliseconds)voidpexpireAt(byte[] key, long millisecondsTimestamp)voidpfadd(byte[] key, byte[]... elements)voidpfcount(byte[] key)voidpfcount(byte[]... keys)voidpfmerge(byte[] destkey, byte[]... sourcekeys)voidping()voidping(byte[] message)voidpsetex(byte[] key, long milliseconds, byte[] value)voidpsubscribe(byte[]... patterns)voidpttl(byte[] key)voidpublish(byte[] channel, byte[] message)voidpubsub(byte[]... args)voidpunsubscribe()voidpunsubscribe(byte[]... patterns)voidquit()voidrandomKey()voidreadonly()voidrename(byte[] oldkey, byte[] newkey)voidrenamenx(byte[] oldkey, byte[] newkey)voidresetState()voidrestore(byte[] key, int ttl, byte[] serializedValue)voidrestoreReplace(byte[] key, int ttl, byte[] serializedValue)voidrpop(byte[] key)voidrpop(byte[] key, int count)voidrpoplpush(byte[] srckey, byte[] dstkey)voidrpush(byte[] key, byte[]... strings)voidrpushx(byte[] key, byte[]... string)voidsadd(byte[] key, byte[]... members)voidsave()voidscan(byte[] cursor, ScanParams params)voidscard(byte[] key)voidscriptExists(byte[]... sha1)voidscriptFlush()voidscriptKill()voidscriptLoad(byte[] script)voidsdiff(byte[]... keys)voidsdiffstore(byte[] dstkey, byte[]... keys)voidselect(int index)voidsentinel(byte[]... args)voidset(byte[] key, byte[] value)voidset(byte[] key, byte[] value, SetParams params)voidsetbit(byte[] key, long offset, boolean value)voidsetbit(byte[] key, long offset, byte[] value)voidsetDb(int db)voidsetex(byte[] key, int seconds, byte[] value)voidsetnx(byte[] key, byte[] value)voidsetPassword(String password)voidsetrange(byte[] key, long offset, byte[] value)voidsetUser(String user)voidshutdown()voidsinter(byte[]... keys)voidsinterstore(byte[] dstkey, byte[]... keys)voidsismember(byte[] key, byte[] member)voidslaveof(String host, int port)voidslaveofNoOne()voidslowlogGet()voidslowlogGet(long entries)voidslowlogLen()voidslowlogReset()voidsmembers(byte[] key)voidsmismember(byte[] key, byte[]... members)voidsmove(byte[] srckey, byte[] dstkey, byte[] member)voidsort(byte[] key)voidsort(byte[] key, byte[] dstkey)voidsort(byte[] key, SortingParams sortingParameters)voidsort(byte[] key, SortingParams sortingParameters, byte[] dstkey)voidspop(byte[] key)voidspop(byte[] key, long count)voidsrandmember(byte[] key)voidsrandmember(byte[] key, int count)voidsrem(byte[] key, byte[]... members)voidsscan(byte[] key, byte[] cursor, ScanParams params)voidstrlen(byte[] key)voidsubscribe(byte[]... channels)voidsubstr(byte[] key, int start, int end)voidsunion(byte[]... keys)voidsunionstore(byte[] dstkey, byte[]... keys)voidswapDB(int index1, int index2)voidsync()voidtime()voidtouch(byte[]... keys)voidttl(byte[] key)voidtype(byte[] key)voidunlink(byte[]... keys)voidunsubscribe()voidunsubscribe(byte[]... channels)voidunwatch()voidwaitReplicas(int replicas, long timeout)voidwatch(byte[]... keys)voidxack(byte[] key, byte[] group, byte[]... ids)voidxadd(byte[] key, byte[] id, Map<byte[],byte[]> hash, long maxLen, boolean approximateLength)voidxclaim(byte[] key, byte[] groupname, byte[] consumername, long minIdleTime, long newIdleTime, int retries, boolean force, byte[][] ids)voidxdel(byte[] key, byte[]... ids)voidxgroupCreate(byte[] key, byte[] groupname, byte[] id, boolean makeStream)voidxgroupDelConsumer(byte[] key, byte[] groupname, byte[] consumerName)voidxgroupDestroy(byte[] key, byte[] groupname)voidxgroupSetID(byte[] key, byte[] groupname, byte[] id)voidxinfoConsumers(byte[] key, byte[] group)voidxinfoGroup(byte[] key)voidxinfoStream(byte[] key)voidxlen(byte[] key)voidxpending(byte[] key, byte[] groupname, byte[] start, byte[] end, int count, byte[] consumername)voidxrange(byte[] key, byte[] start, byte[] end, long count)voidxread(int count, long block, Map<byte[],byte[]> streams)voidxreadGroup(byte[] groupname, byte[] consumer, int count, long block, boolean noAck, Map<byte[],byte[]> streams)voidxrevrange(byte[] key, byte[] end, byte[] start, int count)voidxtrim(byte[] key, long maxLen, boolean approximateLength)voidzadd(byte[] key, double score, byte[] member)voidzadd(byte[] key, double score, byte[] member, ZAddParams params)voidzadd(byte[] key, Map<byte[],Double> scoreMembers)voidzadd(byte[] key, Map<byte[],Double> scoreMembers, ZAddParams params)voidzcard(byte[] key)voidzcount(byte[] key, byte[] min, byte[] max)voidzcount(byte[] key, double min, double max)voidzincrby(byte[] key, double increment, byte[] member)voidzincrby(byte[] key, double increment, byte[] member, ZIncrByParams params)voidzinterstore(byte[] dstkey, byte[]... sets)voidzinterstore(byte[] dstkey, ZParams params, byte[]... sets)voidzlexcount(byte[] key, byte[] min, byte[] max)voidzmscore(byte[] key, byte[]... members)voidzpopmax(byte[] key)voidzpopmax(byte[] key, int count)voidzpopmin(byte[] key)voidzpopmin(byte[] key, long count)voidzrange(byte[] key, long start, long stop)voidzrangeByLex(byte[] key, byte[] min, byte[] max)voidzrangeByLex(byte[] key, byte[] min, byte[] max, int offset, int count)voidzrangeByScore(byte[] key, byte[] min, byte[] max)voidzrangeByScore(byte[] key, byte[] min, byte[] max, int offset, int count)voidzrangeByScore(byte[] key, double min, double max)voidzrangeByScore(byte[] key, double min, double max, int offset, int count)voidzrangeByScoreWithScores(byte[] key, byte[] min, byte[] max)voidzrangeByScoreWithScores(byte[] key, byte[] min, byte[] max, int offset, int count)voidzrangeByScoreWithScores(byte[] key, double min, double max)voidzrangeByScoreWithScores(byte[] key, double min, double max, int offset, int count)voidzrangeWithScores(byte[] key, long start, long stop)voidzrank(byte[] key, byte[] member)voidzrem(byte[] key, byte[]... members)voidzremrangeByLex(byte[] key, byte[] min, byte[] max)voidzremrangeByRank(byte[] key, long start, long stop)voidzremrangeByScore(byte[] key, byte[] min, byte[] max)voidzremrangeByScore(byte[] key, double min, double max)voidzrevrange(byte[] key, long start, long stop)voidzrevrangeByLex(byte[] key, byte[] max, byte[] min)voidzrevrangeByLex(byte[] key, byte[] max, byte[] min, int offset, int count)voidzrevrangeByScore(byte[] key, byte[] max, byte[] min)voidzrevrangeByScore(byte[] key, byte[] max, byte[] min, int offset, int count)voidzrevrangeByScore(byte[] key, double max, double min)voidzrevrangeByScore(byte[] key, double max, double min, int offset, int count)voidzrevrangeByScoreWithScores(byte[] key, byte[] max, byte[] min)voidzrevrangeByScoreWithScores(byte[] key, byte[] max, byte[] min, int offset, int count)voidzrevrangeByScoreWithScores(byte[] key, double max, double min)voidzrevrangeByScoreWithScores(byte[] key, double max, double min, int offset, int count)voidzrevrangeWithScores(byte[] key, long start, long stop)voidzrevrank(byte[] key, byte[] member)voidzscan(byte[] key, byte[] cursor, ScanParams params)voidzscore(byte[] key, byte[] member)voidzunionstore(byte[] dstkey, byte[]... sets)voidzunionstore(byte[] dstkey, ZParams params, byte[]... sets)-
Methods inherited from class redis.clients.jedis.Connection
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, setInfiniteSoTimeout, setPort, setSoTimeout, setTimeoutInfinite
-
-
-
-
Constructor Detail
-
BinaryClient
public BinaryClient()
-
BinaryClient
public BinaryClient(String host)
-
BinaryClient
public BinaryClient(String host, int port)
-
BinaryClient
public BinaryClient(String host, int port, boolean ssl)
-
BinaryClient
public BinaryClient(String host, int port, boolean ssl, SSLSocketFactory sslSocketFactory, SSLParameters sslParameters, HostnameVerifier hostnameVerifier)
-
BinaryClient
public BinaryClient(JedisSocketFactory jedisSocketFactory)
-
-
Method Detail
-
isInMulti
public boolean isInMulti()
-
isInWatch
public boolean isInWatch()
-
setUser
public void setUser(String user)
-
setPassword
public void setPassword(String password)
-
setDb
public void setDb(int db)
-
connect
public void connect()
- Overrides:
connectin classConnection
-
ping
public void ping()
-
ping
public void ping(byte[] message)
-
set
public void set(byte[] key, byte[] value)
-
set
public void set(byte[] key, byte[] value, SetParams params)
-
get
public void get(byte[] key)
-
quit
public void quit()
-
exists
public void exists(byte[]... keys)
-
del
public void del(byte[]... keys)
-
unlink
public void unlink(byte[]... keys)
-
type
public void type(byte[] key)
-
flushDB
public void flushDB()
-
keys
public void keys(byte[] pattern)
-
randomKey
public void randomKey()
-
rename
public void rename(byte[] oldkey, byte[] newkey)
-
renamenx
public void renamenx(byte[] oldkey, byte[] newkey)
-
dbSize
public void dbSize()
-
expire
public void expire(byte[] key, int seconds)
-
expireAt
public void expireAt(byte[] key, long unixTime)
-
ttl
public void ttl(byte[] key)
-
touch
public void touch(byte[]... keys)
-
select
public void select(int index)
-
swapDB
public void swapDB(int index1, int index2)
-
move
public void move(byte[] key, int dbIndex)
-
flushAll
public void flushAll()
-
getSet
public void getSet(byte[] key, byte[] value)
-
mget
public void mget(byte[]... keys)
-
setnx
public void setnx(byte[] key, byte[] value)
-
setex
public void setex(byte[] key, int seconds, byte[] value)
-
mset
public void mset(byte[]... keysvalues)
-
msetnx
public void msetnx(byte[]... keysvalues)
-
decrBy
public void decrBy(byte[] key, long decrement)
-
decr
public void decr(byte[] key)
-
incrBy
public void incrBy(byte[] key, long increment)
-
incrByFloat
public void incrByFloat(byte[] key, double increment)
-
incr
public void incr(byte[] key)
-
append
public void append(byte[] key, byte[] value)
-
substr
public void substr(byte[] key, int start, int end)
-
hset
public void hset(byte[] key, byte[] field, byte[] value)
-
hset
public void hset(byte[] key, Map<byte[],byte[]> hash)
-
hget
public void hget(byte[] key, byte[] field)
-
hsetnx
public void hsetnx(byte[] key, byte[] field, byte[] value)
-
hmset
public void hmset(byte[] key, Map<byte[],byte[]> hash)
-
hmget
public void hmget(byte[] key, byte[]... fields)
-
hincrBy
public void hincrBy(byte[] key, byte[] field, long value)
-
hexists
public void hexists(byte[] key, byte[] field)
-
hdel
public void hdel(byte[] key, byte[]... fields)
-
hlen
public void hlen(byte[] key)
-
hkeys
public void hkeys(byte[] key)
-
hvals
public void hvals(byte[] key)
-
hgetAll
public void hgetAll(byte[] key)
-
rpush
public void rpush(byte[] key, byte[]... strings)
-
lpush
public void lpush(byte[] key, byte[]... strings)
-
llen
public void llen(byte[] key)
-
lrange
public void lrange(byte[] key, long start, long stop)
-
ltrim
public void ltrim(byte[] key, long start, long stop)
-
lindex
public void lindex(byte[] key, long index)
-
lset
public void lset(byte[] key, long index, byte[] value)
-
lrem
public void lrem(byte[] key, long count, byte[] value)
-
lpop
public void lpop(byte[] key)
-
lpop
public void lpop(byte[] key, int count)
-
lpos
public void lpos(byte[] key, byte[] element)
-
lpos
public void lpos(byte[] key, byte[] element, LPosParams params)
-
lpos
public void lpos(byte[] key, byte[] element, LPosParams params, long count)
-
rpop
public void rpop(byte[] key)
-
rpop
public void rpop(byte[] key, int count)
-
rpoplpush
public void rpoplpush(byte[] srckey, byte[] dstkey)
-
sadd
public void sadd(byte[] key, byte[]... members)
-
smembers
public void smembers(byte[] key)
-
srem
public void srem(byte[] key, byte[]... members)
-
spop
public void spop(byte[] key)
-
spop
public void spop(byte[] key, long count)
-
smove
public void smove(byte[] srckey, byte[] dstkey, byte[] member)
-
scard
public void scard(byte[] key)
-
sismember
public void sismember(byte[] key, byte[] member)
-
smismember
public void smismember(byte[] key, byte[]... members)
-
sinter
public void sinter(byte[]... keys)
-
sinterstore
public void sinterstore(byte[] dstkey, byte[]... keys)
-
sunion
public void sunion(byte[]... keys)
-
sunionstore
public void sunionstore(byte[] dstkey, byte[]... keys)
-
sdiff
public void sdiff(byte[]... keys)
-
sdiffstore
public void sdiffstore(byte[] dstkey, byte[]... keys)
-
srandmember
public void srandmember(byte[] key)
-
zadd
public void zadd(byte[] key, double score, byte[] member)
-
zadd
public void zadd(byte[] key, double score, byte[] member, ZAddParams params)
-
zadd
public void zadd(byte[] key, Map<byte[],Double> scoreMembers, ZAddParams params)
-
zrange
public void zrange(byte[] key, long start, long stop)
-
zrem
public void zrem(byte[] key, byte[]... members)
-
zincrby
public void zincrby(byte[] key, double increment, byte[] member)
-
zincrby
public void zincrby(byte[] key, double increment, byte[] member, ZIncrByParams params)
-
zrank
public void zrank(byte[] key, byte[] member)
-
zrevrank
public void zrevrank(byte[] key, byte[] member)
-
zrevrange
public void zrevrange(byte[] key, long start, long stop)
-
zrangeWithScores
public void zrangeWithScores(byte[] key, long start, long stop)
-
zrevrangeWithScores
public void zrevrangeWithScores(byte[] key, long start, long stop)
-
zcard
public void zcard(byte[] key)
-
zscore
public void zscore(byte[] key, byte[] member)
-
zmscore
public void zmscore(byte[] key, byte[]... members)
-
zpopmax
public void zpopmax(byte[] key)
-
zpopmax
public void zpopmax(byte[] key, int count)
-
zpopmin
public void zpopmin(byte[] key)
-
zpopmin
public void zpopmin(byte[] key, long count)
-
multi
public void multi()
-
discard
public void discard()
-
exec
public void exec()
-
watch
public void watch(byte[]... keys)
-
unwatch
public void unwatch()
-
sort
public void sort(byte[] key)
-
sort
public void sort(byte[] key, SortingParams sortingParameters)
-
blpop
public void blpop(byte[][] args)
-
blpop
public void blpop(int timeout, byte[]... keys)
-
sort
public void sort(byte[] key, SortingParams sortingParameters, byte[] dstkey)
-
sort
public void sort(byte[] key, byte[] dstkey)
-
brpop
public void brpop(byte[][] args)
-
brpop
public void brpop(int timeout, byte[]... keys)
-
auth
public void auth(String password)
-
subscribe
public void subscribe(byte[]... channels)
-
publish
public void publish(byte[] channel, byte[] message)
-
unsubscribe
public void unsubscribe()
-
unsubscribe
public void unsubscribe(byte[]... channels)
-
psubscribe
public void psubscribe(byte[]... patterns)
-
punsubscribe
public void punsubscribe()
-
punsubscribe
public void punsubscribe(byte[]... patterns)
-
pubsub
public void pubsub(byte[]... args)
-
zcount
public void zcount(byte[] key, double min, double max)
-
zcount
public void zcount(byte[] key, byte[] min, byte[] max)
-
zrangeByScore
public void zrangeByScore(byte[] key, double min, double max)
-
zrangeByScore
public void zrangeByScore(byte[] key, byte[] min, byte[] max)
-
zrevrangeByScore
public void zrevrangeByScore(byte[] key, double max, double min)
-
zrevrangeByScore
public void zrevrangeByScore(byte[] key, byte[] max, byte[] min)
-
zrangeByScore
public void zrangeByScore(byte[] key, double min, double max, int offset, int count)
-
zrevrangeByScore
public void zrevrangeByScore(byte[] key, double max, double min, int offset, int count)
-
zrangeByScoreWithScores
public void zrangeByScoreWithScores(byte[] key, double min, double max)
-
zrevrangeByScoreWithScores
public void zrevrangeByScoreWithScores(byte[] key, double max, double min)
-
zrangeByScoreWithScores
public void zrangeByScoreWithScores(byte[] key, double min, double max, int offset, int count)
-
zrevrangeByScoreWithScores
public void zrevrangeByScoreWithScores(byte[] key, double max, double min, int offset, int count)
-
zrangeByScore
public void zrangeByScore(byte[] key, byte[] min, byte[] max, int offset, int count)
-
zrevrangeByScore
public void zrevrangeByScore(byte[] key, byte[] max, byte[] min, int offset, int count)
-
zrangeByScoreWithScores
public void zrangeByScoreWithScores(byte[] key, byte[] min, byte[] max)
-
zrevrangeByScoreWithScores
public void zrevrangeByScoreWithScores(byte[] key, byte[] max, byte[] min)
-
zrangeByScoreWithScores
public void zrangeByScoreWithScores(byte[] key, byte[] min, byte[] max, int offset, int count)
-
zrevrangeByScoreWithScores
public void zrevrangeByScoreWithScores(byte[] key, byte[] max, byte[] min, int offset, int count)
-
zremrangeByRank
public void zremrangeByRank(byte[] key, long start, long stop)
-
zremrangeByScore
public void zremrangeByScore(byte[] key, double min, double max)
-
zremrangeByScore
public void zremrangeByScore(byte[] key, byte[] min, byte[] max)
-
zunionstore
public void zunionstore(byte[] dstkey, byte[]... sets)
-
zunionstore
public void zunionstore(byte[] dstkey, ZParams params, byte[]... sets)
-
zinterstore
public void zinterstore(byte[] dstkey, byte[]... sets)
-
zinterstore
public void zinterstore(byte[] dstkey, ZParams params, byte[]... sets)
-
zlexcount
public void zlexcount(byte[] key, byte[] min, byte[] max)
-
zrangeByLex
public void zrangeByLex(byte[] key, byte[] min, byte[] max)
-
zrangeByLex
public void zrangeByLex(byte[] key, byte[] min, byte[] max, int offset, int count)
-
zrevrangeByLex
public void zrevrangeByLex(byte[] key, byte[] max, byte[] min)
-
zrevrangeByLex
public void zrevrangeByLex(byte[] key, byte[] max, byte[] min, int offset, int count)
-
zremrangeByLex
public void zremrangeByLex(byte[] key, byte[] min, byte[] max)
-
save
public void save()
-
bgsave
public void bgsave()
-
bgrewriteaof
public void bgrewriteaof()
-
lastsave
public void lastsave()
-
shutdown
public void shutdown()
-
info
public void info()
-
info
public void info(String section)
-
monitor
public void monitor()
-
slaveof
public void slaveof(String host, int port)
-
slaveofNoOne
public void slaveofNoOne()
-
configGet
public void configGet(byte[] pattern)
-
configSet
public void configSet(byte[] parameter, byte[] value)
-
strlen
public void strlen(byte[] key)
-
sync
public void sync()
-
lpushx
public void lpushx(byte[] key, byte[]... string)
-
persist
public void persist(byte[] key)
-
rpushx
public void rpushx(byte[] key, byte[]... string)
-
echo
public void echo(byte[] string)
-
linsert
public void linsert(byte[] key, ListPosition where, byte[] pivot, byte[] value)
-
debug
public void debug(DebugParams params)
-
brpoplpush
public void brpoplpush(byte[] source, byte[] destination, int timeout)
-
configResetStat
public void configResetStat()
-
configRewrite
public void configRewrite()
-
setbit
public void setbit(byte[] key, long offset, byte[] value)
-
setbit
public void setbit(byte[] key, long offset, boolean value)
-
getbit
public void getbit(byte[] key, long offset)
-
bitpos
public void bitpos(byte[] key, boolean value, BitPosParams params)
-
setrange
public void setrange(byte[] key, long offset, byte[] value)
-
getrange
public void getrange(byte[] key, long startOffset, long endOffset)
-
getDB
public int getDB()
-
disconnect
public void disconnect()
- Overrides:
disconnectin classConnection
-
close
public void close()
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classConnection
-
resetState
public void resetState()
-
eval
public void eval(byte[] script, byte[] keyCount, byte[][] params)
-
eval
public void eval(byte[] script, int keyCount, byte[]... params)
-
evalsha
public void evalsha(byte[] sha1, byte[] keyCount, byte[]... params)
-
evalsha
public void evalsha(byte[] sha1, int keyCount, byte[]... params)
-
scriptFlush
public void scriptFlush()
-
scriptExists
public void scriptExists(byte[]... sha1)
-
scriptLoad
public void scriptLoad(byte[] script)
-
scriptKill
public void scriptKill()
-
slowlogGet
public void slowlogGet()
-
slowlogGet
public void slowlogGet(long entries)
-
slowlogReset
public void slowlogReset()
-
slowlogLen
public void slowlogLen()
-
objectRefcount
public void objectRefcount(byte[] key)
-
objectIdletime
public void objectIdletime(byte[] key)
-
objectEncoding
public void objectEncoding(byte[] key)
-
objectHelp
public void objectHelp()
-
objectFreq
public void objectFreq(byte[] key)
-
bitcount
public void bitcount(byte[] key)
-
bitcount
public void bitcount(byte[] key, long start, long end)
-
bitop
public void bitop(BitOP op, byte[] destKey, byte[]... srcKeys)
-
sentinel
public void sentinel(byte[]... args)
-
dump
public void dump(byte[] key)
-
restore
public void restore(byte[] key, int ttl, byte[] serializedValue)
-
restoreReplace
public void restoreReplace(byte[] key, int ttl, byte[] serializedValue)
-
pexpire
public void pexpire(byte[] key, long milliseconds)
-
pexpireAt
public void pexpireAt(byte[] key, long millisecondsTimestamp)
-
pttl
public void pttl(byte[] key)
-
psetex
public void psetex(byte[] key, long milliseconds, byte[] value)
-
srandmember
public void srandmember(byte[] key, int count)
-
memoryDoctor
public void memoryDoctor()
-
memoryUsage
public void memoryUsage(byte[] key)
-
memoryUsage
public void memoryUsage(byte[] key, int samples)
-
clientKill
public void clientKill(byte[] ipPort)
-
clientKill
public void clientKill(String ip, int port)
-
clientKill
public void clientKill(ClientKillParams params)
-
clientGetname
public void clientGetname()
-
clientList
public void clientList()
-
clientSetname
public void clientSetname(byte[] name)
-
clientPause
public void clientPause(long timeout)
-
clientId
public void clientId()
-
time
public void time()
-
migrate
public void migrate(String host, int port, byte[] key, int destinationDb, int timeout)
-
migrate
public void migrate(String host, int port, int destinationDB, int timeout, MigrateParams params, byte[]... keys)
-
hincrByFloat
public void hincrByFloat(byte[] key, byte[] field, double increment)
-
scan
public void scan(byte[] cursor, ScanParams params)
-
hscan
public void hscan(byte[] key, byte[] cursor, ScanParams params)
-
sscan
public void sscan(byte[] key, byte[] cursor, ScanParams params)
-
zscan
public void zscan(byte[] key, byte[] cursor, ScanParams params)
-
waitReplicas
public void waitReplicas(int replicas, long timeout)
-
cluster
public void cluster(byte[]... args)
-
asking
public void asking()
-
pfadd
public void pfadd(byte[] key, byte[]... elements)
-
pfcount
public void pfcount(byte[] key)
-
pfcount
public void pfcount(byte[]... keys)
-
pfmerge
public void pfmerge(byte[] destkey, byte[]... sourcekeys)
-
readonly
public void readonly()
-
geoadd
public void geoadd(byte[] key, double longitude, double latitude, byte[] member)
-
geoadd
public void geoadd(byte[] key, Map<byte[],GeoCoordinate> memberCoordinateMap)
-
geodist
public void geodist(byte[] key, byte[] member1, byte[] member2)
-
geodist
public void geodist(byte[] key, byte[] member1, byte[] member2, GeoUnit unit)
-
geohash
public void geohash(byte[] key, byte[]... members)
-
geopos
public void geopos(byte[] key, byte[][] members)
-
georadius
public void georadius(byte[] key, double longitude, double latitude, double radius, GeoUnit unit)
-
georadiusReadonly
public void georadiusReadonly(byte[] key, double longitude, double latitude, double radius, GeoUnit unit)
-
georadius
public void georadius(byte[] key, double longitude, double latitude, double radius, GeoUnit unit, GeoRadiusParam param)
-
georadiusStore
public void georadiusStore(byte[] key, double longitude, double latitude, double radius, GeoUnit unit, GeoRadiusParam param, GeoRadiusStoreParam storeParam)
-
georadiusReadonly
public void georadiusReadonly(byte[] key, double longitude, double latitude, double radius, GeoUnit unit, GeoRadiusParam param)
-
georadiusByMember
public void georadiusByMember(byte[] key, byte[] member, double radius, GeoUnit unit)
-
georadiusByMemberReadonly
public void georadiusByMemberReadonly(byte[] key, byte[] member, double radius, GeoUnit unit)
-
georadiusByMember
public void georadiusByMember(byte[] key, byte[] member, double radius, GeoUnit unit, GeoRadiusParam param)
-
georadiusByMemberStore
public void georadiusByMemberStore(byte[] key, byte[] member, double radius, GeoUnit unit, GeoRadiusParam param, GeoRadiusStoreParam storeParam)
-
georadiusByMemberReadonly
public void georadiusByMemberReadonly(byte[] key, byte[] member, double radius, GeoUnit unit, GeoRadiusParam param)
-
moduleLoad
public void moduleLoad(byte[] path)
-
moduleList
public void moduleList()
-
moduleUnload
public void moduleUnload(byte[] name)
-
aclWhoAmI
public void aclWhoAmI()
-
aclGenPass
public void aclGenPass()
-
aclList
public void aclList()
-
aclUsers
public void aclUsers()
-
aclCat
public void aclCat()
-
aclCat
public void aclCat(byte[] category)
-
aclLog
public void aclLog()
-
aclLog
public void aclLog(int limit)
-
aclLog
public void aclLog(byte[] option)
-
aclSetUser
public void aclSetUser(byte[] name)
-
aclGetUser
public void aclGetUser(byte[] name)
-
aclSetUser
public void aclSetUser(byte[] name, byte[][] parameters)
-
aclDelUser
public void aclDelUser(byte[] name)
-
bitfield
public void bitfield(byte[] key, byte[]... value)
-
bitfieldReadonly
public void bitfieldReadonly(byte[] key, byte[]... arguments)
-
hstrlen
public void hstrlen(byte[] key, byte[] field)
-
xadd
public void xadd(byte[] key, byte[] id, Map<byte[],byte[]> hash, long maxLen, boolean approximateLength)
-
xlen
public void xlen(byte[] key)
-
xrange
public void xrange(byte[] key, byte[] start, byte[] end, long count)
-
xrevrange
public void xrevrange(byte[] key, byte[] end, byte[] start, int count)
-
xread
public void xread(int count, long block, Map<byte[],byte[]> streams)
-
xack
public void xack(byte[] key, byte[] group, byte[]... ids)
-
xgroupCreate
public void xgroupCreate(byte[] key, byte[] groupname, byte[] id, boolean makeStream)
-
xgroupSetID
public void xgroupSetID(byte[] key, byte[] groupname, byte[] id)
-
xgroupDestroy
public void xgroupDestroy(byte[] key, byte[] groupname)
-
xgroupDelConsumer
public void xgroupDelConsumer(byte[] key, byte[] groupname, byte[] consumerName)
-
xdel
public void xdel(byte[] key, byte[]... ids)
-
xtrim
public void xtrim(byte[] key, long maxLen, boolean approximateLength)
-
xreadGroup
public void xreadGroup(byte[] groupname, byte[] consumer, int count, long block, boolean noAck, Map<byte[],byte[]> streams)
-
xpending
public void xpending(byte[] key, byte[] groupname, byte[] start, byte[] end, int count, byte[] consumername)
-
xclaim
public void xclaim(byte[] key, byte[] groupname, byte[] consumername, long minIdleTime, long newIdleTime, int retries, boolean force, byte[][] ids)
-
xinfoStream
public void xinfoStream(byte[] key)
-
xinfoGroup
public void xinfoGroup(byte[] key)
-
xinfoConsumers
public void xinfoConsumers(byte[] key, byte[] group)
-
-