redis.clients.jedis
Class BinaryClient

java.lang.Object
  extended by redis.clients.jedis.Connection
      extended by redis.clients.jedis.BinaryClient
All Implemented Interfaces:
Closeable
Direct Known Subclasses:
Client

public class BinaryClient
extends Connection


Nested Class Summary
static class BinaryClient.LIST_POSITION
           
 
Constructor Summary
BinaryClient(String host)
           
BinaryClient(String host, int port)
           
 
Method Summary
 void append(byte[] key, byte[] value)
           
 void asking()
           
 void auth(String password)
           
 void bgrewriteaof()
           
 void bgsave()
           
 void bitcount(byte[] key)
           
 void bitcount(byte[] key, long start, long end)
           
 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[] client)
           
 void clientList()
           
 void clientSetname(byte[] name)
           
 void close()
           
 void cluster(byte[]... args)
           
 void configGet(byte[] pattern)
           
 void configResetStat()
           
 void configSet(byte[] parameter, byte[] value)
           
 void connect()
           
 void dbSize()
           
 void debug(DebugParams params)
           
 void decr(byte[] key)
           
 void decrBy(byte[] key, long integer)
           
 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[] key)
           
 void expire(byte[] key, int seconds)
           
 void expireAt(byte[] key, long unixTime)
           
 void flushAll()
           
 void flushDB()
           
 void get(byte[] key)
           
 void getbit(byte[] key, long offset)
           
 Long 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 hscan(byte[] key, int cursor, ScanParams params)
          Deprecated. 
 void hset(byte[] key, byte[] field, byte[] value)
           
 void hsetnx(byte[] key, byte[] field, byte[] value)
           
 void hvals(byte[] key)
           
 void incr(byte[] key)
           
 void incrBy(byte[] key, long integer)
           
 void incrByFloat(byte[] key, double value)
           
 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, BinaryClient.LIST_POSITION 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 end)
           
 void lrem(byte[] key, long count, byte[] value)
           
 void lset(byte[] key, long index, byte[] value)
           
 void ltrim(byte[] key, long start, long end)
           
 void mget(byte[]... keys)
           
 void migrate(byte[] host, int port, byte[] key, int destinationDb, int timeout)
           
 void monitor()
           
 void move(byte[] key, int dbIndex)
           
 void mset(byte[]... keysvalues)
           
 void msetnx(byte[]... keysvalues)
           
 void multi()
           
 void objectEncoding(byte[] key)
           
 void objectIdletime(byte[] key)
           
 void objectRefcount(byte[] key)
           
 void persist(byte[] key)
           
 void pexpire(byte[] key, int milliseconds)
          Deprecated. 
 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 psetex(byte[] key, int 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 rename(byte[] oldkey, byte[] newkey)
           
 void renamenx(byte[] oldkey, byte[] newkey)
           
 void resetState()
           
 void restore(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 scan(int cursor, ScanParams params)
          Deprecated. 
 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, byte[] nxxx)
           
 void set(byte[] key, byte[] value, byte[] nxxx, byte[] expx, int time)
           
 void set(byte[] key, byte[] value, byte[] nxxx, byte[] expx, long time)
           
 void setbit(byte[] key, long offset, boolean value)
           
 void setbit(byte[] key, long offset, byte[] value)
           
 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 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 srandmember(byte[] key)
           
 void srandmember(byte[] key, int count)
           
 void srem(byte[] key, byte[]... members)
           
 void sscan(byte[] key, byte[] cursor, ScanParams params)
           
 void sscan(byte[] key, int cursor, ScanParams params)
          Deprecated. 
 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 sync()
           
 void time()
           
 void ttl(byte[] key)
           
 void type(byte[] key)
           
 void unsubscribe()
           
 void unsubscribe(byte[]... channels)
           
 void unwatch()
           
 void waitReplicas(int replicas, long timeout)
           
 void watch(byte[]... keys)
           
 void zadd(byte[] key, double score, byte[] member)
           
 void zaddBinary(byte[] key, Map<byte[],Double> scoreMembers)
           
 void zcard(byte[] key)
           
 void zcount(byte[] key, byte[] min, byte[] max)
           
 void zcount(byte[] key, double min, double max)
           
 void zcount(byte[] key, String min, String max)
           
 void zincrby(byte[] key, double score, byte[] member)
           
 void zinterstore(byte[] dstkey, byte[]... sets)
           
 void zinterstore(byte[] dstkey, ZParams params, byte[]... sets)
           
 void zlexcount(byte[] key, byte[] min, byte[] max)
           
 void zrange(byte[] key, long start, long end)
           
 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 zrangeByScore(byte[] key, String min, String max)
           
 void zrangeByScore(byte[] key, String min, String 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 zrangeByScoreWithScores(byte[] key, String min, String max)
           
 void zrangeByScoreWithScores(byte[] key, String min, String max, int offset, int count)
           
 void zrangeWithScores(byte[] key, long start, long end)
           
 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 end)
           
 void zremrangeByScore(byte[] key, byte[] start, byte[] end)
           
 void zremrangeByScore(byte[] key, String start, String end)
           
 void zrevrange(byte[] key, long start, long end)
           
 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 zrevrangeByScore(byte[] key, String max, String min)
           
 void zrevrangeByScore(byte[] key, String max, String 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 zrevrangeByScoreWithScores(byte[] key, String max, String min)
           
 void zrevrangeByScoreWithScores(byte[] key, String max, String min, int offset, int count)
           
 void zrevrangeWithScores(byte[] key, long start, long end)
           
 void zrevrank(byte[] key, byte[] member)
           
 void zscan(byte[] key, byte[] cursor, ScanParams params)
           
 void zscan(byte[] key, int cursor, ScanParams params)
          Deprecated. 
 void zscore(byte[] key, byte[] member)
           
 void zunionstore(byte[] dstkey, byte[]... sets)
           
 void zunionstore(byte[] dstkey, ZParams params, byte[]... sets)
           
 
Methods inherited from class redis.clients.jedis.Connection
flush, getAll, getAll, getBinaryBulkReply, getBinaryMultiBulkReply, getBulkReply, getHost, getIntegerMultiBulkReply, getIntegerReply, getMultiBulkReply, getObjectMultiBulkReply, getOne, getPort, getRawObjectMultiBulkReply, getSocket, getStatusCodeReply, getTimeout, isBroken, isConnected, readProtocolWithCheckingBroken, resetPipelinedCount, rollbackTimeout, sendCommand, sendCommand, sendCommand, setHost, setPort, setTimeout, setTimeoutInfinite
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BinaryClient

public BinaryClient(String host)

BinaryClient

public BinaryClient(String host,
                    int port)
Method Detail

isInMulti

public boolean isInMulti()

isInWatch

public boolean isInWatch()

setPassword

public void setPassword(String password)

connect

public void connect()
Overrides:
connect in class Connection

ping

public void ping()

set

public void set(byte[] key,
                byte[] value)

set

public void set(byte[] key,
                byte[] value,
                byte[] nxxx,
                byte[] expx,
                long time)

get

public void get(byte[] key)

quit

public void quit()

exists

public void exists(byte[] key)

del

public void del(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)

select

public void select(int index)

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 integer)

decr

public void decr(byte[] key)

incrBy

public void incrBy(byte[] key,
                   long integer)

incrByFloat

public void incrByFloat(byte[] key,
                        double value)

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)

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 end)

