public class EmbeddedJedis extends Object implements redis.clients.jedis.JedisCommands, redis.clients.jedis.BinaryJedisCommands
| Modifier and Type | Field and Description |
|---|---|
protected ConnectionServerOperations |
connectionServerOperations |
protected HashDatatypeOperations |
hashDatatypeOperations |
protected KeysServerOperations |
keysServerOperations |
protected ListDatatypeOperations |
listDatatypeOperations |
protected PubSubServerOperations |
pubSubServerOperations |
protected ScriptingServerOperations |
scriptingServerOperations |
protected SetDatatypeOperations |
setDatatypeOperations |
protected SortsetDatatypeOperations |
sortsetDatatypeOperations |
protected StringDatatypeOperations |
stringDatatypeOperations |
protected TransactionServerOperations |
transactionServerOperations |
| Constructor and Description |
|---|
EmbeddedJedis() |
| Modifier and Type | Method and Description |
|---|---|
Long |
append(byte[] key,
byte[] value) |
Long |
append(String key,
String value) |
String |
auth(String password) |
String |
bgrewriteaof() |
String |
bgsave() |
Long |
bitcount(byte[] key) |
Long |
bitcount(byte[] key,
long start,
long end) |
Long |
bitcount(String key) |
Long |
bitcount(String key,
long start,
long end) |
List<byte[]> |
blpop(byte[] key) |
List<String> |
blpop(String key) |
List<byte[]> |
brpop(byte[] key) |
List<String> |
brpop(String key) |
List<byte[]> |
configGet(byte[] pattern) |
List<String> |
configGet(String pattern) |
String |
configResetStat() |
byte[] |
configSet(byte[] parameter,
byte[] value) |
String |
configSet(String parameter,
String value) |
Long |
dbSize() |
Long |
decr(byte[] key) |
Long |
decr(String key) |
Long |
decrBy(byte[] key,
long integer) |
Long |
decrBy(String key,
long integer) |
Long |
del(byte[]... keys) |
Long |
del(byte[] key) |
Long |
del(String... keys) |
Long |
del(String key) |
byte[] |
echo(byte[] string) |
String |
echo(String string) |
Object |
eval(byte[] script,
byte[] keyCount,
byte[][] params) |
Object |
eval(byte[] script,
List<byte[]> keys,
List<byte[]> args)
Evaluates scripts using the Lua interpreter built into Redis starting
from version 2.6.0.
|
Object |
eval(String script) |
Object |
eval(String script,
int keyCount,
String... params) |
Object |
eval(String script,
List<String> keys,
List<String> args) |
Object |
evalsha(byte[] sha1,
byte[] keyCount,
byte[]... params) |
Object |
evalsha(String script) |
Object |
evalsha(String sha1,
int keyCount,
String... params) |
Object |
evalsha(String sha1,
List<String> keys,
List<String> args) |
Boolean |
exists(byte[] key) |
Boolean |
exists(String key) |
Long |
expire(byte[] key,
int seconds) |
Long |
expire(String key,
int seconds) |
Long |
expireAt(byte[] key,
long unixTime) |
Long |
expireAt(String key,
long unixTime) |
String |
flushAll() |
String |
flushDB() |
byte[] |
get(byte[] key) |
String |
get(String key) |
Boolean |
getbit(byte[] key,
long offset) |
Boolean |
getbit(String key,
long offset) |
Long |
getDB() |
byte[] |
getrange(byte[] key,
long startOffset,
long endOffset) |
String |
getrange(String key,
long startOffset,
long endOffset) |
byte[] |
getSet(byte[] key,
byte[] value) |
String |
getSet(String key,
String value) |
Long |
hdel(byte[] key,
byte[]... fields) |
Long |
hdel(String key,
String... fields) |
Boolean |
hexists(byte[] key,
byte[] field) |
Boolean |
hexists(String key,
String field) |
byte[] |
hget(byte[] key,
byte[] field) |
String |
hget(String key,
String field) |
Map<byte[],byte[]> |
hgetAll(byte[] key) |
Map<String,String> |
hgetAll(String key) |
Long |
hincrBy(byte[] key,
byte[] field,
long value) |
Long |
hincrBy(String key,
String field,
long value) |
Set<byte[]> |
hkeys(byte[] key) |
Set<String> |
hkeys(String key) |
Long |
hlen(byte[] key) |
Long |
hlen(String key) |
List<byte[]> |
hmget(byte[] key,
byte[]... fields) |
List<String> |
hmget(String key,
String... fields) |
String |
hmset(byte[] key,
Map<byte[],byte[]> hash) |
String |
hmset(String key,
Map<String,String> hash) |
redis.clients.jedis.ScanResult<Map.Entry<String,String>> |
hscan(String s,
int i) |
redis.clients.jedis.ScanResult<Map.Entry<String,String>> |
hscan(String s,
String s2) |
Long |
hset(byte[] key,
byte[] field,
byte[] value) |
Long |
hset(String key,
String field,
String value) |
Long |
hsetnx(byte[] key,
byte[] field,
byte[] value) |
Long |
hsetnx(String key,
String field,
String value) |
Collection<byte[]> |
hvals(byte[] key) |
List<String> |
hvals(String key) |
Long |
incr(byte[] key) |
Long |
incr(String key) |
Long |
incrBy(byte[] key,
long integer) |
Long |
incrBy(String key,
long integer) |
String |
info() |
boolean |
isConnected() |
Set<byte[]> |
keys(byte[] pattern) |
Set<String> |
keys(String pattern) |
Long |
lastsave() |
byte[] |
lindex(byte[] key,
long index) |
String |
lindex(String key,
long index) |
Long |
linsert(byte[] key,
redis.clients.jedis.BinaryClient.LIST_POSITION where,
byte[] pivot,
byte[] value) |
Long |
linsert(String key,
redis.clients.jedis.BinaryClient.LIST_POSITION where,
String pivot,
String value) |
Long |
llen(byte[] key) |
Long |
llen(String key) |
byte[] |
lpop(byte[] key) |
String |
lpop(String key) |
Long |
lpush(byte[] key,
byte[]... values) |
Long |
lpush(String key,
String... fields) |
Long |
lpushx(byte[] key,
byte[]... values) |
Long |
lpushx(byte[] key,
byte[] value) |
Long |
lpushx(String key,
String... values) |
Long |
lpushx(String key,
String string) |
List<byte[]> |
lrange(byte[] key,
long start,
long end) |
List<String> |
lrange(String key,
long start,
long end) |
Long |
lrem(byte[] key,
long count,
byte[] value) |
Long |
lrem(String key,
long count,
String value) |
String |
lset(byte[] key,
long index,
byte[] value) |
String |
lset(String key,
long index,
String value) |
String |
ltrim(byte[] key,
long start,
long end) |
String |
ltrim(String key,
long start,
long end) |
void |
monitor(redis.clients.jedis.JedisMonitor jedisMonitor) |
Long |
move(byte[] key,
int dbIndex) |
Long |
move(String key,
int dbIndex) |
redis.clients.jedis.Transaction |
multi() |
List<Object> |
multi(redis.clients.jedis.TransactionBlock jedisTransaction) |
byte[] |
objectEncoding(byte[] key) |
byte[] |
objectEncoding(String key) |
Long |
objectIdletime(byte[] key) |
Long |
objectIdletime(String key) |
Long |
objectRefcount(byte[] key) |
Long |
objectRefcount(String key) |
Long |
persist(byte[] key) |
Long |
persist(String key) |
String |
ping() |
redis.clients.jedis.Pipeline |
pipelined() |
List<Object> |
pipelined(redis.clients.jedis.PipelineBlock jedisPipeline) |
void |
psubscribe(redis.clients.jedis.BinaryJedisPubSub jedisPubSub,
byte[]... patterns) |
void |
psubscribe(redis.clients.jedis.BinaryJedisPubSub jedisPubSub,
String... patterns) |
void |
psubscribe(redis.clients.jedis.JedisPubSub jedisPubSub,
byte[]... patterns) |
void |
psubscribe(redis.clients.jedis.JedisPubSub jedisPubSub,
String... patterns) |
Long |
publish(byte[] channel,
byte[] message) |
Long |
publish(String channel,
String message) |
String |
quit() |
String |
rename(byte[] oldkey,
byte[] newkey) |
String |
rename(String oldkey,
String newkey) |
Long |
renamenx(byte[] oldkey,
byte[] newkey)
Rename oldkey into newkey but fails if the destination key newkey already
exists.
|
Long |
renamenx(String oldkey,
String newkey)
Rename oldkey into newkey but fails if the destination key newkey already
exists.
|
byte[] |
rpop(byte[] key) |
String |
rpop(String key) |
Long |
rpush(byte[] key,
byte[]... values) |
Long |
rpush(String key,
String... fields) |
Long |
rpushx(byte[] key,
byte[]... values) |
Long |
rpushx(byte[] key,
byte[] value) |
Long |
rpushx(String key,
String... values) |
Long |
rpushx(String key,
String string) |
Long |
sadd(byte[] key,
byte[]... member) |
Long |
sadd(String key,
String... members) |
String |
save() |
Long |
scard(byte[] key) |
Long |
scard(String key) |
List<Long> |
scriptExists(byte[]... sha1) |
List<Boolean> |
scriptExists(String... sha1) |
Boolean |
scriptExists(String sha1) |
byte[] |
scriptFlush() |
byte[] |
scriptKill() |
byte[] |
scriptLoad(byte[] script) |
String |
scriptLoad(String script) |
String |
select(int index) |
String |
set(byte[] key,
byte[] value) |
String |
set(String key,
String value) |
Boolean |
setbit(byte[] key,
long offset,
boolean value) |
Boolean |
setbit(byte[] key,
long offset,
byte[] value) |
Boolean |
setbit(String key,
long offset,
boolean value) |
Boolean |
setbit(String key,
long offset,
String value) |
String |
setex(byte[] key,
int seconds,
byte[] value) |
String |
setex(String key,
int seconds,
String value) |
Long |
setnx(byte[] key,
byte[] value) |
Long |
setnx(String key,
String value) |
Long |
setrange(byte[] key,
long offset,
byte[] value) |
Long |
setrange(String key,
long offset,
String value) |
String |
shutdown() |
Boolean |
sismember(byte[] key,
byte[] member) |
Boolean |
sismember(String key,
String member) |
String |
slaveof(String host,
int port) |
String |
slaveofNoOne() |
List<redis.clients.util.Slowlog> |
slowlogGet() |
List<redis.clients.util.Slowlog> |
slowlogGet(long entries) |
List<byte[]> |
slowlogGetBinary() |
List<byte[]> |
slowlogGetBinary(long entries) |
long |
slowlogLen() |
byte[] |
slowlogReset() |
Set<byte[]> |
smembers(byte[] key) |
Set<String> |
smembers(String key) |
List<byte[]> |
sort(byte[] key) |
List<byte[]> |
sort(byte[] key,
redis.clients.jedis.SortingParams sortingParameters) |
List<String> |
sort(String key) |
List<String> |
sort(String key,
redis.clients.jedis.SortingParams sortingParameters) |
byte[] |
spop(byte[] key) |
String |
spop(String key) |
byte[] |
srandmember(byte[] key) |
String |
srandmember(String key) |
Long |
srem(byte[] key,
byte[]... member) |
Long |
srem(String key,
String... members) |
redis.clients.jedis.ScanResult<String> |
sscan(String s,
int i) |
redis.clients.jedis.ScanResult<String> |
sscan(String s,
String s2) |
Long |
strlen(byte[] key) |
Long |
strlen(String key) |
void |
subscribe(redis.clients.jedis.JedisPubSub jedisPubSub,
byte[]... channels) |
void |
subscribe(redis.clients.jedis.JedisPubSub jedisPubSub,
String... channels) |
byte[] |
substr(byte[] key,
int start,
int end) |
String |
substr(String key,
int start,
int end) |
void |
sync() |
Long |
time() |
Long |
ttl(byte[] key) |
Long |
ttl(String key) |
String |
type(byte[] key) |
String |
type(String key) |
String |
unwatch() |
String |
watch(byte[]... keys) |
String |
watch(String... keys) |
Long |
zadd(byte[] key,
double score,
byte[] member) |
Long |
zadd(byte[] key,
Map<byte[],Double> scoreMembers) |
Long |
zadd(String key,
double score,
String member) |
Long |
zadd(String key,
Map<String,Double> scoreMembers) |
Long |
zcard(byte[] key) |
Long |
zcard(String key) |
Long |
zcount(byte[] key,
byte[] min,
byte[] max) |
Long |
zcount(byte[] key,
double min,
double max) |
Long |
zcount(String key,
double min,
double max) |
Long |
zcount(String key,
String min,
String max) |
Double |
zincrby(byte[] key,
double score,
byte[] member) |
Double |
zincrby(String key,
double score,
String member) |
Set<byte[]> |
zrange(byte[] key,
long start,
long end) |
Set<String> |
zrange(String key,
long start,
long end) |
Set<byte[]> |
zrangeByScore(byte[] key,
byte[] min,
byte[] max) |
Set<byte[]> |
zrangeByScore(byte[] key,
byte[] min,
byte[] max,
int offset,
int count) |
Set<byte[]> |
zrangeByScore(byte[] key,
double min,
double max) |
Set<byte[]> |
zrangeByScore(byte[] key,
double min,
double max,
int offset,
int count) |
Set<String> |
zrangeByScore(String key,
double min,
double max) |
Set<String> |
zrangeByScore(String key,
double min,
double max,
int offset,
int count) |
Set<String> |
zrangeByScore(String key,
String min,
String max) |
Set<String> |
zrangeByScore(String key,
String min,
String max,
int offset,
int count) |
Set<redis.clients.jedis.Tuple> |
zrangeByScoreWithScores(byte[] key,
byte[] min,
byte[] max) |
Set<redis.clients.jedis.Tuple> |
zrangeByScoreWithScores(byte[] key,
byte[] min,
byte[] max,
int offset,
int count) |
Set<redis.clients.jedis.Tuple> |
zrangeByScoreWithScores(byte[] key,
double min,
double max) |
Set<redis.clients.jedis.Tuple> |
zrangeByScoreWithScores(byte[] key,
double min,
double max,
int offset,
int count) |
Set<redis.clients.jedis.Tuple> |
zrangeByScoreWithScores(String key,
double min,
double max) |
Set<redis.clients.jedis.Tuple> |
zrangeByScoreWithScores(String key,
double min,
double max,
int offset,
int count) |
Set<redis.clients.jedis.Tuple> |
zrangeByScoreWithScores(String key,
String min,
String max) |
Set<redis.clients.jedis.Tuple> |
zrangeByScoreWithScores(String key,
String min,
String max,
int offset,
int count) |
Set<redis.clients.jedis.Tuple> |
zrangeWithScores(byte[] key,
long start,
long end) |
Set<redis.clients.jedis.Tuple> |
zrangeWithScores(String key,
long start,
long end) |
Long |
zrank(byte[] key,
byte[] member) |
Long |
zrank(String key,
String member) |
Long |
zrem(byte[] key,
byte[]... members) |
Long |
zrem(String key,
String... members) |
Long |
zremrangeByRank(byte[] key,
long start,
long end) |
Long |
zremrangeByRank(String key,
long start,
long end) |
Long |
zremrangeByScore(byte[] key,
byte[] start,
byte[] end) |
Long |
zremrangeByScore(byte[] key,
double start,
double end) |
Long |
zremrangeByScore(String key,
double start,
double end) |
Long |
zremrangeByScore(String key,
String start,
String end) |
Set<byte[]> |
zrevrange(byte[] key,
long start,
long end) |
Set<String> |
zrevrange(String key,
long start,
long end) |
Set<byte[]> |
zrevrangeByScore(byte[] key,
byte[] max,
byte[] min) |
Set<byte[]> |
zrevrangeByScore(byte[] key,
byte[] max,
byte[] min,
int offset,
int count) |
Set<byte[]> |
zrevrangeByScore(byte[] key,
double max,
double min) |
Set<byte[]> |
zrevrangeByScore(byte[] key,
double max,
double min,
int offset,
int count) |
Set<String> |
zrevrangeByScore(String key,
double max,
double min) |
Set<String> |
zrevrangeByScore(String key,
double max,
double min,
int offset,
int count) |
Set<String> |
zrevrangeByScore(String key,
String max,
String min) |
Set<String> |
zrevrangeByScore(String key,
String max,
String min,
int offset,
int count) |
Set<redis.clients.jedis.Tuple> |
zrevrangeByScoreWithScores(byte[] key,
byte[] max,
byte[] min) |
Set<redis.clients.jedis.Tuple> |
zrevrangeByScoreWithScores(byte[] key,
byte[] max,
byte[] min,
int offset,
int count) |
Set<redis.clients.jedis.Tuple> |
zrevrangeByScoreWithScores(byte[] key,
double max,
double min) |
Set<redis.clients.jedis.Tuple> |
zrevrangeByScoreWithScores(byte[] key,
double max,
double min,
int offset,
int count) |
Set<redis.clients.jedis.Tuple> |
zrevrangeByScoreWithScores(String key,
double max,
double min) |
Set<redis.clients.jedis.Tuple> |
zrevrangeByScoreWithScores(String key,
double max,
double min,
int offset,
int count) |
Set<redis.clients.jedis.Tuple> |
zrevrangeByScoreWithScores(String key,
String max,
String min) |
Set<redis.clients.jedis.Tuple> |
zrevrangeByScoreWithScores(String key,
String max,
String min,
int offset,
int count) |
Set<redis.clients.jedis.Tuple> |
zrevrangeWithScores(byte[] key,
long start,
long end) |
Set<redis.clients.jedis.Tuple> |
zrevrangeWithScores(String key,
long start,
long end) |
Long |
zrevrank(byte[] key,
byte[] member) |
Long |
zrevrank(String key,
String member) |
redis.clients.jedis.ScanResult<redis.clients.jedis.Tuple> |
zscan(String s,
int i) |
redis.clients.jedis.ScanResult<redis.clients.jedis.Tuple> |
zscan(String s,
String s2) |
Double |
zscore(byte[] key,
byte[] member) |
Double |
zscore(String key,
String member) |
protected HashDatatypeOperations hashDatatypeOperations
protected ListDatatypeOperations listDatatypeOperations
protected SetDatatypeOperations setDatatypeOperations
protected SortsetDatatypeOperations sortsetDatatypeOperations
protected StringDatatypeOperations stringDatatypeOperations
protected KeysServerOperations keysServerOperations
protected PubSubServerOperations pubSubServerOperations
protected ConnectionServerOperations connectionServerOperations
protected ScriptingServerOperations scriptingServerOperations
protected TransactionServerOperations transactionServerOperations
public String set(byte[] key, byte[] value)
set in interface redis.clients.jedis.BinaryJedisCommandspublic byte[] get(byte[] key)
get in interface redis.clients.jedis.BinaryJedisCommandspublic Boolean exists(byte[] key)
exists in interface redis.clients.jedis.BinaryJedisCommandspublic String type(byte[] key)
type in interface redis.clients.jedis.BinaryJedisCommandspublic Long expire(byte[] key, int seconds)
expire in interface redis.clients.jedis.BinaryJedisCommandspublic Long expireAt(byte[] key, long unixTime)
expireAt in interface redis.clients.jedis.BinaryJedisCommandspublic Long ttl(byte[] key)
ttl in interface redis.clients.jedis.BinaryJedisCommandspublic byte[] getSet(byte[] key,
byte[] value)
getSet in interface redis.clients.jedis.BinaryJedisCommandspublic Long setnx(byte[] key, byte[] value)
setnx in interface redis.clients.jedis.BinaryJedisCommandspublic String setex(byte[] key, int seconds, byte[] value)
setex in interface redis.clients.jedis.BinaryJedisCommandspublic Long decrBy(byte[] key, long integer)
decrBy in interface redis.clients.jedis.BinaryJedisCommandspublic Long decr(byte[] key)
decr in interface redis.clients.jedis.BinaryJedisCommandspublic Long incrBy(byte[] key, long integer)
incrBy in interface redis.clients.jedis.BinaryJedisCommandspublic Long incr(byte[] key)
incr in interface redis.clients.jedis.BinaryJedisCommandspublic Long append(byte[] key, byte[] value)
append in interface redis.clients.jedis.BinaryJedisCommandspublic byte[] substr(byte[] key,
int start,
int end)
substr in interface redis.clients.jedis.BinaryJedisCommandspublic Long hset(byte[] key, byte[] field, byte[] value)
hset in interface redis.clients.jedis.BinaryJedisCommandspublic byte[] hget(byte[] key,
byte[] field)
hget in interface redis.clients.jedis.BinaryJedisCommandspublic Long hsetnx(byte[] key, byte[] field, byte[] value)
hsetnx in interface redis.clients.jedis.BinaryJedisCommandspublic String hmset(byte[] key, Map<byte[],byte[]> hash)
hmset in interface redis.clients.jedis.BinaryJedisCommandspublic List<byte[]> hmget(byte[] key, byte[]... fields)
hmget in interface redis.clients.jedis.BinaryJedisCommandspublic Long hincrBy(byte[] key, byte[] field, long value)
hincrBy in interface redis.clients.jedis.BinaryJedisCommandspublic Boolean hexists(byte[] key, byte[] field)
hexists in interface redis.clients.jedis.BinaryJedisCommandspublic Long hdel(byte[] key, byte[]... fields)
hdel in interface redis.clients.jedis.BinaryJedisCommandspublic Long hlen(byte[] key)
hlen in interface redis.clients.jedis.BinaryJedisCommandspublic Set<byte[]> hkeys(byte[] key)
hkeys in interface redis.clients.jedis.BinaryJedisCommandspublic Collection<byte[]> hvals(byte[] key)
hvals in interface redis.clients.jedis.BinaryJedisCommandspublic Map<byte[],byte[]> hgetAll(byte[] key)
hgetAll in interface redis.clients.jedis.BinaryJedisCommandspublic Long rpush(byte[] key, byte[]... values)
rpush in interface redis.clients.jedis.BinaryJedisCommandspublic Long lpush(byte[] key, byte[]... values)
lpush in interface redis.clients.jedis.BinaryJedisCommandspublic Long llen(byte[] key)
llen in interface redis.clients.jedis.BinaryJedisCommandspublic List<byte[]> lrange(byte[] key, long start, long end)
lrange in interface redis.clients.jedis.BinaryJedisCommandspublic String ltrim(byte[] key, long start, long end)
ltrim in interface redis.clients.jedis.BinaryJedisCommandspublic byte[] lindex(byte[] key,
long index)
lindex in interface redis.clients.jedis.BinaryJedisCommandspublic String lset(byte[] key, long index, byte[] value)
lset in interface redis.clients.jedis.BinaryJedisCommandspublic Long lrem(byte[] key, long count, byte[] value)
lrem in interface redis.clients.jedis.BinaryJedisCommandspublic byte[] lpop(byte[] key)
lpop in interface redis.clients.jedis.BinaryJedisCommandspublic byte[] rpop(byte[] key)
rpop in interface redis.clients.jedis.BinaryJedisCommandspublic Long sadd(byte[] key, byte[]... member)
sadd in interface redis.clients.jedis.BinaryJedisCommandspublic Set<byte[]> smembers(byte[] key)
smembers in interface redis.clients.jedis.BinaryJedisCommandspublic Long srem(byte[] key, byte[]... member)
srem in interface redis.clients.jedis.BinaryJedisCommandspublic byte[] spop(byte[] key)
spop in interface redis.clients.jedis.BinaryJedisCommandspublic Long scard(byte[] key)
scard in interface redis.clients.jedis.BinaryJedisCommandspublic Boolean sismember(byte[] key, byte[] member)
sismember in interface redis.clients.jedis.BinaryJedisCommandspublic byte[] srandmember(byte[] key)
srandmember in interface redis.clients.jedis.BinaryJedisCommandspublic Long zadd(byte[] key, double score, byte[] member)
zadd in interface redis.clients.jedis.BinaryJedisCommandspublic Long zadd(byte[] key, Map<byte[],Double> scoreMembers)
zadd in interface redis.clients.jedis.BinaryJedisCommandspublic Set<byte[]> zrange(byte[] key, long start, long end)
zrange in interface redis.clients.jedis.BinaryJedisCommandspublic Long zrem(byte[] key, byte[]... members)
zrem in interface redis.clients.jedis.BinaryJedisCommandspublic Double zincrby(byte[] key, double score, byte[] member)
zincrby in interface redis.clients.jedis.BinaryJedisCommandspublic Long zrank(byte[] key, byte[] member)
zrank in interface redis.clients.jedis.BinaryJedisCommandspublic Long zrevrank(byte[] key, byte[] member)
zrevrank in interface redis.clients.jedis.BinaryJedisCommandspublic Set<byte[]> zrevrange(byte[] key, long start, long end)
zrevrange in interface redis.clients.jedis.BinaryJedisCommandspublic Set<redis.clients.jedis.Tuple> zrangeWithScores(byte[] key, long start, long end)
zrangeWithScores in interface redis.clients.jedis.BinaryJedisCommandspublic Set<redis.clients.jedis.Tuple> zrevrangeWithScores(byte[] key, long start, long end)
zrevrangeWithScores in interface redis.clients.jedis.BinaryJedisCommandspublic Long zcard(byte[] key)
zcard in interface redis.clients.jedis.BinaryJedisCommandspublic Double zscore(byte[] key, byte[] member)
zscore in interface redis.clients.jedis.BinaryJedisCommandspublic List<byte[]> sort(byte[] key)
sort in interface redis.clients.jedis.BinaryJedisCommandspublic List<byte[]> sort(byte[] key, redis.clients.jedis.SortingParams sortingParameters)
sort in interface redis.clients.jedis.BinaryJedisCommandspublic Long zcount(byte[] key, double min, double max)
zcount in interface redis.clients.jedis.BinaryJedisCommandspublic Long zcount(byte[] key, byte[] min, byte[] max)
zcount in interface redis.clients.jedis.BinaryJedisCommandspublic Set<byte[]> zrangeByScore(byte[] key, double min, double max)
zrangeByScore in interface redis.clients.jedis.BinaryJedisCommandspublic Set<byte[]> zrangeByScore(byte[] key, double min, double max, int offset, int count)
zrangeByScore in interface redis.clients.jedis.BinaryJedisCommandspublic Set<redis.clients.jedis.Tuple> zrangeByScoreWithScores(byte[] key, double min, double max)
zrangeByScoreWithScores in interface redis.clients.jedis.BinaryJedisCommandspublic Set<redis.clients.jedis.Tuple> zrangeByScoreWithScores(byte[] key, double min, double max, int offset, int count)
zrangeByScoreWithScores in interface redis.clients.jedis.BinaryJedisCommandspublic Set<redis.clients.jedis.Tuple> zrangeByScoreWithScores(byte[] key, byte[] min, byte[] max)
zrangeByScoreWithScores in interface redis.clients.jedis.BinaryJedisCommandspublic Set<redis.clients.jedis.Tuple> zrangeByScoreWithScores(byte[] key, byte[] min, byte[] max, int offset, int count)
zrangeByScoreWithScores in interface redis.clients.jedis.BinaryJedisCommandspublic Set<byte[]> zrevrangeByScore(byte[] key, double max, double min)
zrevrangeByScore in interface redis.clients.jedis.BinaryJedisCommandspublic Set<byte[]> zrevrangeByScore(byte[] key, double max, double min, int offset, int count)
zrevrangeByScore in interface redis.clients.jedis.BinaryJedisCommandspublic Set<byte[]> zrevrangeByScore(byte[] key, byte[] max, byte[] min)
zrevrangeByScore in interface redis.clients.jedis.BinaryJedisCommandspublic Set<byte[]> zrevrangeByScore(byte[] key, byte[] max, byte[] min, int offset, int count)
zrevrangeByScore in interface redis.clients.jedis.BinaryJedisCommandspublic Set<redis.clients.jedis.Tuple> zrevrangeByScoreWithScores(byte[] key, double max, double min)
zrevrangeByScoreWithScores in interface redis.clients.jedis.BinaryJedisCommandspublic Set<redis.clients.jedis.Tuple> zrevrangeByScoreWithScores(byte[] key, double max, double min, int offset, int count)
zrevrangeByScoreWithScores in interface redis.clients.jedis.BinaryJedisCommandspublic Set<redis.clients.jedis.Tuple> zrevrangeByScoreWithScores(byte[] key, byte[] max, byte[] min)
zrevrangeByScoreWithScores in interface redis.clients.jedis.BinaryJedisCommandspublic Set<redis.clients.jedis.Tuple> zrevrangeByScoreWithScores(byte[] key, byte[] max, byte[] min, int offset, int count)
zrevrangeByScoreWithScores in interface redis.clients.jedis.BinaryJedisCommandspublic Set<byte[]> zrangeByScore(byte[] key, byte[] min, byte[] max)
zrangeByScore in interface redis.clients.jedis.BinaryJedisCommandspublic Set<byte[]> zrangeByScore(byte[] key, byte[] min, byte[] max, int offset, int count)
zrangeByScore in interface redis.clients.jedis.BinaryJedisCommandspublic Long zremrangeByRank(byte[] key, long start, long end)
zremrangeByRank in interface redis.clients.jedis.BinaryJedisCommandspublic Long zremrangeByScore(byte[] key, double start, double end)
zremrangeByScore in interface redis.clients.jedis.BinaryJedisCommandspublic Long zremrangeByScore(byte[] key, byte[] start, byte[] end)
zremrangeByScore in interface redis.clients.jedis.BinaryJedisCommandspublic Long linsert(byte[] key, redis.clients.jedis.BinaryClient.LIST_POSITION where, byte[] pivot, byte[] value)
linsert in interface redis.clients.jedis.BinaryJedisCommandspublic Long objectRefcount(byte[] key)
public Long objectIdletime(byte[] key)
public byte[] objectEncoding(byte[] key)
public byte[] objectEncoding(String key)
public void psubscribe(redis.clients.jedis.JedisPubSub jedisPubSub,
byte[]... patterns)
public void psubscribe(redis.clients.jedis.JedisPubSub jedisPubSub,
String... patterns)
public void psubscribe(redis.clients.jedis.BinaryJedisPubSub jedisPubSub,
byte[]... patterns)
public void subscribe(redis.clients.jedis.JedisPubSub jedisPubSub,
String... channels)
public void subscribe(redis.clients.jedis.JedisPubSub jedisPubSub,
byte[]... channels)
public void psubscribe(redis.clients.jedis.BinaryJedisPubSub jedisPubSub,
String... patterns)
public Long publish(byte[] channel, byte[] message)
public Long lpushx(byte[] key, byte[] value)
public Long rpushx(byte[] key, byte[] value)
public Boolean setbit(byte[] key, long offset, byte[] value)
setbit in interface redis.clients.jedis.BinaryJedisCommandspublic Boolean getbit(byte[] key, long offset)
getbit in interface redis.clients.jedis.BinaryJedisCommandspublic Long setrange(byte[] key, long offset, byte[] value)
setrange in interface redis.clients.jedis.BinaryJedisCommandspublic byte[] getrange(byte[] key,
long startOffset,
long endOffset)
getrange in interface redis.clients.jedis.BinaryJedisCommandspublic Long dbSize()
public String flushDB()
public String flushAll()
public Long del(byte[]... keys)
public String rename(byte[] oldkey, byte[] newkey)
public Long renamenx(byte[] oldkey, byte[] newkey)
Time complexity: O(1)
oldkey - newkey - public Set<byte[]> keys(byte[] pattern)
public Long persist(String key)
persist in interface redis.clients.jedis.JedisCommandspublic Long persist(byte[] key)
persist in interface redis.clients.jedis.BinaryJedisCommandspublic Long renamenx(String oldkey, String newkey)
Time complexity: O(1)
oldkey - newkey - public Long move(byte[] key, int dbIndex)
move in interface redis.clients.jedis.BinaryJedisCommandspublic String set(String key, String value)
set in interface redis.clients.jedis.JedisCommandspublic Boolean exists(String key)
exists in interface redis.clients.jedis.JedisCommandspublic String type(String key)
type in interface redis.clients.jedis.JedisCommandspublic Long expire(String key, int seconds)
expire in interface redis.clients.jedis.JedisCommandspublic Long expireAt(String key, long unixTime)
expireAt in interface redis.clients.jedis.JedisCommandspublic Boolean setbit(String key, long offset, boolean value)
setbit in interface redis.clients.jedis.JedisCommandspublic Boolean getbit(String key, long offset)
getbit in interface redis.clients.jedis.JedisCommandspublic Long setrange(String key, long offset, String value)
setrange in interface redis.clients.jedis.JedisCommandspublic String getrange(String key, long startOffset, long endOffset)
getrange in interface redis.clients.jedis.JedisCommandspublic String getSet(String key, String value)
getSet in interface redis.clients.jedis.JedisCommandspublic Long setnx(String key, String value)
setnx in interface redis.clients.jedis.JedisCommandspublic String setex(String key, int seconds, String value)
setex in interface redis.clients.jedis.JedisCommandspublic Long decrBy(String key, long integer)
decrBy in interface redis.clients.jedis.JedisCommandspublic Long incrBy(String key, long integer)
incrBy in interface redis.clients.jedis.JedisCommandspublic Long append(String key, String value)
append in interface redis.clients.jedis.JedisCommandspublic String substr(String key, int start, int end)
substr in interface redis.clients.jedis.JedisCommandspublic Long hset(String key, String field, String value)
hset in interface redis.clients.jedis.JedisCommandspublic String hget(String key, String field)
hget in interface redis.clients.jedis.JedisCommandspublic Long hsetnx(String key, String field, String value)
hsetnx in interface redis.clients.jedis.JedisCommandspublic String hmset(String key, Map<String,String> hash)
hmset in interface redis.clients.jedis.JedisCommandspublic List<String> hmget(String key, String... fields)
hmget in interface redis.clients.jedis.JedisCommandspublic Long hincrBy(String key, String field, long value)
hincrBy in interface redis.clients.jedis.JedisCommandspublic Boolean hexists(String key, String field)
hexists in interface redis.clients.jedis.JedisCommandspublic Long hdel(String key, String... fields)
hdel in interface redis.clients.jedis.JedisCommandspublic Set<String> hkeys(String key)
hkeys in interface redis.clients.jedis.JedisCommandspublic List<String> hvals(String key)
hvals in interface redis.clients.jedis.JedisCommandspublic Map<String,String> hgetAll(String key)
hgetAll in interface redis.clients.jedis.JedisCommandspublic Long rpush(String key, String... fields)
rpush in interface redis.clients.jedis.JedisCommandspublic Long lpush(String key, String... fields)
lpush in interface redis.clients.jedis.JedisCommandspublic List<String> lrange(String key, long start, long end)
lrange in interface redis.clients.jedis.JedisCommandspublic String ltrim(String key, long start, long end)
ltrim in interface redis.clients.jedis.JedisCommandspublic String lindex(String key, long index)
lindex in interface redis.clients.jedis.JedisCommandspublic String lset(String key, long index, String value)
lset in interface redis.clients.jedis.JedisCommandspublic Long lrem(String key, long count, String value)
lrem in interface redis.clients.jedis.JedisCommandspublic String lpop(String key)
lpop in interface redis.clients.jedis.JedisCommandspublic String rpop(String key)
rpop in interface redis.clients.jedis.JedisCommandspublic Long sadd(String key, String... members)
sadd in interface redis.clients.jedis.JedisCommandspublic Set<String> smembers(String key)
smembers in interface redis.clients.jedis.JedisCommandspublic Long srem(String key, String... members)
srem in interface redis.clients.jedis.JedisCommandspublic String spop(String key)
spop in interface redis.clients.jedis.JedisCommandspublic Long scard(String key)
scard in interface redis.clients.jedis.JedisCommandspublic Boolean sismember(String key, String member)
sismember in interface redis.clients.jedis.JedisCommandspublic String srandmember(String key)
srandmember in interface redis.clients.jedis.JedisCommandspublic Long zadd(String key, double score, String member)
zadd in interface redis.clients.jedis.JedisCommandspublic Long zadd(String key, Map<String,Double> scoreMembers)
zadd in interface redis.clients.jedis.JedisCommandspublic Set<String> zrange(String key, long start, long end)
zrange in interface redis.clients.jedis.JedisCommandspublic Long zrem(String key, String... members)
zrem in interface redis.clients.jedis.JedisCommandspublic Double zincrby(String key, double score, String member)
zincrby in interface redis.clients.jedis.JedisCommandspublic Long zrank(String key, String member)
zrank in interface redis.clients.jedis.JedisCommandspublic Long zrevrank(String key, String member)
zrevrank in interface redis.clients.jedis.JedisCommandspublic Set<String> zrevrange(String key, long start, long end)
zrevrange in interface redis.clients.jedis.JedisCommandspublic Set<redis.clients.jedis.Tuple> zrangeWithScores(String key, long start, long end)
zrangeWithScores in interface redis.clients.jedis.JedisCommandspublic Set<redis.clients.jedis.Tuple> zrevrangeWithScores(String key, long start, long end)
zrevrangeWithScores in interface redis.clients.jedis.JedisCommandspublic Long zcard(String key)
zcard in interface redis.clients.jedis.JedisCommandspublic Double zscore(String key, String member)
zscore in interface redis.clients.jedis.JedisCommandspublic List<String> sort(String key)
sort in interface redis.clients.jedis.JedisCommandspublic List<String> sort(String key, redis.clients.jedis.SortingParams sortingParameters)
sort in interface redis.clients.jedis.JedisCommandspublic Long zcount(String key, double min, double max)
zcount in interface redis.clients.jedis.JedisCommandspublic Long zcount(String key, String min, String max)
zcount in interface redis.clients.jedis.JedisCommandspublic Set<String> zrangeByScore(String key, double min, double max)
zrangeByScore in interface redis.clients.jedis.JedisCommandspublic Set<String> zrangeByScore(String key, String min, String max)
zrangeByScore in interface redis.clients.jedis.JedisCommandspublic Set<String> zrevrangeByScore(String key, double max, double min)
zrevrangeByScore in interface redis.clients.jedis.JedisCommandspublic Set<String> zrangeByScore(String key, double min, double max, int offset, int count)
zrangeByScore in interface redis.clients.jedis.JedisCommandspublic Set<String> zrevrangeByScore(String key, String max, String min)
zrevrangeByScore in interface redis.clients.jedis.JedisCommandspublic Set<String> zrangeByScore(String key, String min, String max, int offset, int count)
zrangeByScore in interface redis.clients.jedis.JedisCommandspublic Set<String> zrevrangeByScore(String key, double max, double min, int offset, int count)
zrevrangeByScore in interface redis.clients.jedis.JedisCommandspublic Set<redis.clients.jedis.Tuple> zrangeByScoreWithScores(String key, double min, double max)
zrangeByScoreWithScores in interface redis.clients.jedis.JedisCommandspublic Set<redis.clients.jedis.Tuple> zrevrangeByScoreWithScores(String key, double max, double min)
zrevrangeByScoreWithScores in interface redis.clients.jedis.JedisCommandspublic Set<redis.clients.jedis.Tuple> zrangeByScoreWithScores(String key, double min, double max, int offset, int count)
zrangeByScoreWithScores in interface redis.clients.jedis.JedisCommandspublic Set<String> zrevrangeByScore(String key, String max, String min, int offset, int count)
zrevrangeByScore in interface redis.clients.jedis.JedisCommandspublic Set<redis.clients.jedis.Tuple> zrangeByScoreWithScores(String key, String min, String max)
zrangeByScoreWithScores in interface redis.clients.jedis.JedisCommandspublic Set<redis.clients.jedis.Tuple> zrevrangeByScoreWithScores(String key, String max, String min)
zrevrangeByScoreWithScores in interface redis.clients.jedis.JedisCommandspublic Set<redis.clients.jedis.Tuple> zrangeByScoreWithScores(String key, String min, String max, int offset, int count)
zrangeByScoreWithScores in interface redis.clients.jedis.JedisCommandspublic Set<redis.clients.jedis.Tuple> zrevrangeByScoreWithScores(String key, double max, double min, int offset, int count)
zrevrangeByScoreWithScores in interface redis.clients.jedis.JedisCommandspublic Set<redis.clients.jedis.Tuple> zrevrangeByScoreWithScores(String key, String max, String min, int offset, int count)
zrevrangeByScoreWithScores in interface redis.clients.jedis.JedisCommandspublic Long zremrangeByRank(String key, long start, long end)
zremrangeByRank in interface redis.clients.jedis.JedisCommandspublic Long zremrangeByScore(String key, double start, double end)
zremrangeByScore in interface redis.clients.jedis.JedisCommandspublic Long zremrangeByScore(String key, String start, String end)
zremrangeByScore in interface redis.clients.jedis.JedisCommandspublic Long linsert(String key, redis.clients.jedis.BinaryClient.LIST_POSITION where, String pivot, String value)
linsert in interface redis.clients.jedis.JedisCommandspublic byte[] echo(byte[] string)
echo in interface redis.clients.jedis.BinaryJedisCommandspublic String echo(String string)
echo in interface redis.clients.jedis.JedisCommandspublic String ping()
public String quit()
public String select(int index)
public Object eval(byte[] script, List<byte[]> keys, List<byte[]> args)
public Object eval(byte[] script, byte[] keyCount, byte[][] params)
public Object evalsha(byte[] sha1, byte[] keyCount, byte[]... params)
public byte[] scriptFlush()
public byte[] scriptKill()
public byte[] scriptLoad(byte[] script)
public String watch(byte[]... keys)
public String unwatch()
public redis.clients.jedis.Pipeline pipelined()
public String bgrewriteaof()
public String save()
public String bgsave()
public List<byte[]> configGet(byte[] pattern)
public byte[] configSet(byte[] parameter,
byte[] value)
public String configResetStat()
public String info()
public Long lastsave()
public void monitor(redis.clients.jedis.JedisMonitor jedisMonitor)
public String shutdown()
public String slaveofNoOne()
public List<redis.clients.util.Slowlog> slowlogGet()
public List<redis.clients.util.Slowlog> slowlogGet(long entries)
public byte[] slowlogReset()
public long slowlogLen()
public List<byte[]> slowlogGetBinary()
public List<byte[]> slowlogGetBinary(long entries)
public void sync()
public Long time()
public Long getDB()
public boolean isConnected()
public redis.clients.jedis.Transaction multi()
public Long bitcount(byte[] key)
bitcount in interface redis.clients.jedis.BinaryJedisCommandspublic Long bitcount(byte[] key, long start, long end)
bitcount in interface redis.clients.jedis.BinaryJedisCommandspublic List<byte[]> blpop(byte[] key)
blpop in interface redis.clients.jedis.BinaryJedisCommandspublic List<byte[]> brpop(byte[] key)
brpop in interface redis.clients.jedis.BinaryJedisCommandspublic Long del(byte[] key)
del in interface redis.clients.jedis.BinaryJedisCommandspublic Long lpushx(byte[] key, byte[]... values)
lpushx in interface redis.clients.jedis.BinaryJedisCommandspublic Long rpushx(byte[] key, byte[]... values)
rpushx in interface redis.clients.jedis.BinaryJedisCommandspublic Boolean setbit(byte[] key, long offset, boolean value)
setbit in interface redis.clients.jedis.BinaryJedisCommandspublic Long strlen(byte[] key)
strlen in interface redis.clients.jedis.BinaryJedisCommandspublic Long bitcount(String key)
bitcount in interface redis.clients.jedis.JedisCommandspublic Long bitcount(String key, long start, long end)
bitcount in interface redis.clients.jedis.JedisCommandspublic redis.clients.jedis.ScanResult<Map.Entry<String,String>> hscan(String s, int i)
hscan in interface redis.clients.jedis.JedisCommandspublic redis.clients.jedis.ScanResult<String> sscan(String s, int i)
sscan in interface redis.clients.jedis.JedisCommandspublic redis.clients.jedis.ScanResult<redis.clients.jedis.Tuple> zscan(String s, int i)
zscan in interface redis.clients.jedis.JedisCommandspublic redis.clients.jedis.ScanResult<Map.Entry<String,String>> hscan(String s, String s2)
hscan in interface redis.clients.jedis.JedisCommandspublic redis.clients.jedis.ScanResult<String> sscan(String s, String s2)
sscan in interface redis.clients.jedis.JedisCommandspublic redis.clients.jedis.ScanResult<redis.clients.jedis.Tuple> zscan(String s, String s2)
zscan in interface redis.clients.jedis.JedisCommandspublic List<String> blpop(String key)
blpop in interface redis.clients.jedis.JedisCommandspublic List<String> brpop(String key)
brpop in interface redis.clients.jedis.JedisCommandspublic Long lpushx(String key, String... values)
lpushx in interface redis.clients.jedis.JedisCommandspublic Long rpushx(String key, String... values)
rpushx in interface redis.clients.jedis.JedisCommandspublic Boolean setbit(String key, long offset, String value)
setbit in interface redis.clients.jedis.JedisCommandspublic Long strlen(String key)
strlen in interface redis.clients.jedis.JedisCommandsCopyright © 2016. All Rights Reserved.