Class RedissonConnection
java.lang.Object
org.springframework.data.redis.connection.AbstractRedisConnection
org.redisson.spring.data.connection.RedissonConnection
- All Implemented Interfaces:
org.springframework.data.redis.connection.HyperLogLogCommands
,org.springframework.data.redis.connection.RedisCommands
,org.springframework.data.redis.connection.RedisConnection
,org.springframework.data.redis.connection.RedisConnectionCommands
,org.springframework.data.redis.connection.RedisGeoCommands
,org.springframework.data.redis.connection.RedisHashCommands
,org.springframework.data.redis.connection.RedisKeyCommands
,org.springframework.data.redis.connection.RedisListCommands
,org.springframework.data.redis.connection.RedisPubSubCommands
,org.springframework.data.redis.connection.RedisScriptingCommands
,org.springframework.data.redis.connection.RedisServerCommands
,org.springframework.data.redis.connection.RedisSetCommands
,org.springframework.data.redis.connection.RedisStringCommands
,org.springframework.data.redis.connection.RedisTxCommands
,org.springframework.data.redis.connection.RedisZSetCommands
- Direct Known Subclasses:
RedissonClusterConnection
public class RedissonConnection
extends org.springframework.data.redis.connection.AbstractRedisConnection
Redisson connection
- Author:
- Nikita Koksharov
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.springframework.data.redis.connection.RedisGeoCommands
org.springframework.data.redis.connection.RedisGeoCommands.DistanceUnit, org.springframework.data.redis.connection.RedisGeoCommands.GeoLocation<T extends Object>, org.springframework.data.redis.connection.RedisGeoCommands.GeoRadiusCommandArgs
Nested classes/interfaces inherited from interface org.springframework.data.redis.connection.RedisListCommands
org.springframework.data.redis.connection.RedisListCommands.Position
Nested classes/interfaces inherited from interface org.springframework.data.redis.connection.RedisServerCommands
org.springframework.data.redis.connection.RedisServerCommands.MigrateOption, org.springframework.data.redis.connection.RedisServerCommands.ShutdownOption
Nested classes/interfaces inherited from interface org.springframework.data.redis.connection.RedisStringCommands
org.springframework.data.redis.connection.RedisStringCommands.BitOperation, org.springframework.data.redis.connection.RedisStringCommands.SetOption
Nested classes/interfaces inherited from interface org.springframework.data.redis.connection.RedisZSetCommands
org.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.Tuple
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionappend
(byte[] key, byte[] value) void
void
bgSave()
void
bitCount
(byte[] key) bitCount
(byte[] key, long begin, long end) 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()
protected List<byte[]>
dbSize()
decr
(byte[] key) decrBy
(byte[] key, long value) 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) exec()
exists
(byte[] key) expire
(byte[] key, long seconds) expireAt
(byte[] key, long unixTime) protected void
filterResults
(BatchResult<?> result) void
flushAll()
void
flushDb()
geoAdd
(byte[] key, Iterable<org.springframework.data.redis.connection.RedisGeoCommands.GeoLocation<byte[]>> locations) geoAdd
(byte[] key, org.springframework.data.geo.Point point, byte[] member) 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) 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, double 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.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) geoRemove
(byte[] key, byte[]... members) byte[]
get
(byte[] key) getBit
(byte[] key, long offset) List<org.springframework.data.redis.core.types.RedisClientInfo>
byte[]
getRange
(byte[] key, long begin, long end) byte[]
getSet
(byte[] key, byte[] value) org.springframework.data.redis.connection.Subscription
hDel
(byte[] key, byte[]... fields) hExists
(byte[] key, byte[] field) byte[]
hGet
(byte[] key, byte[] field) Map<byte[],
byte[]> hGetAll
(byte[] key) hIncrBy
(byte[] key, byte[] field, double delta) hIncrBy
(byte[] key, byte[] field, long delta) Set<byte[]>
hKeys
(byte[] key) hLen
(byte[] key) List<byte[]>
hMGet
(byte[] key, byte[]... fields) void
org.springframework.data.redis.core.Cursor<Map.Entry<byte[],
byte[]>> hScan
(byte[] key, org.springframework.data.redis.core.ScanOptions options) hSet
(byte[] key, byte[] field, byte[] value) hSetNX
(byte[] key, byte[] field, byte[] value) List<byte[]>
hVals
(byte[] key) incr
(byte[] key) incrBy
(byte[] key, double value) incrBy
(byte[] key, long value) protected void
indexCommand
(RedisCommand<?> command) info()
boolean
isClosed()
boolean
boolean
boolean
boolean
Set<byte[]>
keys
(byte[] pattern) void
killClient
(String host, int port) lastSave()
byte[]
lIndex
(byte[] key, long index) lInsert
(byte[] key, org.springframework.data.redis.connection.RedisListCommands.Position where, byte[] pivot, byte[] value) lLen
(byte[] key) byte[]
lPop
(byte[] key) lPush
(byte[] key, byte[]... values) lPushX
(byte[] key, byte[] value) List<byte[]>
lRange
(byte[] key, long start, long end) 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) move
(byte[] key, int dbIndex) void
void
multi()
void
persist
(byte[] key) pExpire
(byte[] key, long millis) pExpireAt
(byte[] key, long unixTimeInMillis) pfAdd
(byte[] key, byte[]... values) pfCount
(byte[]... keys) void
pfMerge
(byte[] destinationKey, byte[]... sourceKeys) ping()
void
pSetEx
(byte[] key, long milliseconds, byte[] value) void
pSubscribe
(org.springframework.data.redis.connection.MessageListener listener, byte[]... patterns) pTtl
(byte[] key) publish
(byte[] channel, byte[] message) byte[]
void
rename
(byte[] oldName, byte[] newName) renameNX
(byte[] oldName, byte[] newName) void
protected void
void
restore
(byte[] key, long ttlInMillis, byte[] serializedValue) byte[]
rPop
(byte[] key) byte[]
rPopLPush
(byte[] srcKey, byte[] dstKey) rPush
(byte[] key, byte[]... values) rPushX
(byte[] key, byte[] value) sAdd
(byte[] key, byte[]... values) void
save()
org.springframework.data.redis.core.Cursor<byte[]>
scan
(org.springframework.data.redis.core.ScanOptions options) sCard
(byte[] key) scriptExists
(String... scriptShas) void
void
scriptLoad
(byte[] script) Set<byte[]>
sDiff
(byte[]... keys) 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) setBit
(byte[] key, long offset, boolean value) void
setClientName
(byte[] name) void
void
setEx
(byte[] key, long seconds, byte[] value) 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) sInterStore
(byte[] destKey, byte[]... keys) sIsMember
(byte[] key, byte[] value) void
void
Set<byte[]>
sMembers
(byte[] key) sMove
(byte[] srcKey, byte[] destKey, byte[] value) List<byte[]>
sort
(byte[] key, org.springframework.data.redis.connection.SortParameters sortParams) 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) sRem
(byte[] key, byte[]... values) org.springframework.data.redis.core.Cursor<byte[]>
sScan
(byte[] key, org.springframework.data.redis.core.ScanOptions options) strLen
(byte[] key) void
subscribe
(org.springframework.data.redis.connection.MessageListener listener, byte[]... channels) Set<byte[]>
sUnion
(byte[]... keys) sUnionStore
(byte[] destKey, byte[]... keys) protected <T> T
time()
protected RedisCommand<?>
protected RuntimeException
ttl
(byte[] key) org.springframework.data.redis.connection.DataType
type
(byte[] key) void
unwatch()
void
watch
(byte[]... keys) zAdd
(byte[] key, double score, byte[] value) zCard
(byte[] key) zCount
(byte[] key, double min, double max) zCount
(byte[] key, org.springframework.data.redis.connection.RedisZSetCommands.Range range) zIncrBy
(byte[] key, double increment, byte[] value) zInterStore
(byte[] destKey, byte[]... sets) 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, String min, String max) Set<byte[]>
zRangeByScore
(byte[] key, String min, String 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<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) zRank
(byte[] key, byte[] value) zRem
(byte[] key, byte[]... values) zRemRange
(byte[] key, long start, long end) zRemRangeByScore
(byte[] key, double min, double max) 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) 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) zScore
(byte[] key, byte[] value) zUnionStore
(byte[] destKey, byte[]... sets) zUnionStore
(byte[] destKey, org.springframework.data.redis.connection.RedisZSetCommands.Aggregate aggregate, int[] weights, byte[]... sets) Methods inherited from class org.springframework.data.redis.connection.AbstractRedisConnection
getSentinelConnection, getSentinelConnection, hasRedisSentinelConfigured, isActive, setSentinelConfiguration
-
Field Details
-
redisson
-
-
Constructor Details
-
RedissonConnection
-
-
Method Details
-
close
public void close() throws org.springframework.dao.DataAccessException- Specified by:
close
in interfaceorg.springframework.data.redis.connection.RedisConnection
- Overrides:
close
in classorg.springframework.data.redis.connection.AbstractRedisConnection
- Throws:
org.springframework.dao.DataAccessException
-
isClosed
public boolean isClosed() -
getNativeConnection
-
isQueueing
public boolean isQueueing() -
isPipelined
public boolean isPipelined() -
isPipelinedAtomic
public boolean isPipelinedAtomic() -
openPipeline
public void openPipeline() -
closePipeline
public List<Object> closePipeline() throws org.springframework.data.redis.connection.RedisPipelineException- Throws:
org.springframework.data.redis.connection.RedisPipelineException
-
execute
-
transform
-
exists
-
del
-
type
public org.springframework.data.redis.connection.DataType type(byte[] key) -
keys
-
scan
public org.springframework.data.redis.core.Cursor<byte[]> scan(org.springframework.data.redis.core.ScanOptions options) -
randomKey
public byte[] randomKey() -
rename
public void rename(byte[] oldName, byte[] newName) -
renameNX
-
expire
-
pExpire
-
expireAt
-
pExpireAt
-
persist
-
move
-
ttl
-
sync
-
ttl
-
pTtl
-
pTtl
-
sort
public List<byte[]> sort(byte[] key, org.springframework.data.redis.connection.SortParameters sortParams) -
sort
public Long sort(byte[] key, org.springframework.data.redis.connection.SortParameters sortParams, byte[] storeKey) -
dump
public byte[] dump(byte[] key) -
restore
public void restore(byte[] key, long ttlInMillis, byte[] serializedValue) -
get
public byte[] get(byte[] key) -
getSet
public byte[] getSet(byte[] key, byte[] value) -
mGet
-
set
public void set(byte[] key, byte[] value) -
set
public void set(byte[] key, byte[] value, org.springframework.data.redis.core.types.Expiration expiration, org.springframework.data.redis.connection.RedisStringCommands.SetOption option) -
setNX
-
setEx
public void setEx(byte[] key, long seconds, byte[] value) -
pSetEx
public void pSetEx(byte[] key, long milliseconds, byte[] value) -
mSet
-
convert
-
mSetNX
-
incr
-
incrBy
-
incrBy
-
decr
-
decrBy
-
append
-
getRange
public byte[] getRange(byte[] key, long begin, long end) -
setRange
public void setRange(byte[] key, byte[] value, long offset) -
getBit
-
setBit
-
bitCount
-
bitCount
-
bitOp
public Long bitOp(org.springframework.data.redis.connection.RedisStringCommands.BitOperation op, byte[] destination, byte[]... keys) -
strLen
-
rPush
-
lPush
-
rPushX
-
lPushX
-
lLen
-
lRange
-
lTrim
public void lTrim(byte[] key, long start, long end) -
lIndex
public byte[] lIndex(byte[] key, long index) -
lInsert
public Long lInsert(byte[] key, org.springframework.data.redis.connection.RedisListCommands.Position where, byte[] pivot, byte[] value) -
indexCommand
-
lSet
public void lSet(byte[] key, long index, byte[] value) -
lRem
-
lPop
public byte[] lPop(byte[] key) -
rPop
public byte[] rPop(byte[] key) -
bLPop
-
bRPop
-
rPopLPush
public byte[] rPopLPush(byte[] srcKey, byte[] dstKey) -
bRPopLPush
public byte[] bRPopLPush(int timeout, byte[] srcKey, byte[] dstKey) -
sAdd
-
sRem
-
sPop
public byte[] sPop(byte[] key) -
sMove
-
sCard
-
sIsMember
-
sInter
-
sInterStore
-
sUnion
-
sUnionStore
-
sDiff
-
sDiffStore
-
sMembers
-
sRandMember
public byte[] sRandMember(byte[] key) -
sRandMember
-
sScan
public org.springframework.data.redis.core.Cursor<byte[]> sScan(byte[] key, org.springframework.data.redis.core.ScanOptions options) -
zAdd
-
zAdd
-
zRem
-
zIncrBy
-
zRank
-
zRevRank
-
zRange
-
zRangeWithScores
public Set<org.springframework.data.redis.connection.RedisZSetCommands.Tuple> zRangeWithScores(byte[] key, long start, long end) -
zRangeByScore
-
zRangeByScoreWithScores
public Set<org.springframework.data.redis.connection.RedisZSetCommands.Tuple> zRangeByScoreWithScores(byte[] key, org.springframework.data.redis.connection.RedisZSetCommands.Range range) -
zRangeByScoreWithScores
public Set<org.springframework.data.redis.connection.RedisZSetCommands.Tuple> zRangeByScoreWithScores(byte[] key, double min, double max) -
zRangeByScore
-
zRangeByScoreWithScores
public Set<org.springframework.data.redis.connection.RedisZSetCommands.Tuple> zRangeByScoreWithScores(byte[] key, double min, double max, long offset, long count) -
zRangeByScoreWithScores
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) -
zRevRange
-
zRevRangeWithScores
public Set<org.springframework.data.redis.connection.RedisZSetCommands.Tuple> zRevRangeWithScores(byte[] key, long start, long end) -
zRevRangeByScore
-
zRevRangeByScore
public Set<byte[]> zRevRangeByScore(byte[] key, org.springframework.data.redis.connection.RedisZSetCommands.Range range) -
zRevRangeByScoreWithScores
public Set<org.springframework.data.redis.connection.RedisZSetCommands.Tuple> zRevRangeByScoreWithScores(byte[] key, double min, double max) -
zRevRangeByScore
-
zRevRangeByScore
public Set<byte[]> zRevRangeByScore(byte[] key, org.springframework.data.redis.connection.RedisZSetCommands.Range range, org.springframework.data.redis.connection.RedisZSetCommands.Limit limit) -
zRevRangeByScoreWithScores
public Set<org.springframework.data.redis.connection.RedisZSetCommands.Tuple> zRevRangeByScoreWithScores(byte[] key, double min, double max, long offset, long count) -
zRevRangeByScoreWithScores
public Set<org.springframework.data.redis.connection.RedisZSetCommands.Tuple> zRevRangeByScoreWithScores(byte[] key, org.springframework.data.redis.connection.RedisZSetCommands.Range range) -
zRevRangeByScoreWithScores
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) -
zCount
-
zCount
public Long zCount(byte[] key, org.springframework.data.redis.connection.RedisZSetCommands.Range range) -
zCard
-
zScore
-
zRemRange
-
zRemRangeByScore
-
zRemRangeByScore
public Long zRemRangeByScore(byte[] key, org.springframework.data.redis.connection.RedisZSetCommands.Range range) -
zUnionStore
-
zUnionStore
public Long zUnionStore(byte[] destKey, org.springframework.data.redis.connection.RedisZSetCommands.Aggregate aggregate, int[] weights, byte[]... sets) -
zInterStore
-
zInterStore
public Long zInterStore(byte[] destKey, org.springframework.data.redis.connection.RedisZSetCommands.Aggregate aggregate, int[] weights, byte[]... sets) -
zScan
public org.springframework.data.redis.core.Cursor<org.springframework.data.redis.connection.RedisZSetCommands.Tuple> zScan(byte[] key, org.springframework.data.redis.core.ScanOptions options) -
zRangeByScore
-
zRangeByScore
public Set<byte[]> zRangeByScore(byte[] key, org.springframework.data.redis.connection.RedisZSetCommands.Range range) -
zRangeByScore
-
zRangeByScore
public Set<byte[]> zRangeByScore(byte[] key, org.springframework.data.redis.connection.RedisZSetCommands.Range range, org.springframework.data.redis.connection.RedisZSetCommands.Limit limit) -
zRangeByLex
-
zRangeByLex
public Set<byte[]> zRangeByLex(byte[] key, org.springframework.data.redis.connection.RedisZSetCommands.Range range) -
zRangeByLex
public Set<byte[]> zRangeByLex(byte[] key, org.springframework.data.redis.connection.RedisZSetCommands.Range range, org.springframework.data.redis.connection.RedisZSetCommands.Limit limit) -
hSet
-
hSetNX
-
hGet
public byte[] hGet(byte[] key, byte[] field) -
hMGet
-
hMSet
-
hIncrBy
-
hIncrBy
-
hExists
-
hDel
-
hLen
-
hKeys
-
hVals
-
hGetAll
-
hScan
public org.springframework.data.redis.core.Cursor<Map.Entry<byte[],byte[]>> hScan(byte[] key, org.springframework.data.redis.core.ScanOptions options) -
multi
public void multi() -
exec
-
filterResults
-
resetConnection
protected void resetConnection() -
discard
public void discard() -
watch
public void watch(byte[]... keys) -
unwatch
public void unwatch() -
isSubscribed
public boolean isSubscribed() -
getSubscription
public org.springframework.data.redis.connection.Subscription getSubscription() -
publish
-
subscribe
public void subscribe(org.springframework.data.redis.connection.MessageListener listener, byte[]... channels) -
pSubscribe
public void pSubscribe(org.springframework.data.redis.connection.MessageListener listener, byte[]... patterns) -
select
public void select(int dbIndex) -
echo
public byte[] echo(byte[] message) -
ping
-
bgWriteAof
public void bgWriteAof() -
bgReWriteAof
public void bgReWriteAof() -
bgSave
public void bgSave() -
lastSave
-
save
public void save() -
dbSize
-
flushDb
public void flushDb() -
flushAll
public void flushAll() -
info
-
info
-
shutdown
public void shutdown() -
shutdown
public void shutdown(org.springframework.data.redis.connection.RedisServerCommands.ShutdownOption option) -
getConfig
-
setConfig
-
resetConfigStats
public void resetConfigStats() -
time
-
killClient
-
setClientName
public void setClientName(byte[] name) -
getClientName
-
getClientList
-
slaveOf
-
slaveOfNoOne
public void slaveOfNoOne() -
migrate
public void migrate(byte[] key, org.springframework.data.redis.connection.RedisNode target, int dbIndex, org.springframework.data.redis.connection.RedisServerCommands.MigrateOption option) -
migrate
public void migrate(byte[] key, org.springframework.data.redis.connection.RedisNode target, int dbIndex, org.springframework.data.redis.connection.RedisServerCommands.MigrateOption option, long timeout) -
scriptFlush
public void scriptFlush() -
scriptKill
public void scriptKill() -
scriptLoad
-
scriptExists
-
eval
public <T> T eval(byte[] script, org.springframework.data.redis.connection.ReturnType returnType, int numKeys, byte[]... keysAndArgs) -
toCommand
protected RedisCommand<?> toCommand(org.springframework.data.redis.connection.ReturnType returnType, String name) -
evalSha
public <T> T evalSha(String scriptSha, org.springframework.data.redis.connection.ReturnType returnType, int numKeys, byte[]... keysAndArgs) -
evalSha
public <T> T evalSha(byte[] scriptSha, org.springframework.data.redis.connection.ReturnType returnType, int numKeys, byte[]... keysAndArgs) -
geoAdd
-
geoAdd
public Long geoAdd(byte[] key, org.springframework.data.redis.connection.RedisGeoCommands.GeoLocation<byte[]> location) -
geoAdd
-
geoAdd
-
geoDist
public org.springframework.data.geo.Distance geoDist(byte[] key, byte[] member1, byte[] member2) -
geoDist
public org.springframework.data.geo.Distance geoDist(byte[] key, byte[] member1, byte[] member2, org.springframework.data.geo.Metric metric) -
geoHash
-
geoPos
-
geoRadius
public org.springframework.data.geo.GeoResults<org.springframework.data.redis.connection.RedisGeoCommands.GeoLocation<byte[]>> geoRadius(byte[] key, org.springframework.data.geo.Circle within) -
geoRadius
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) -
geoRadiusByMember
public org.springframework.data.geo.GeoResults<org.springframework.data.redis.connection.RedisGeoCommands.GeoLocation<byte[]>> geoRadiusByMember(byte[] key, byte[] member, double radius) -
geoRadiusByMember
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) -
geoRadiusByMember
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) -
geoRemove
-
pfAdd
-
pfCount
-
pfMerge
public void pfMerge(byte[] destinationKey, byte[]... sourceKeys)
-