public class RedissonConnection
extends org.springframework.data.redis.connection.AbstractRedisConnection
org.springframework.data.redis.connection.RedisStringCommands.BitOperation, org.springframework.data.redis.connection.RedisStringCommands.SetOptionorg.springframework.data.redis.connection.RedisListCommands.Positionorg.springframework.data.redis.connection.RedisZSetCommands.Aggregate, org.springframework.data.redis.connection.RedisZSetCommands.Limit, org.springframework.data.redis.connection.RedisZSetCommands.Range, org.springframework.data.redis.connection.RedisZSetCommands.Tupleorg.springframework.data.redis.connection.RedisServerCommands.MigrateOption, org.springframework.data.redis.connection.RedisServerCommands.ShutdownOptionorg.springframework.data.redis.connection.RedisGeoCommands.DistanceUnit, org.springframework.data.redis.connection.RedisGeoCommands.GeoLocation<T>, org.springframework.data.redis.connection.RedisGeoCommands.GeoRadiusCommandArgs| Modifier and Type | Field and Description |
|---|---|
protected org.redisson.Redisson |
redisson |
| Constructor and Description |
|---|
RedissonConnection(org.redisson.api.RedissonClient redisson) |
| Modifier and Type | Method and Description |
|---|---|
Long |
append(byte[] key,
byte[] value) |
void |
bgReWriteAof() |
void |
bgSave() |
void |
bgWriteAof() |
Long |
bitCount(byte[] key) |
Long |
bitCount(byte[] key,
long begin,
long end) |
Long |
bitOp(org.springframework.data.redis.connection.RedisStringCommands.BitOperation op,
byte[] destination,
byte[]... keys) |
List<byte[]> |
bLPop(int timeout,
byte[]... keys) |
List<byte[]> |
bRPop(int timeout,
byte[]... keys) |
byte[] |
bRPopLPush(int timeout,
byte[] srcKey,
byte[] dstKey) |
void |
close() |
List<Object> |
closePipeline() |
protected List<byte[]> |
convert(Map<byte[],byte[]> tuple) |
Long |
dbSize() |
Long |
decr(byte[] key) |
Long |
decrBy(byte[] key,
long value) |
Long |
del(byte[]... keys) |
void |
discard() |
byte[] |
dump(byte[] key) |
byte[] |
echo(byte[] message) |
<T> T |
eval(byte[] script,
org.springframework.data.redis.connection.ReturnType returnType,
int numKeys,
byte[]... keysAndArgs) |
<T> T |
evalSha(byte[] scriptSha,
org.springframework.data.redis.connection.ReturnType returnType,
int numKeys,
byte[]... keysAndArgs) |
<T> T |
evalSha(String scriptSha,
org.springframework.data.redis.connection.ReturnType returnType,
int numKeys,
byte[]... keysAndArgs) |
List<Object> |
exec() |
Object |
execute(String command,
byte[]... args) |
Boolean |
exists(byte[] key) |
Boolean |
expire(byte[] key,
long seconds) |
Boolean |
expireAt(byte[] key,
long unixTime) |
protected void |
filterResults(org.redisson.api.BatchResult<?> result) |
void |
flushAll() |
void |
flushDb() |
Long |
geoAdd(byte[] key,
Iterable<org.springframework.data.redis.connection.RedisGeoCommands.GeoLocation<byte[]>> locations) |
Long |
geoAdd(byte[] key,
Map<byte[],org.springframework.data.geo.Point> memberCoordinateMap) |
Long |
geoAdd(byte[] key,
org.springframework.data.geo.Point point,
byte[] member) |
Long |
geoAdd(byte[] key,
org.springframework.data.redis.connection.RedisGeoCommands.GeoLocation<byte[]> location) |
org.springframework.data.geo.Distance |
geoDist(byte[] key,
byte[] member1,
byte[] member2) |
org.springframework.data.geo.Distance |
geoDist(byte[] key,
byte[] member1,
byte[] member2,
org.springframework.data.geo.Metric metric) |
List<String> |
geoHash(byte[] key,
byte[]... members) |
List<org.springframework.data.geo.Point> |
geoPos(byte[] key,
byte[]... members) |
org.springframework.data.geo.GeoResults<org.springframework.data.redis.connection.RedisGeoCommands.GeoLocation<byte[]>> |
geoRadius(byte[] key,
org.springframework.data.geo.Circle within) |
org.springframework.data.geo.GeoResults<org.springframework.data.redis.connection.RedisGeoCommands.GeoLocation<byte[]>> |
geoRadius(byte[] key,
org.springframework.data.geo.Circle within,
org.springframework.data.redis.connection.RedisGeoCommands.GeoRadiusCommandArgs args) |
org.springframework.data.geo.GeoResults<org.springframework.data.redis.connection.RedisGeoCommands.GeoLocation<byte[]>> |
geoRadiusByMember(byte[] key,
byte[] member,
org.springframework.data.geo.Distance radius) |
org.springframework.data.geo.GeoResults<org.springframework.data.redis.connection.RedisGeoCommands.GeoLocation<byte[]>> |
geoRadiusByMember(byte[] key,
byte[] member,
org.springframework.data.geo.Distance radius,
org.springframework.data.redis.connection.RedisGeoCommands.GeoRadiusCommandArgs args) |
org.springframework.data.geo.GeoResults<org.springframework.data.redis.connection.RedisGeoCommands.GeoLocation<byte[]>> |
geoRadiusByMember(byte[] key,
byte[] member,
double radius) |
Long |
geoRemove(byte[] key,
byte[]... members) |
byte[] |
get(byte[] key) |
Boolean |
getBit(byte[] key,
long offset) |
List<org.springframework.data.redis.core.types.RedisClientInfo> |
getClientList() |
String |
getClientName() |
List<String> |
getConfig(String pattern) |
Object |
getNativeConnection() |
byte[] |
getRange(byte[] key,
long begin,
long end) |
byte[] |
getSet(byte[] key,
byte[] value) |
org.springframework.data.redis.connection.Subscription |
getSubscription() |
Long |
hDel(byte[] key,
byte[]... fields) |
Boolean |
hExists(byte[] key,
byte[] field) |
byte[] |
hGet(byte[] key,
byte[] field) |
Map<byte[],byte[]> |
hGetAll(byte[] key) |
Double |
hIncrBy(byte[] key,
byte[] field,
double delta) |
Long |
hIncrBy(byte[] key,
byte[] field,
long delta) |
Set<byte[]> |
hKeys(byte[] key) |
Long |
hLen(byte[] key) |
List<byte[]> |
hMGet(byte[] key,
byte[]... fields) |
void |
hMSet(byte[] key,
Map<byte[],byte[]> hashes) |
org.springframework.data.redis.core.Cursor<Map.Entry<byte[],byte[]>> |
hScan(byte[] key,
org.springframework.data.redis.core.ScanOptions options) |
Boolean |
hSet(byte[] key,
byte[] field,
byte[] value) |
Boolean |
hSetNX(byte[] key,
byte[] field,
byte[] value) |
List<byte[]> |
hVals(byte[] key) |
Long |
incr(byte[] key) |
Double |
incrBy(byte[] key,
double value) |
Long |
incrBy(byte[] key,
long value) |
protected void |
indexCommand(org.redisson.client.protocol.RedisCommand<?> command) |
Properties |
info() |
Properties |
info(String section) |
boolean |
isClosed() |
boolean |
isPipelined() |
boolean |
isPipelinedAtomic() |
boolean |
isQueueing() |
boolean |
isSubscribed() |
Set<byte[]> |
keys(byte[] pattern) |
void |
killClient(String host,
int port) |
Long |
lastSave() |
byte[] |
lIndex(byte[] key,
long index) |
Long |
lInsert(byte[] key,
org.springframework.data.redis.connection.RedisListCommands.Position where,
byte[] pivot,
byte[] value) |
Long |
lLen(byte[] key) |
byte[] |
lPop(byte[] key) |
Long |
lPush(byte[] key,
byte[]... values) |
Long |
lPushX(byte[] key,
byte[] value) |
List<byte[]> |
lRange(byte[] key,
long start,
long end) |
Long |
lRem(byte[] key,
long count,
byte[] value) |
void |
lSet(byte[] key,
long index,
byte[] value) |
void |
lTrim(byte[] key,
long start,
long end) |
List<byte[]> |
mGet(byte[]... keys) |
void |
migrate(byte[] key,
org.springframework.data.redis.connection.RedisNode target,
int dbIndex,
org.springframework.data.redis.connection.RedisServerCommands.MigrateOption option) |
void |
migrate(byte[] key,
org.springframework.data.redis.connection.RedisNode target,
int dbIndex,
org.springframework.data.redis.connection.RedisServerCommands.MigrateOption option,
long timeout) |
Boolean |
move(byte[] key,
int dbIndex) |
void |
mSet(Map<byte[],byte[]> tuple) |
Boolean |
mSetNX(Map<byte[],byte[]> tuple) |
void |
multi() |
void |
openPipeline() |
Boolean |
persist(byte[] key) |
Boolean |
pExpire(byte[] key,
long millis) |
Boolean |
pExpireAt(byte[] key,
long unixTimeInMillis) |
Long |
pfAdd(byte[] key,
byte[]... values) |
Long |
pfCount(byte[]... keys) |
void |
pfMerge(byte[] destinationKey,
byte[]... sourceKeys) |
String |
ping() |
void |
pSetEx(byte[] key,
long milliseconds,
byte[] value) |
void |
pSubscribe(org.springframework.data.redis.connection.MessageListener listener,
byte[]... patterns) |
Long |
pTtl(byte[] key) |
Long |
pTtl(byte[] key,
TimeUnit timeUnit) |
Long |
publish(byte[] channel,
byte[] message) |
byte[] |
randomKey() |
void |
rename(byte[] oldName,
byte[] newName) |
Boolean |
renameNX(byte[] oldName,
byte[] newName) |
void |
resetConfigStats() |
protected void |
resetConnection() |
void |
restore(byte[] key,
long ttlInMillis,
byte[] serializedValue) |
byte[] |
rPop(byte[] key) |
byte[] |
rPopLPush(byte[] srcKey,
byte[] dstKey) |
Long |
rPush(byte[] key,
byte[]... values) |
Long |
rPushX(byte[] key,
byte[] value) |
Long |
sAdd(byte[] key,
byte[]... values) |
void |
save() |
org.springframework.data.redis.core.Cursor<byte[]> |
scan(org.springframework.data.redis.core.ScanOptions options) |
Long |
sCard(byte[] key) |
List<Boolean> |
scriptExists(String... scriptShas) |
void |
scriptFlush() |
void |
scriptKill() |
String |
scriptLoad(byte[] script) |
Set<byte[]> |
sDiff(byte[]... keys) |
Long |
sDiffStore(byte[] destKey,
byte[]... keys) |
void |
select(int dbIndex) |
void |
set(byte[] key,
byte[] value) |
void |
set(byte[] key,
byte[] value,
org.springframework.data.redis.core.types.Expiration expiration,
org.springframework.data.redis.connection.RedisStringCommands.SetOption option) |
Boolean |
setBit(byte[] key,
long offset,
boolean value) |
void |
setClientName(byte[] name) |
void |
setConfig(String param,
String value) |
void |
setEx(byte[] key,
long seconds,
byte[] value) |
Boolean |
setNX(byte[] key,
byte[] value) |
void |
setRange(byte[] key,
byte[] value,
long offset) |
void |
shutdown() |
void |
shutdown(org.springframework.data.redis.connection.RedisServerCommands.ShutdownOption option) |
Set<byte[]> |
sInter(byte[]... keys) |
Long |
sInterStore(byte[] destKey,
byte[]... keys) |
Boolean |
sIsMember(byte[] key,
byte[] value) |
void |
slaveOf(String host,
int port) |
void |
slaveOfNoOne() |
Set<byte[]> |
sMembers(byte[] key) |
Boolean |
sMove(byte[] srcKey,
byte[] destKey,
byte[] value) |
List<byte[]> |
sort(byte[] key,
org.springframework.data.redis.connection.SortParameters sortParams) |
Long |
sort(byte[] key,
org.springframework.data.redis.connection.SortParameters sortParams,
byte[] storeKey) |
byte[] |
sPop(byte[] key) |
byte[] |
sRandMember(byte[] key) |
List<byte[]> |
sRandMember(byte[] key,
long count) |
Long |
sRem(byte[] key,
byte[]... values) |
org.springframework.data.redis.core.Cursor<byte[]> |
sScan(byte[] key,
org.springframework.data.redis.core.ScanOptions options) |
Long |
strLen(byte[] key) |
void |
subscribe(org.springframework.data.redis.connection.MessageListener listener,
byte[]... channels) |
Set<byte[]> |
sUnion(byte[]... keys) |
Long |
sUnionStore(byte[] destKey,
byte[]... keys) |
protected <T> T |
sync(org.redisson.api.RFuture<T> f) |
Long |
time() |
protected org.redisson.client.protocol.RedisCommand<?> |
toCommand(org.springframework.data.redis.connection.ReturnType returnType,
String name) |
protected RuntimeException |
transform(Exception ex) |
Long |
ttl(byte[] key) |
Long |
ttl(byte[] key,
TimeUnit timeUnit) |
org.springframework.data.redis.connection.DataType |
type(byte[] key) |
void |
unwatch() |
void |
watch(byte[]... keys) |
Boolean |
zAdd(byte[] key,
double score,
byte[] value) |
Long |
zAdd(byte[] key,
Set<org.springframework.data.redis.connection.RedisZSetCommands.Tuple> tuples) |
Long |
zCard(byte[] key) |
Long |
zCount(byte[] key,
double min,
double max) |
Long |
zCount(byte[] key,
org.springframework.data.redis.connection.RedisZSetCommands.Range range) |
Double |
zIncrBy(byte[] key,
double increment,
byte[] value) |
Long |
zInterStore(byte[] destKey,
byte[]... sets) |
Long |
zInterStore(byte[] destKey,
org.springframework.data.redis.connection.RedisZSetCommands.Aggregate aggregate,
int[] weights,
byte[]... sets) |
Set<byte[]> |
zRange(byte[] key,
long start,
long end) |
Set<byte[]> |
zRangeByLex(byte[] key) |
Set<byte[]> |
zRangeByLex(byte[] key,
org.springframework.data.redis.connection.RedisZSetCommands.Range range) |
Set<byte[]> |
zRangeByLex(byte[] key,
org.springframework.data.redis.connection.RedisZSetCommands.Range range,
org.springframework.data.redis.connection.RedisZSetCommands.Limit limit) |
Set<byte[]> |
zRangeByScore(byte[] key,
double min,
double max) |
Set<byte[]> |
zRangeByScore(byte[] key,
double min,
double max,
long offset,
long count) |
Set<byte[]> |
zRangeByScore(byte[] key,
org.springframework.data.redis.connection.RedisZSetCommands.Range range) |
Set<byte[]> |
zRangeByScore(byte[] key,
org.springframework.data.redis.connection.RedisZSetCommands.Range range,
org.springframework.data.redis.connection.RedisZSetCommands.Limit limit) |
Set<byte[]> |
zRangeByScore(byte[] key,
String min,
String max) |
Set<byte[]> |
zRangeByScore(byte[] key,
String min,
String max,
long offset,
long count) |
Set<org.springframework.data.redis.connection.RedisZSetCommands.Tuple> |
zRangeByScoreWithScores(byte[] key,
double min,
double max) |
Set<org.springframework.data.redis.connection.RedisZSetCommands.Tuple> |
zRangeByScoreWithScores(byte[] key,
double min,
double max,
long offset,
long count) |
Set<org.springframework.data.redis.connection.RedisZSetCommands.Tuple> |
zRangeByScoreWithScores(byte[] key,
org.springframework.data.redis.connection.RedisZSetCommands.Range range) |
Set<org.springframework.data.redis.connection.RedisZSetCommands.Tuple> |
zRangeByScoreWithScores(byte[] key,
org.springframework.data.redis.connection.RedisZSetCommands.Range range,
org.springframework.data.redis.connection.RedisZSetCommands.Limit limit) |
Set<org.springframework.data.redis.connection.RedisZSetCommands.Tuple> |
zRangeWithScores(byte[] key,
long start,
long end) |
Long |
zRank(byte[] key,
byte[] value) |
Long |
zRem(byte[] key,
byte[]... values) |
Long |
zRemRange(byte[] key,
long start,
long end) |
Long |
zRemRangeByScore(byte[] key,
double min,
double max) |
Long |
zRemRangeByScore(byte[] key,
org.springframework.data.redis.connection.RedisZSetCommands.Range range) |
Set<byte[]> |
zRevRange(byte[] key,
long start,
long end) |
Set<byte[]> |
zRevRangeByScore(byte[] key,
double min,
double max) |
Set<byte[]> |
zRevRangeByScore(byte[] key,
double min,
double max,
long offset,
long count) |
Set<byte[]> |
zRevRangeByScore(byte[] key,
org.springframework.data.redis.connection.RedisZSetCommands.Range range) |
Set<byte[]> |
zRevRangeByScore(byte[] key,
org.springframework.data.redis.connection.RedisZSetCommands.Range range,
org.springframework.data.redis.connection.RedisZSetCommands.Limit limit) |
Set<org.springframework.data.redis.connection.RedisZSetCommands.Tuple> |
zRevRangeByScoreWithScores(byte[] key,
double min,
double max) |
Set<org.springframework.data.redis.connection.RedisZSetCommands.Tuple> |
zRevRangeByScoreWithScores(byte[] key,
double min,
double max,
long offset,
long count) |
Set<org.springframework.data.redis.connection.RedisZSetCommands.Tuple> |
zRevRangeByScoreWithScores(byte[] key,
org.springframework.data.redis.connection.RedisZSetCommands.Range range) |
Set<org.springframework.data.redis.connection.RedisZSetCommands.Tuple> |
zRevRangeByScoreWithScores(byte[] key,
org.springframework.data.redis.connection.RedisZSetCommands.Range range,
org.springframework.data.redis.connection.RedisZSetCommands.Limit limit) |
Set<org.springframework.data.redis.connection.RedisZSetCommands.Tuple> |
zRevRangeWithScores(byte[] key,
long start,
long end) |
Long |
zRevRank(byte[] key,
byte[] value) |
org.springframework.data.redis.core.Cursor<org.springframework.data.redis.connection.RedisZSetCommands.Tuple> |
zScan(byte[] key,
org.springframework.data.redis.core.ScanOptions options) |
Double |
zScore(byte[] key,
byte[] value) |
Long |
zUnionStore(byte[] destKey,
byte[]... sets) |
Long |
zUnionStore(byte[] destKey,
org.springframework.data.redis.connection.RedisZSetCommands.Aggregate aggregate,
int[] weights,
byte[]... sets) |
public RedissonConnection(org.redisson.api.RedissonClient redisson)
public void close()
throws org.springframework.dao.DataAccessException
close in interface org.springframework.data.redis.connection.RedisConnectionclose in class org.springframework.data.redis.connection.AbstractRedisConnectionorg.springframework.dao.DataAccessExceptionpublic boolean isClosed()
public Object getNativeConnection()
public boolean isQueueing()
public boolean isPipelined()
public boolean isPipelinedAtomic()
public void openPipeline()
public List<Object> closePipeline() throws org.springframework.data.redis.connection.RedisPipelineException
org.springframework.data.redis.connection.RedisPipelineExceptionprotected RuntimeException transform(Exception ex)
public Boolean exists(byte[] key)
public Long del(byte[]... keys)
public org.springframework.data.redis.connection.DataType type(byte[] key)
public Set<byte[]> keys(byte[] pattern)
public org.springframework.data.redis.core.Cursor<byte[]> scan(org.springframework.data.redis.core.ScanOptions options)
public byte[] randomKey()
public void rename(byte[] oldName,
byte[] newName)
public Boolean renameNX(byte[] oldName, byte[] newName)
public Boolean expire(byte[] key, long seconds)
public Boolean pExpire(byte[] key, long millis)
public Boolean expireAt(byte[] key, long unixTime)
public Boolean pExpireAt(byte[] key, long unixTimeInMillis)
public Boolean persist(byte[] key)
public Boolean move(byte[] key, int dbIndex)
public Long ttl(byte[] key)
protected <T> T sync(org.redisson.api.RFuture<T> f)
public Long pTtl(byte[] key)
public List<byte[]> sort(byte[] key, org.springframework.data.redis.connection.SortParameters sortParams)
public Long sort(byte[] key, org.springframework.data.redis.connection.SortParameters sortParams, byte[] storeKey)
public byte[] dump(byte[] key)
public void restore(byte[] key,
long ttlInMillis,
byte[] serializedValue)
public byte[] get(byte[] key)
public byte[] getSet(byte[] key,
byte[] value)
public List<byte[]> mGet(byte[]... keys)
public void set(byte[] key,
byte[] value)
public void set(byte[] key,
byte[] value,
org.springframework.data.redis.core.types.Expiration expiration,
org.springframework.data.redis.connection.RedisStringCommands.SetOption option)
public Boolean setNX(byte[] key, byte[] value)
public void setEx(byte[] key,
long seconds,
byte[] value)
public void pSetEx(byte[] key,
long milliseconds,
byte[] value)
public void mSet(Map<byte[],byte[]> tuple)
public Long incr(byte[] key)
public Long incrBy(byte[] key, long value)
public Double incrBy(byte[] key, double value)
public Long decr(byte[] key)
public Long decrBy(byte[] key, long value)
public Long append(byte[] key, byte[] value)
public byte[] getRange(byte[] key,
long begin,
long end)
public void setRange(byte[] key,
byte[] value,
long offset)
public Boolean getBit(byte[] key, long offset)
public Boolean setBit(byte[] key, long offset, boolean value)
public Long bitCount(byte[] key)
public Long bitCount(byte[] key, long begin, long end)
public Long bitOp(org.springframework.data.redis.connection.RedisStringCommands.BitOperation op, byte[] destination, byte[]... keys)
public Long strLen(byte[] key)
public Long rPush(byte[] key, byte[]... values)
public Long lPush(byte[] key, byte[]... values)
public Long rPushX(byte[] key, byte[] value)
public Long lPushX(byte[] key, byte[] value)
public Long lLen(byte[] key)
public List<byte[]> lRange(byte[] key, long start, long end)
public void lTrim(byte[] key,
long start,
long end)
public byte[] lIndex(byte[] key,
long index)
public Long lInsert(byte[] key, org.springframework.data.redis.connection.RedisListCommands.Position where, byte[] pivot, byte[] value)
protected void indexCommand(org.redisson.client.protocol.RedisCommand<?> command)
public void lSet(byte[] key,
long index,
byte[] value)
public Long lRem(byte[] key, long count, byte[] value)
public byte[] lPop(byte[] key)
public byte[] rPop(byte[] key)
public List<byte[]> bLPop(int timeout, byte[]... keys)
public List<byte[]> bRPop(int timeout, byte[]... keys)
public byte[] rPopLPush(byte[] srcKey,
byte[] dstKey)
public byte[] bRPopLPush(int timeout,
byte[] srcKey,
byte[] dstKey)
public Long sAdd(byte[] key, byte[]... values)
public Long sRem(byte[] key, byte[]... values)
public byte[] sPop(byte[] key)
public Boolean sMove(byte[] srcKey, byte[] destKey, byte[] value)
public Long sCard(byte[] key)
public Boolean sIsMember(byte[] key, byte[] value)
public Set<byte[]> sInter(byte[]... keys)
public Long sInterStore(byte[] destKey, byte[]... keys)
public Set<byte[]> sUnion(byte[]... keys)
public Long sUnionStore(byte[] destKey, byte[]... keys)
public Set<byte[]> sDiff(byte[]... keys)
public Long sDiffStore(byte[] destKey, byte[]... keys)
public Set<byte[]> sMembers(byte[] key)
public byte[] sRandMember(byte[] key)
public List<byte[]> sRandMember(byte[] key, long count)
public org.springframework.data.redis.core.Cursor<byte[]> sScan(byte[] key,
org.springframework.data.redis.core.ScanOptions options)
public Boolean zAdd(byte[] key, double score, byte[] value)
public Long zAdd(byte[] key, Set<org.springframework.data.redis.connection.RedisZSetCommands.Tuple> tuples)
public Long zRem(byte[] key, byte[]... values)
public Double zIncrBy(byte[] key, double increment, byte[] value)
public Long zRank(byte[] key, byte[] value)
public Long zRevRank(byte[] key, byte[] value)
public Set<byte[]> zRange(byte[] key, long start, long end)
public Set<org.springframework.data.redis.connection.RedisZSetCommands.Tuple> zRangeWithScores(byte[] key, long start, long end)
public Set<byte[]> zRangeByScore(byte[] key, double min, double max)
public Set<org.springframework.data.redis.connection.RedisZSetCommands.Tuple> zRangeByScoreWithScores(byte[] key, org.springframework.data.redis.connection.RedisZSetCommands.Range range)
public Set<org.springframework.data.redis.connection.RedisZSetCommands.Tuple> zRangeByScoreWithScores(byte[] key, double min, double max)
public Set<byte[]> zRangeByScore(byte[] key, double min, double max, long offset, long count)
public Set<org.springframework.data.redis.connection.RedisZSetCommands.Tuple> zRangeByScoreWithScores(byte[] key, double min, double max, long offset, long count)
public Set<org.springframework.data.redis.connection.RedisZSetCommands.Tuple> zRangeByScoreWithScores(byte[] key, org.springframework.data.redis.connection.RedisZSetCommands.Range range, org.springframework.data.redis.connection.RedisZSetCommands.Limit limit)
public Set<byte[]> zRevRange(byte[] key, long start, long end)
public Set<org.springframework.data.redis.connection.RedisZSetCommands.Tuple> zRevRangeWithScores(byte[] key, long start, long end)
public Set<byte[]> zRevRangeByScore(byte[] key, double min, double max)
public Set<byte[]> zRevRangeByScore(byte[] key, org.springframework.data.redis.connection.RedisZSetCommands.Range range)
public Set<org.springframework.data.redis.connection.RedisZSetCommands.Tuple> zRevRangeByScoreWithScores(byte[] key, double min, double max)
public Set<byte[]> zRevRangeByScore(byte[] key, double min, double max, long offset, long count)
public Set<byte[]> zRevRangeByScore(byte[] key, org.springframework.data.redis.connection.RedisZSetCommands.Range range, org.springframework.data.redis.connection.RedisZSetCommands.Limit limit)
public Set<org.springframework.data.redis.connection.RedisZSetCommands.Tuple> zRevRangeByScoreWithScores(byte[] key, double min, double max, long offset, long count)
public Set<org.springframework.data.redis.connection.RedisZSetCommands.Tuple> zRevRangeByScoreWithScores(byte[] key, org.springframework.data.redis.connection.RedisZSetCommands.Range range)
public Set<org.springframework.data.redis.connection.RedisZSetCommands.Tuple> zRevRangeByScoreWithScores(byte[] key, org.springframework.data.redis.connection.RedisZSetCommands.Range range, org.springframework.data.redis.connection.RedisZSetCommands.Limit limit)
public Long zCount(byte[] key, double min, double max)
public Long zCount(byte[] key, org.springframework.data.redis.connection.RedisZSetCommands.Range range)
public Long zCard(byte[] key)
public Double zScore(byte[] key, byte[] value)
public Long zRemRange(byte[] key, long start, long end)
public Long zRemRangeByScore(byte[] key, double min, double max)
public Long zRemRangeByScore(byte[] key, org.springframework.data.redis.connection.RedisZSetCommands.Range range)
public Long zUnionStore(byte[] destKey, byte[]... sets)
public Long zUnionStore(byte[] destKey, org.springframework.data.redis.connection.RedisZSetCommands.Aggregate aggregate, int[] weights, byte[]... sets)
public Long zInterStore(byte[] destKey, byte[]... sets)
public Long zInterStore(byte[] destKey, org.springframework.data.redis.connection.RedisZSetCommands.Aggregate aggregate, int[] weights, byte[]... sets)
public org.springframework.data.redis.core.Cursor<org.springframework.data.redis.connection.RedisZSetCommands.Tuple> zScan(byte[] key,
org.springframework.data.redis.core.ScanOptions options)
public Set<byte[]> zRangeByScore(byte[] key, org.springframework.data.redis.connection.RedisZSetCommands.Range range)
public Set<byte[]> zRangeByScore(byte[] key, String min, String max, long offset, long count)
public Set<byte[]> zRangeByScore(byte[] key, org.springframework.data.redis.connection.RedisZSetCommands.Range range, org.springframework.data.redis.connection.RedisZSetCommands.Limit limit)
public Set<byte[]> zRangeByLex(byte[] key)
public Set<byte[]> zRangeByLex(byte[] key, org.springframework.data.redis.connection.RedisZSetCommands.Range range)
public Set<byte[]> zRangeByLex(byte[] key, org.springframework.data.redis.connection.RedisZSetCommands.Range range, org.springframework.data.redis.connection.RedisZSetCommands.Limit limit)
public Boolean hSet(byte[] key, byte[] field, byte[] value)
public Boolean hSetNX(byte[] key, byte[] field, byte[] value)
public byte[] hGet(byte[] key,
byte[] field)
public List<byte[]> hMGet(byte[] key, byte[]... fields)
public void hMSet(byte[] key,
Map<byte[],byte[]> hashes)
public Long hIncrBy(byte[] key, byte[] field, long delta)
public Double hIncrBy(byte[] key, byte[] field, double delta)
public Boolean hExists(byte[] key, byte[] field)
public Long hDel(byte[] key, byte[]... fields)
public Long hLen(byte[] key)
public Set<byte[]> hKeys(byte[] key)
public List<byte[]> hVals(byte[] key)
public Map<byte[],byte[]> hGetAll(byte[] key)
public org.springframework.data.redis.core.Cursor<Map.Entry<byte[],byte[]>> hScan(byte[] key, org.springframework.data.redis.core.ScanOptions options)
public void multi()
protected void filterResults(org.redisson.api.BatchResult<?> result)
protected void resetConnection()
public void discard()
public void watch(byte[]... keys)
public void unwatch()
public boolean isSubscribed()
public org.springframework.data.redis.connection.Subscription getSubscription()
public Long publish(byte[] channel, byte[] message)
public void subscribe(org.springframework.data.redis.connection.MessageListener listener,
byte[]... channels)
public void pSubscribe(org.springframework.data.redis.connection.MessageListener listener,
byte[]... patterns)
public void select(int dbIndex)
public byte[] echo(byte[] message)
public String ping()
public void bgWriteAof()
public void bgReWriteAof()
public void bgSave()
public Long lastSave()
public void save()
public Long dbSize()
public void flushDb()
public void flushAll()
public Properties info()
public Properties info(String section)
public void shutdown()
public void shutdown(org.springframework.data.redis.connection.RedisServerCommands.ShutdownOption option)
public void resetConfigStats()
public Long time()
public void killClient(String host, int port)
public void setClientName(byte[] name)
public String getClientName()
public List<org.springframework.data.redis.core.types.RedisClientInfo> getClientList()
public void slaveOf(String host, int port)
public void slaveOfNoOne()
public void migrate(byte[] key,
org.springframework.data.redis.connection.RedisNode target,
int dbIndex,
org.springframework.data.redis.connection.RedisServerCommands.MigrateOption option)
public void migrate(byte[] key,
org.springframework.data.redis.connection.RedisNode target,
int dbIndex,
org.springframework.data.redis.connection.RedisServerCommands.MigrateOption option,
long timeout)
public void scriptFlush()
public void scriptKill()
public String scriptLoad(byte[] script)
public <T> T eval(byte[] script,
org.springframework.data.redis.connection.ReturnType returnType,
int numKeys,
byte[]... keysAndArgs)
protected org.redisson.client.protocol.RedisCommand<?> toCommand(org.springframework.data.redis.connection.ReturnType returnType,
String name)
public <T> T evalSha(String scriptSha, org.springframework.data.redis.connection.ReturnType returnType, int numKeys, byte[]... keysAndArgs)
public <T> T evalSha(byte[] scriptSha,
org.springframework.data.redis.connection.ReturnType returnType,
int numKeys,
byte[]... keysAndArgs)
public Long geoAdd(byte[] key, org.springframework.data.geo.Point point, byte[] member)
public Long geoAdd(byte[] key, org.springframework.data.redis.connection.RedisGeoCommands.GeoLocation<byte[]> location)
public Long geoAdd(byte[] key, Map<byte[],org.springframework.data.geo.Point> memberCoordinateMap)
public Long geoAdd(byte[] key, Iterable<org.springframework.data.redis.connection.RedisGeoCommands.GeoLocation<byte[]>> locations)
public org.springframework.data.geo.Distance geoDist(byte[] key,
byte[] member1,
byte[] member2)
public org.springframework.data.geo.Distance geoDist(byte[] key,
byte[] member1,
byte[] member2,
org.springframework.data.geo.Metric metric)
public List<org.springframework.data.geo.Point> geoPos(byte[] key, byte[]... members)
public org.springframework.data.geo.GeoResults<org.springframework.data.redis.connection.RedisGeoCommands.GeoLocation<byte[]>> geoRadius(byte[] key,
org.springframework.data.geo.Circle within)
public org.springframework.data.geo.GeoResults<org.springframework.data.redis.connection.RedisGeoCommands.GeoLocation<byte[]>> geoRadius(byte[] key,
org.springframework.data.geo.Circle within,
org.springframework.data.redis.connection.RedisGeoCommands.GeoRadiusCommandArgs args)
public org.springframework.data.geo.GeoResults<org.springframework.data.redis.connection.RedisGeoCommands.GeoLocation<byte[]>> geoRadiusByMember(byte[] key,
byte[] member,
double radius)
public org.springframework.data.geo.GeoResults<org.springframework.data.redis.connection.RedisGeoCommands.GeoLocation<byte[]>> geoRadiusByMember(byte[] key,
byte[] member,
org.springframework.data.geo.Distance radius)
public org.springframework.data.geo.GeoResults<org.springframework.data.redis.connection.RedisGeoCommands.GeoLocation<byte[]>> geoRadiusByMember(byte[] key,
byte[] member,
org.springframework.data.geo.Distance radius,
org.springframework.data.redis.connection.RedisGeoCommands.GeoRadiusCommandArgs args)
public Long geoRemove(byte[] key, byte[]... members)
public Long pfAdd(byte[] key, byte[]... values)
public Long pfCount(byte[]... keys)
public void pfMerge(byte[] destinationKey,
byte[]... sourceKeys)
Copyright © 2014–2019 The Redisson Project. All rights reserved.