ltrim

public void ltrim(byte[] key,
                  long start,
                  long end)

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)

rpop

public void rpop(byte[] key)

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)

smove

public void smove(byte[] srckey,
                  byte[] dstkey,
                  byte[] member)

scard

public void scard(byte[] key)

sismember

public void sismember(byte[] key,
                      byte[] member)

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)

zaddBinary

public void zaddBinary(byte[] key,
                       Map<byte[],Double> scoreMembers)

zrange

public void zrange(byte[] key,
                   long start,
                   long end)

zrem

public void zrem(byte[] key,
                 byte[]... members)

zincrby

public void zincrby(byte[] key,
                    double score,
                    byte[] member)

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 end)

zrangeWithScores

public void zrangeWithScores(byte[] key,
                             long start,
                             long end)

zrevrangeWithScores

public void zrevrangeWithScores(byte[] key,
                                long start,
                                long end)

zcard

public void zcard(byte[] key)

zscore

public void zscore(byte[] key,
                   byte[] member)

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)

zcount

public void zcount(byte[] key,
                   String min,
                   String max)

zrangeByScore

public void zrangeByScore(byte[] key,
                          double min,
                          double max)

zrangeByScore

public void zrangeByScore(byte[] key,
                          byte[] min,
                          byte[] max)

zrangeByScore

public void zrangeByScore(byte[] key,
                          String min,
                          String max)

zrevrangeByScore

public void zrevrangeByScore(byte[] key,
                             double max,
                             double min)

zrevrangeByScore

public void zrevrangeByScore(byte[] key,
                             byte[] max,
                             byte[] min)

zrevrangeByScore

public void zrevrangeByScore(byte[] key,
                             String max,
                             String min)

zrangeByScore

public void zrangeByScore(byte[] key,
                          double min,
                          double max,
                          int offset,
                          int count)

zrangeByScore

public void zrangeByScore(byte[] key,
                          String min,
                          String max,
                          int offset,
                          int count)

zrevrangeByScore

public void zrevrangeByScore(byte[] key,
                             double max,
                             double min,
                             int offset,
                             int count)

zrevrangeByScore

public void zrevrangeByScore(byte[] key,
                             String max,
                             String min,
                             int offset,
                             int count)

zrangeByScoreWithScores

public void zrangeByScoreWithScores(byte[] key,
                                    double min,
                                    double max)

zrangeByScoreWithScores

public void zrangeByScoreWithScores(byte[] key,
                                    String min,
                                    String max)

zrevrangeByScoreWithScores

public void zrevrangeByScoreWithScores(byte[] key,
                                       double max,
                                       double min)

zrevrangeByScoreWithScores

public void zrevrangeByScoreWithScores(byte[] key,
                                       String max,
                                       String min)

zrangeByScoreWithScores

public void zrangeByScoreWithScores(byte[] key,
                                    double min,
                                    double max,
                                    int offset,
                                    int count)

zrangeByScoreWithScores

public void zrangeByScoreWithScores(byte[] key,
                                    String min,
                                    String max,
                                    int offset,
                                    int count)

zrevrangeByScoreWithScores

public void zrevrangeByScoreWithScores(byte[] key,
                                       double max,
                                       double min,
                                       int offset,
                                       int count)

zrevrangeByScoreWithScores

public void zrevrangeByScoreWithScores(byte[] key,
                                       String max,
                                       String 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 end)

zremrangeByScore

public void zremrangeByScore(byte[] key,
                             byte[] start,
                             byte[] end)

zremrangeByScore

public void zremrangeByScore(byte[] key,
                             String start,
                             String end)

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)

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,
                    BinaryClient.LIST_POSITION 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()

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 Long getDB()

disconnect

public void disconnect()
Overrides:
disconnect in class Connection

close

public void close()
Specified by:
close in interface Closeable
Overrides:
close in class Connection

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)

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)

pexpire

@Deprecated
public void pexpire(byte[] key,
                               int milliseconds)
Deprecated. 


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,
                   int milliseconds,
                   byte[] value)

set

public void set(byte[] key,
                byte[] value,
                byte[] nxxx)

set

public void set(byte[] key,
                byte[] value,
                byte[] nxxx,
                byte[] expx,
                int time)

srandmember

public void srandmember(byte[] key,
                        int count)

clientKill

public void clientKill(byte[] client)

clientGetname

public void clientGetname()

clientList

public void clientList()

clientSetname

public void clientSetname(byte[] name)

time

public void time()

migrate

public void migrate(byte[] host,
                    int port,
                    byte[] key,
                    int destinationDb,
                    int timeout)

hincrByFloat

public void hincrByFloat(byte[] key,
                         byte[] field,
                         double increment)

scan

@Deprecated
public void scan(int cursor,
                            ScanParams params)
Deprecated. 


hscan

@Deprecated
public void hscan(byte[] key,
                             int cursor,
                             ScanParams params)
Deprecated. 


sscan

@Deprecated
public void sscan(byte[] key,
                             int cursor,
                             ScanParams params)
Deprecated. 


zscan

@Deprecated
public void zscan(byte[] key,
                             int cursor,
                             ScanParams params)
Deprecated. 


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)


Copyright © 2014. All rights reserved.