public class TracingRedisConnection extends Object implements org.springframework.data.redis.connection.RedisConnection
RedisConnection.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.Tuple, org.springframework.data.redis.connection.RedisZSetCommands.Weightsorg.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| Constructor and Description |
|---|
TracingRedisConnection(org.springframework.data.redis.connection.RedisConnection connection,
boolean withActiveSpanOnly,
io.opentracing.Tracer tracer) |
| 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) |
List<Long> |
bitField(byte[] key,
org.springframework.data.redis.connection.BitFieldSubCommands subCommands) |
Long |
bitOp(org.springframework.data.redis.connection.RedisStringCommands.BitOperation op,
byte[] destination,
byte[]... keys) |
Long |
bitPos(byte[] key,
boolean bit,
org.springframework.data.domain.Range<Long> range) |
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() |
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) |
org.springframework.data.redis.connection.ValueEncoding |
encodingOf(byte[] key) |
<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) |
Long |
exists(byte[]... keys) |
Boolean |
exists(byte[] key) |
Boolean |
expire(byte[] key,
long seconds) |
Boolean |
expireAt(byte[] key,
long unixTime) |
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.redis.connection.RedisGeoCommands |
geoCommands() |
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() |
Properties |
getConfig(String pattern) |
Object |
getNativeConnection() |
byte[] |
getRange(byte[] key,
long begin,
long end) |
org.springframework.data.redis.connection.RedisSentinelConnection |
getSentinelConnection() |
byte[] |
getSet(byte[] key,
byte[] value) |
org.springframework.data.redis.connection.Subscription |
getSubscription() |
org.springframework.data.redis.connection.RedisHashCommands |
hashCommands() |
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) |
Long |
hStrLen(byte[] key,
byte[] field) |
List<byte[]> |
hVals(byte[] key) |
org.springframework.data.redis.connection.RedisHyperLogLogCommands |
hyperLogLogCommands() |
Duration |
idletime(byte[] key) |
Long |
incr(byte[] key) |
Double |
incrBy(byte[] key,
double value) |
Long |
incrBy(byte[] key,
long value) |
Properties |
info() |
Properties |
info(String section) |
boolean |
isClosed() |
boolean |
isPipelined() |
boolean |
isQueueing() |
boolean |
isSubscribed() |
org.springframework.data.redis.connection.RedisKeyCommands |
keyCommands() |
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) |
org.springframework.data.redis.connection.RedisListCommands |
listCommands() |
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) |
Boolean |
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() |
Boolean |
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() |
Long |
refcount(byte[] key) |
void |
rename(byte[] oldName,
byte[] newName) |
Boolean |
renameNX(byte[] oldName,
byte[] newName) |
void |
resetConfigStats() |
void |
restore(byte[] key,
long ttlInMillis,
byte[] serializedValue) |
void |
restore(byte[] key,
long ttlInMillis,
byte[] serializedValue,
boolean replace) |
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() |
org.springframework.data.redis.connection.RedisScriptingCommands |
scriptingCommands() |
void |
scriptKill() |
String |
scriptLoad(byte[] script) |
Set<byte[]> |
sDiff(byte[]... keys) |
Long |
sDiffStore(byte[] destKey,
byte[]... keys) |
void |
select(int dbIndex) |
org.springframework.data.redis.connection.RedisServerCommands |
serverCommands() |
Boolean |
set(byte[] key,
byte[] value) |
Boolean |
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) |
org.springframework.data.redis.connection.RedisSetCommands |
setCommands() |
void |
setConfig(String param,
String value) |
Boolean |
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 params) |
Long |
sort(byte[] key,
org.springframework.data.redis.connection.SortParameters params,
byte[] storeKey) |
byte[] |
sPop(byte[] key) |
List<byte[]> |
sPop(byte[] key,
long count) |
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) |
org.springframework.data.redis.connection.RedisStringCommands |
stringCommands() |
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) |
Long |
time() |
Long |
touch(byte[]... keys) |
Long |
ttl(byte[] key) |
Long |
ttl(byte[] key,
TimeUnit timeUnit) |
org.springframework.data.redis.connection.DataType |
type(byte[] key) |
Long |
unlink(byte[]... keys) |
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) |
Long |
zInterStore(byte[] destKey,
org.springframework.data.redis.connection.RedisZSetCommands.Aggregate aggregate,
org.springframework.data.redis.connection.RedisZSetCommands.Weights 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) |
org.springframework.data.redis.connection.RedisZSetCommands |
zSetCommands() |
Long |
zUnionStore(byte[] destKey,
byte[]... sets) |
Long |
zUnionStore(byte[] destKey,
org.springframework.data.redis.connection.RedisZSetCommands.Aggregate aggregate,
int[] weights,
byte[]... sets) |
Long |
zUnionStore(byte[] destKey,
org.springframework.data.redis.connection.RedisZSetCommands.Aggregate aggregate,
org.springframework.data.redis.connection.RedisZSetCommands.Weights weights,
byte[]... sets) |
public TracingRedisConnection(org.springframework.data.redis.connection.RedisConnection connection,
boolean withActiveSpanOnly,
io.opentracing.Tracer tracer)
public org.springframework.data.redis.connection.RedisGeoCommands geoCommands()
geoCommands in interface org.springframework.data.redis.connection.RedisConnectionpublic org.springframework.data.redis.connection.RedisHashCommands hashCommands()
hashCommands in interface org.springframework.data.redis.connection.RedisConnectionpublic org.springframework.data.redis.connection.RedisHyperLogLogCommands hyperLogLogCommands()
hyperLogLogCommands in interface org.springframework.data.redis.connection.RedisConnectionpublic org.springframework.data.redis.connection.RedisKeyCommands keyCommands()
keyCommands in interface org.springframework.data.redis.connection.RedisConnectionpublic org.springframework.data.redis.connection.RedisListCommands listCommands()
listCommands in interface org.springframework.data.redis.connection.RedisConnectionpublic org.springframework.data.redis.connection.RedisSetCommands setCommands()
setCommands in interface org.springframework.data.redis.connection.RedisConnectionpublic org.springframework.data.redis.connection.RedisScriptingCommands scriptingCommands()
scriptingCommands in interface org.springframework.data.redis.connection.RedisConnectionpublic org.springframework.data.redis.connection.RedisServerCommands serverCommands()
serverCommands in interface org.springframework.data.redis.connection.RedisConnectionpublic org.springframework.data.redis.connection.RedisStringCommands stringCommands()
stringCommands in interface org.springframework.data.redis.connection.RedisConnectionpublic org.springframework.data.redis.connection.RedisZSetCommands zSetCommands()
zSetCommands in interface org.springframework.data.redis.connection.RedisConnectionpublic void close()
throws org.springframework.dao.DataAccessException
close in interface org.springframework.data.redis.connection.RedisConnectionorg.springframework.dao.DataAccessExceptionpublic boolean isClosed()
isClosed in interface org.springframework.data.redis.connection.RedisConnectionpublic Object getNativeConnection()
getNativeConnection in interface org.springframework.data.redis.connection.RedisConnectionpublic boolean isQueueing()
isQueueing in interface org.springframework.data.redis.connection.RedisConnectionpublic boolean isPipelined()
isPipelined in interface org.springframework.data.redis.connection.RedisConnectionpublic void openPipeline()
openPipeline in interface org.springframework.data.redis.connection.RedisConnectionpublic List<Object> closePipeline() throws org.springframework.data.redis.connection.RedisPipelineException
closePipeline in interface org.springframework.data.redis.connection.RedisConnectionorg.springframework.data.redis.connection.RedisPipelineExceptionpublic boolean isSubscribed()
isSubscribed in interface org.springframework.data.redis.connection.RedisPubSubCommandspublic org.springframework.data.redis.connection.Subscription getSubscription()
getSubscription in interface org.springframework.data.redis.connection.RedisPubSubCommandspublic org.springframework.data.redis.connection.RedisSentinelConnection getSentinelConnection()
getSentinelConnection in interface org.springframework.data.redis.connection.RedisConnectionpublic Object execute(String command, byte[]... args)
execute in interface org.springframework.data.redis.connection.RedisCommandspublic Boolean exists(byte[] key)
exists in interface org.springframework.data.redis.connection.RedisKeyCommandspublic Long exists(byte[]... keys)
exists in interface org.springframework.data.redis.connection.RedisKeyCommandspublic Long del(byte[]... keys)
del in interface org.springframework.data.redis.connection.RedisKeyCommandspublic Long unlink(byte[]... keys)
unlink in interface org.springframework.data.redis.connection.RedisKeyCommandspublic org.springframework.data.redis.connection.DataType type(byte[] key)
type in interface org.springframework.data.redis.connection.RedisKeyCommandspublic Long touch(byte[]... keys)
touch in interface org.springframework.data.redis.connection.RedisKeyCommandspublic Set<byte[]> keys(byte[] pattern)
keys in interface org.springframework.data.redis.connection.RedisKeyCommandspublic org.springframework.data.redis.core.Cursor<byte[]> scan(org.springframework.data.redis.core.ScanOptions options)
scan in interface org.springframework.data.redis.connection.RedisKeyCommandspublic byte[] randomKey()
randomKey in interface org.springframework.data.redis.connection.RedisKeyCommandspublic void rename(byte[] oldName,
byte[] newName)
rename in interface org.springframework.data.redis.connection.RedisKeyCommandspublic Boolean renameNX(byte[] oldName, byte[] newName)
renameNX in interface org.springframework.data.redis.connection.RedisKeyCommandspublic Boolean expire(byte[] key, long seconds)
expire in interface org.springframework.data.redis.connection.RedisKeyCommandspublic Boolean pExpire(byte[] key, long millis)
pExpire in interface org.springframework.data.redis.connection.RedisKeyCommandspublic Boolean expireAt(byte[] key, long unixTime)
expireAt in interface org.springframework.data.redis.connection.RedisKeyCommandspublic Boolean pExpireAt(byte[] key, long unixTimeInMillis)
pExpireAt in interface org.springframework.data.redis.connection.RedisKeyCommandspublic Boolean persist(byte[] key)
persist in interface org.springframework.data.redis.connection.RedisKeyCommandspublic Boolean move(byte[] key, int dbIndex)
move in interface org.springframework.data.redis.connection.RedisKeyCommandspublic Long ttl(byte[] key)
ttl in interface org.springframework.data.redis.connection.RedisKeyCommandspublic Long ttl(byte[] key, TimeUnit timeUnit)
ttl in interface org.springframework.data.redis.connection.RedisKeyCommandspublic Long pTtl(byte[] key)
pTtl in interface org.springframework.data.redis.connection.RedisKeyCommandspublic Long pTtl(byte[] key, TimeUnit timeUnit)
pTtl in interface org.springframework.data.redis.connection.RedisKeyCommandspublic List<byte[]> sort(byte[] key, org.springframework.data.redis.connection.SortParameters params)
sort in interface org.springframework.data.redis.connection.RedisKeyCommandspublic Long sort(byte[] key, org.springframework.data.redis.connection.SortParameters params, byte[] storeKey)
sort in interface org.springframework.data.redis.connection.RedisKeyCommandspublic byte[] dump(byte[] key)
dump in interface org.springframework.data.redis.connection.RedisKeyCommandspublic void restore(byte[] key,
long ttlInMillis,
byte[] serializedValue)
restore in interface org.springframework.data.redis.connection.RedisKeyCommandspublic void restore(byte[] key,
long ttlInMillis,
byte[] serializedValue,
boolean replace)
restore in interface org.springframework.data.redis.connection.RedisKeyCommandspublic org.springframework.data.redis.connection.ValueEncoding encodingOf(byte[] key)
encodingOf in interface org.springframework.data.redis.connection.RedisKeyCommandspublic Duration idletime(byte[] key)
idletime in interface org.springframework.data.redis.connection.RedisKeyCommandspublic Long refcount(byte[] key)
refcount in interface org.springframework.data.redis.connection.RedisKeyCommandspublic byte[] get(byte[] key)
get in interface org.springframework.data.redis.connection.RedisStringCommandspublic byte[] getSet(byte[] key,
byte[] value)
getSet in interface org.springframework.data.redis.connection.RedisStringCommandspublic List<byte[]> mGet(byte[]... keys)
mGet in interface org.springframework.data.redis.connection.RedisStringCommandspublic Boolean set(byte[] key, byte[] value)
set in interface org.springframework.data.redis.connection.RedisStringCommandspublic Boolean set(byte[] key, byte[] value, org.springframework.data.redis.core.types.Expiration expiration, org.springframework.data.redis.connection.RedisStringCommands.SetOption option)
set in interface org.springframework.data.redis.connection.RedisStringCommandspublic Boolean setNX(byte[] key, byte[] value)
setNX in interface org.springframework.data.redis.connection.RedisStringCommandspublic Boolean setEx(byte[] key, long seconds, byte[] value)
setEx in interface org.springframework.data.redis.connection.RedisStringCommandspublic Boolean pSetEx(byte[] key, long milliseconds, byte[] value)
pSetEx in interface org.springframework.data.redis.connection.RedisStringCommandspublic Boolean mSet(Map<byte[],byte[]> tuple)
mSet in interface org.springframework.data.redis.connection.RedisStringCommandspublic Boolean mSetNX(Map<byte[],byte[]> tuple)
mSetNX in interface org.springframework.data.redis.connection.RedisStringCommandspublic Long incr(byte[] key)
incr in interface org.springframework.data.redis.connection.RedisStringCommandspublic Long incrBy(byte[] key, long value)
incrBy in interface org.springframework.data.redis.connection.RedisStringCommandspublic Double incrBy(byte[] key, double value)
incrBy in interface org.springframework.data.redis.connection.RedisStringCommandspublic Long decr(byte[] key)
decr in interface org.springframework.data.redis.connection.RedisStringCommandspublic Long decrBy(byte[] key, long value)
decrBy in interface org.springframework.data.redis.connection.RedisStringCommandspublic Long append(byte[] key, byte[] value)
append in interface org.springframework.data.redis.connection.RedisStringCommandspublic byte[] getRange(byte[] key,
long begin,
long end)
getRange in interface org.springframework.data.redis.connection.RedisStringCommandspublic void setRange(byte[] key,
byte[] value,
long offset)
setRange in interface org.springframework.data.redis.connection.RedisStringCommandspublic Boolean getBit(byte[] key, long offset)
getBit in interface org.springframework.data.redis.connection.RedisStringCommandspublic Boolean setBit(byte[] key, long offset, boolean value)
setBit in interface org.springframework.data.redis.connection.RedisStringCommandspublic Long bitCount(byte[] key)
bitCount in interface org.springframework.data.redis.connection.RedisStringCommandspublic Long bitCount(byte[] key, long begin, long end)
bitCount in interface org.springframework.data.redis.connection.RedisStringCommandspublic List<Long> bitField(byte[] key, org.springframework.data.redis.connection.BitFieldSubCommands subCommands)
bitField in interface org.springframework.data.redis.connection.RedisStringCommandspublic Long bitOp(org.springframework.data.redis.connection.RedisStringCommands.BitOperation op, byte[] destination, byte[]... keys)
bitOp in interface org.springframework.data.redis.connection.RedisStringCommandspublic Long bitPos(byte[] key, boolean bit, org.springframework.data.domain.Range<Long> range)
bitPos in interface org.springframework.data.redis.connection.RedisStringCommandspublic Long strLen(byte[] key)
strLen in interface org.springframework.data.redis.connection.RedisStringCommandspublic Long rPush(byte[] key, byte[]... values)
rPush in interface org.springframework.data.redis.connection.RedisListCommandspublic Long lPush(byte[] key, byte[]... values)
lPush in interface org.springframework.data.redis.connection.RedisListCommandspublic Long rPushX(byte[] key, byte[] value)
rPushX in interface org.springframework.data.redis.connection.RedisListCommandspublic Long lPushX(byte[] key, byte[] value)
lPushX in interface org.springframework.data.redis.connection.RedisListCommandspublic Long lLen(byte[] key)
lLen in interface org.springframework.data.redis.connection.RedisListCommandspublic List<byte[]> lRange(byte[] key, long start, long end)
lRange in interface org.springframework.data.redis.connection.RedisListCommandspublic void lTrim(byte[] key,
long start,
long end)
lTrim in interface org.springframework.data.redis.connection.RedisListCommandspublic byte[] lIndex(byte[] key,
long index)
lIndex in interface org.springframework.data.redis.connection.RedisListCommandspublic Long lInsert(byte[] key, org.springframework.data.redis.connection.RedisListCommands.Position where, byte[] pivot, byte[] value)
lInsert in interface org.springframework.data.redis.connection.RedisListCommandspublic void lSet(byte[] key,
long index,
byte[] value)
lSet in interface org.springframework.data.redis.connection.RedisListCommandspublic Long lRem(byte[] key, long count, byte[] value)
lRem in interface org.springframework.data.redis.connection.RedisListCommandspublic byte[] lPop(byte[] key)
lPop in interface org.springframework.data.redis.connection.RedisListCommandspublic byte[] rPop(byte[] key)
rPop in interface org.springframework.data.redis.connection.RedisListCommandspublic List<byte[]> bLPop(int timeout, byte[]... keys)
bLPop in interface org.springframework.data.redis.connection.RedisListCommandspublic List<byte[]> bRPop(int timeout, byte[]... keys)
bRPop in interface org.springframework.data.redis.connection.RedisListCommandspublic byte[] rPopLPush(byte[] srcKey,
byte[] dstKey)
rPopLPush in interface org.springframework.data.redis.connection.RedisListCommandspublic byte[] bRPopLPush(int timeout,
byte[] srcKey,
byte[] dstKey)
bRPopLPush in interface org.springframework.data.redis.connection.RedisListCommandspublic Long sAdd(byte[] key, byte[]... values)
sAdd in interface org.springframework.data.redis.connection.RedisSetCommandspublic Long sRem(byte[] key, byte[]... values)
sRem in interface org.springframework.data.redis.connection.RedisSetCommandspublic byte[] sPop(byte[] key)
sPop in interface org.springframework.data.redis.connection.RedisSetCommandspublic List<byte[]> sPop(byte[] key, long count)
sPop in interface org.springframework.data.redis.connection.RedisSetCommandspublic Boolean sMove(byte[] srcKey, byte[] destKey, byte[] value)
sMove in interface org.springframework.data.redis.connection.RedisSetCommandspublic Long sCard(byte[] key)
sCard in interface org.springframework.data.redis.connection.RedisSetCommandspublic Boolean sIsMember(byte[] key, byte[] value)
sIsMember in interface org.springframework.data.redis.connection.RedisSetCommandspublic Set<byte[]> sInter(byte[]... keys)
sInter in interface org.springframework.data.redis.connection.RedisSetCommandspublic Long sInterStore(byte[] destKey, byte[]... keys)
sInterStore in interface org.springframework.data.redis.connection.RedisSetCommandspublic Set<byte[]> sUnion(byte[]... keys)
sUnion in interface org.springframework.data.redis.connection.RedisSetCommandspublic Long sUnionStore(byte[] destKey, byte[]... keys)
sUnionStore in interface org.springframework.data.redis.connection.RedisSetCommandspublic Set<byte[]> sDiff(byte[]... keys)
sDiff in interface org.springframework.data.redis.connection.RedisSetCommandspublic Long sDiffStore(byte[] destKey, byte[]... keys)
sDiffStore in interface org.springframework.data.redis.connection.RedisSetCommandspublic Set<byte[]> sMembers(byte[] key)
sMembers in interface org.springframework.data.redis.connection.RedisSetCommandspublic byte[] sRandMember(byte[] key)
sRandMember in interface org.springframework.data.redis.connection.RedisSetCommandspublic List<byte[]> sRandMember(byte[] key, long count)
sRandMember in interface org.springframework.data.redis.connection.RedisSetCommandspublic org.springframework.data.redis.core.Cursor<byte[]> sScan(byte[] key,
org.springframework.data.redis.core.ScanOptions options)
sScan in interface org.springframework.data.redis.connection.RedisSetCommandspublic Boolean zAdd(byte[] key, double score, byte[] value)
zAdd in interface org.springframework.data.redis.connection.RedisZSetCommandspublic Long zAdd(byte[] key, Set<org.springframework.data.redis.connection.RedisZSetCommands.Tuple> tuples)
zAdd in interface org.springframework.data.redis.connection.RedisZSetCommandspublic Long zRem(byte[] key, byte[]... values)
zRem in interface org.springframework.data.redis.connection.RedisZSetCommandspublic Double zIncrBy(byte[] key, double increment, byte[] value)
zIncrBy in interface org.springframework.data.redis.connection.RedisZSetCommandspublic Long zRank(byte[] key, byte[] value)
zRank in interface org.springframework.data.redis.connection.RedisZSetCommandspublic Long zRevRank(byte[] key, byte[] value)
zRevRank in interface org.springframework.data.redis.connection.RedisZSetCommandspublic Set<byte[]> zRange(byte[] key, long start, long end)
zRange in interface org.springframework.data.redis.connection.RedisZSetCommandspublic Set<byte[]> zRevRange(byte[] key, long start, long end)
zRevRange in interface org.springframework.data.redis.connection.RedisZSetCommandspublic Set<org.springframework.data.redis.connection.RedisZSetCommands.Tuple> zRevRangeWithScores(byte[] key, long start, long end)
zRevRangeWithScores in interface org.springframework.data.redis.connection.RedisZSetCommandspublic Set<org.springframework.data.redis.connection.RedisZSetCommands.Tuple> zRangeWithScores(byte[] key, long start, long end)
zRangeWithScores in interface org.springframework.data.redis.connection.RedisZSetCommandspublic Set<byte[]> zRangeByScore(byte[] key, double min, double max)
zRangeByScore in interface org.springframework.data.redis.connection.RedisZSetCommandspublic Set<byte[]> zRangeByScore(byte[] key, double min, double max, long offset, long count)
zRangeByScore in interface org.springframework.data.redis.connection.RedisZSetCommandspublic Set<byte[]> zRangeByScore(byte[] key, String min, String max)
zRangeByScore in interface org.springframework.data.redis.connection.RedisZSetCommandspublic Set<byte[]> zRangeByScore(byte[] key, org.springframework.data.redis.connection.RedisZSetCommands.Range range)
zRangeByScore in interface org.springframework.data.redis.connection.RedisZSetCommandspublic Set<byte[]> zRangeByScore(byte[] key, String min, String max, long offset, long count)
zRangeByScore in interface org.springframework.data.redis.connection.RedisZSetCommandspublic Set<byte[]> zRangeByScore(byte[] key, org.springframework.data.redis.connection.RedisZSetCommands.Range range, org.springframework.data.redis.connection.RedisZSetCommands.Limit limit)
zRangeByScore in interface org.springframework.data.redis.connection.RedisZSetCommandspublic Set<org.springframework.data.redis.connection.RedisZSetCommands.Tuple> zRangeByScoreWithScores(byte[] key, org.springframework.data.redis.connection.RedisZSetCommands.Range range)
zRangeByScoreWithScores in interface org.springframework.data.redis.connection.RedisZSetCommandspublic Set<org.springframework.data.redis.connection.RedisZSetCommands.Tuple> zRangeByScoreWithScores(byte[] key, double min, double max)
zRangeByScoreWithScores in interface org.springframework.data.redis.connection.RedisZSetCommandspublic Set<org.springframework.data.redis.connection.RedisZSetCommands.Tuple> zRangeByScoreWithScores(byte[] key, double min, double max, long offset, long count)
zRangeByScoreWithScores in interface org.springframework.data.redis.connection.RedisZSetCommandspublic 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)
zRangeByScoreWithScores in interface org.springframework.data.redis.connection.RedisZSetCommandspublic Set<byte[]> zRevRangeByScore(byte[] key, double min, double max)
zRevRangeByScore in interface org.springframework.data.redis.connection.RedisZSetCommandspublic Set<byte[]> zRevRangeByScore(byte[] key, org.springframework.data.redis.connection.RedisZSetCommands.Range range)
zRevRangeByScore in interface org.springframework.data.redis.connection.RedisZSetCommandspublic Set<byte[]> zRevRangeByScore(byte[] key, double min, double max, long offset, long count)
zRevRangeByScore in interface org.springframework.data.redis.connection.RedisZSetCommandspublic Set<byte[]> zRevRangeByScore(byte[] key, org.springframework.data.redis.connection.RedisZSetCommands.Range range, org.springframework.data.redis.connection.RedisZSetCommands.Limit limit)
zRevRangeByScore in interface org.springframework.data.redis.connection.RedisZSetCommandspublic Set<org.springframework.data.redis.connection.RedisZSetCommands.Tuple> zRevRangeByScoreWithScores(byte[] key, double min, double max)
zRevRangeByScoreWithScores in interface org.springframework.data.redis.connection.RedisZSetCommandspublic Set<org.springframework.data.redis.connection.RedisZSetCommands.Tuple> zRevRangeByScoreWithScores(byte[] key, double min, double max, long offset, long count)
zRevRangeByScoreWithScores in interface org.springframework.data.redis.connection.RedisZSetCommandspublic Set<org.springframework.data.redis.connection.RedisZSetCommands.Tuple> zRevRangeByScoreWithScores(byte[] key, org.springframework.data.redis.connection.RedisZSetCommands.Range range)
zRevRangeByScoreWithScores in interface org.springframework.data.redis.connection.RedisZSetCommandspublic 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)
zRevRangeByScoreWithScores in interface org.springframework.data.redis.connection.RedisZSetCommandspublic Long zCount(byte[] key, double min, double max)
zCount in interface org.springframework.data.redis.connection.RedisZSetCommandspublic Long zCount(byte[] key, org.springframework.data.redis.connection.RedisZSetCommands.Range range)
zCount in interface org.springframework.data.redis.connection.RedisZSetCommandspublic Long zCard(byte[] key)
zCard in interface org.springframework.data.redis.connection.RedisZSetCommandspublic Double zScore(byte[] key, byte[] value)
zScore in interface org.springframework.data.redis.connection.RedisZSetCommandspublic Long zRemRange(byte[] key, long start, long end)
zRemRange in interface org.springframework.data.redis.connection.RedisZSetCommandspublic Long zRemRangeByScore(byte[] key, double min, double max)
zRemRangeByScore in interface org.springframework.data.redis.connection.RedisZSetCommandspublic Long zRemRangeByScore(byte[] key, org.springframework.data.redis.connection.RedisZSetCommands.Range range)
zRemRangeByScore in interface org.springframework.data.redis.connection.RedisZSetCommandspublic Long zUnionStore(byte[] destKey, byte[]... sets)
zUnionStore in interface org.springframework.data.redis.connection.RedisZSetCommandspublic Long zUnionStore(byte[] destKey, org.springframework.data.redis.connection.RedisZSetCommands.Aggregate aggregate, int[] weights, byte[]... sets)
zUnionStore in interface org.springframework.data.redis.connection.RedisZSetCommandspublic Long zUnionStore(byte[] destKey, org.springframework.data.redis.connection.RedisZSetCommands.Aggregate aggregate, org.springframework.data.redis.connection.RedisZSetCommands.Weights weights, byte[]... sets)
zUnionStore in interface org.springframework.data.redis.connection.RedisZSetCommandspublic Long zInterStore(byte[] destKey, byte[]... sets)
zInterStore in interface org.springframework.data.redis.connection.RedisZSetCommandspublic Long zInterStore(byte[] destKey, org.springframework.data.redis.connection.RedisZSetCommands.Aggregate aggregate, int[] weights, byte[]... sets)
zInterStore in interface org.springframework.data.redis.connection.RedisZSetCommandspublic Long zInterStore(byte[] destKey, org.springframework.data.redis.connection.RedisZSetCommands.Aggregate aggregate, org.springframework.data.redis.connection.RedisZSetCommands.Weights weights, byte[]... sets)
zInterStore in interface org.springframework.data.redis.connection.RedisZSetCommandspublic org.springframework.data.redis.core.Cursor<org.springframework.data.redis.connection.RedisZSetCommands.Tuple> zScan(byte[] key,
org.springframework.data.redis.core.ScanOptions options)
zScan in interface org.springframework.data.redis.connection.RedisZSetCommandspublic Set<byte[]> zRangeByLex(byte[] key)
zRangeByLex in interface org.springframework.data.redis.connection.RedisZSetCommandspublic Set<byte[]> zRangeByLex(byte[] key, org.springframework.data.redis.connection.RedisZSetCommands.Range range)
zRangeByLex in interface org.springframework.data.redis.connection.RedisZSetCommandspublic Set<byte[]> zRangeByLex(byte[] key, org.springframework.data.redis.connection.RedisZSetCommands.Range range, org.springframework.data.redis.connection.RedisZSetCommands.Limit limit)
zRangeByLex in interface org.springframework.data.redis.connection.RedisZSetCommandspublic Boolean hSet(byte[] key, byte[] field, byte[] value)
hSet in interface org.springframework.data.redis.connection.RedisHashCommandspublic Boolean hSetNX(byte[] key, byte[] field, byte[] value)
hSetNX in interface org.springframework.data.redis.connection.RedisHashCommandspublic byte[] hGet(byte[] key,
byte[] field)
hGet in interface org.springframework.data.redis.connection.RedisHashCommandspublic List<byte[]> hMGet(byte[] key, byte[]... fields)
hMGet in interface org.springframework.data.redis.connection.RedisHashCommandspublic void hMSet(byte[] key,
Map<byte[],byte[]> hashes)
hMSet in interface org.springframework.data.redis.connection.RedisHashCommandspublic Long hIncrBy(byte[] key, byte[] field, long delta)
hIncrBy in interface org.springframework.data.redis.connection.RedisHashCommandspublic Double hIncrBy(byte[] key, byte[] field, double delta)
hIncrBy in interface org.springframework.data.redis.connection.RedisHashCommandspublic Boolean hExists(byte[] key, byte[] field)
hExists in interface org.springframework.data.redis.connection.RedisHashCommandspublic Long hDel(byte[] key, byte[]... fields)
hDel in interface org.springframework.data.redis.connection.RedisHashCommandspublic Long hLen(byte[] key)
hLen in interface org.springframework.data.redis.connection.RedisHashCommandspublic Set<byte[]> hKeys(byte[] key)
hKeys in interface org.springframework.data.redis.connection.RedisHashCommandspublic List<byte[]> hVals(byte[] key)
hVals in interface org.springframework.data.redis.connection.RedisHashCommandspublic Map<byte[],byte[]> hGetAll(byte[] key)
hGetAll in interface org.springframework.data.redis.connection.RedisHashCommandspublic org.springframework.data.redis.core.Cursor<Map.Entry<byte[],byte[]>> hScan(byte[] key, org.springframework.data.redis.core.ScanOptions options)
hScan in interface org.springframework.data.redis.connection.RedisHashCommandspublic Long hStrLen(byte[] key, byte[] field)
hStrLen in interface org.springframework.data.redis.connection.RedisHashCommandspublic void multi()
multi in interface org.springframework.data.redis.connection.RedisTxCommandspublic List<Object> exec()
exec in interface org.springframework.data.redis.connection.RedisTxCommandspublic void discard()
discard in interface org.springframework.data.redis.connection.RedisTxCommandspublic void watch(byte[]... keys)
watch in interface org.springframework.data.redis.connection.RedisTxCommandspublic void unwatch()
unwatch in interface org.springframework.data.redis.connection.RedisTxCommandspublic Long publish(byte[] channel, byte[] message)
publish in interface org.springframework.data.redis.connection.RedisPubSubCommandspublic void subscribe(org.springframework.data.redis.connection.MessageListener listener,
byte[]... channels)
subscribe in interface org.springframework.data.redis.connection.RedisPubSubCommandspublic void pSubscribe(org.springframework.data.redis.connection.MessageListener listener,
byte[]... patterns)
pSubscribe in interface org.springframework.data.redis.connection.RedisPubSubCommandspublic void select(int dbIndex)
select in interface org.springframework.data.redis.connection.RedisConnectionCommandspublic byte[] echo(byte[] message)
echo in interface org.springframework.data.redis.connection.RedisConnectionCommandspublic String ping()
ping in interface org.springframework.data.redis.connection.RedisConnectionCommandspublic void bgWriteAof()
bgWriteAof in interface org.springframework.data.redis.connection.RedisServerCommandspublic void bgReWriteAof()
bgReWriteAof in interface org.springframework.data.redis.connection.RedisServerCommandspublic void bgSave()
bgSave in interface org.springframework.data.redis.connection.RedisServerCommandspublic Long lastSave()
lastSave in interface org.springframework.data.redis.connection.RedisServerCommandspublic void save()
save in interface org.springframework.data.redis.connection.RedisServerCommandspublic Long dbSize()
dbSize in interface org.springframework.data.redis.connection.RedisServerCommandspublic void flushDb()
flushDb in interface org.springframework.data.redis.connection.RedisServerCommandspublic void flushAll()
flushAll in interface org.springframework.data.redis.connection.RedisServerCommandspublic Properties info()
info in interface org.springframework.data.redis.connection.RedisServerCommandspublic Properties info(String section)
info in interface org.springframework.data.redis.connection.RedisServerCommandspublic void shutdown()
shutdown in interface org.springframework.data.redis.connection.RedisServerCommandspublic void shutdown(org.springframework.data.redis.connection.RedisServerCommands.ShutdownOption option)
shutdown in interface org.springframework.data.redis.connection.RedisServerCommandspublic Properties getConfig(String pattern)
getConfig in interface org.springframework.data.redis.connection.RedisServerCommandspublic void setConfig(String param, String value)
setConfig in interface org.springframework.data.redis.connection.RedisServerCommandspublic void resetConfigStats()
resetConfigStats in interface org.springframework.data.redis.connection.RedisServerCommandspublic Long time()
time in interface org.springframework.data.redis.connection.RedisServerCommandspublic void killClient(String host, int port)
killClient in interface org.springframework.data.redis.connection.RedisServerCommandspublic void setClientName(byte[] name)
setClientName in interface org.springframework.data.redis.connection.RedisServerCommandspublic String getClientName()
getClientName in interface org.springframework.data.redis.connection.RedisServerCommandspublic List<org.springframework.data.redis.core.types.RedisClientInfo> getClientList()
getClientList in interface org.springframework.data.redis.connection.RedisServerCommandspublic void slaveOf(String host, int port)
slaveOf in interface org.springframework.data.redis.connection.RedisServerCommandspublic void slaveOfNoOne()
slaveOfNoOne in interface org.springframework.data.redis.connection.RedisServerCommandspublic void migrate(byte[] key,
org.springframework.data.redis.connection.RedisNode target,
int dbIndex,
org.springframework.data.redis.connection.RedisServerCommands.MigrateOption option)
migrate in interface org.springframework.data.redis.connection.RedisServerCommandspublic void migrate(byte[] key,
org.springframework.data.redis.connection.RedisNode target,
int dbIndex,
org.springframework.data.redis.connection.RedisServerCommands.MigrateOption option,
long timeout)
migrate in interface org.springframework.data.redis.connection.RedisServerCommandspublic void scriptFlush()
scriptFlush in interface org.springframework.data.redis.connection.RedisScriptingCommandspublic void scriptKill()
scriptKill in interface org.springframework.data.redis.connection.RedisScriptingCommandspublic String scriptLoad(byte[] script)
scriptLoad in interface org.springframework.data.redis.connection.RedisScriptingCommandspublic List<Boolean> scriptExists(String... scriptShas)
scriptExists in interface org.springframework.data.redis.connection.RedisScriptingCommandspublic <T> T eval(byte[] script,
org.springframework.data.redis.connection.ReturnType returnType,
int numKeys,
byte[]... keysAndArgs)
eval in interface org.springframework.data.redis.connection.RedisScriptingCommandspublic <T> T evalSha(String scriptSha, org.springframework.data.redis.connection.ReturnType returnType, int numKeys, byte[]... keysAndArgs)
evalSha in interface org.springframework.data.redis.connection.RedisScriptingCommandspublic <T> T evalSha(byte[] scriptSha,
org.springframework.data.redis.connection.ReturnType returnType,
int numKeys,
byte[]... keysAndArgs)
evalSha in interface org.springframework.data.redis.connection.RedisScriptingCommandspublic Long geoAdd(byte[] key, org.springframework.data.geo.Point point, byte[] member)
geoAdd in interface org.springframework.data.redis.connection.RedisGeoCommandspublic Long geoAdd(byte[] key, org.springframework.data.redis.connection.RedisGeoCommands.GeoLocation<byte[]> location)
geoAdd in interface org.springframework.data.redis.connection.RedisGeoCommandspublic Long geoAdd(byte[] key, Map<byte[],org.springframework.data.geo.Point> memberCoordinateMap)
geoAdd in interface org.springframework.data.redis.connection.RedisGeoCommandspublic Long geoAdd(byte[] key, Iterable<org.springframework.data.redis.connection.RedisGeoCommands.GeoLocation<byte[]>> locations)
geoAdd in interface org.springframework.data.redis.connection.RedisGeoCommandspublic org.springframework.data.geo.Distance geoDist(byte[] key,
byte[] member1,
byte[] member2)
geoDist in interface org.springframework.data.redis.connection.RedisGeoCommandspublic org.springframework.data.geo.Distance geoDist(byte[] key,
byte[] member1,
byte[] member2,
org.springframework.data.geo.Metric metric)
geoDist in interface org.springframework.data.redis.connection.RedisGeoCommandspublic List<String> geoHash(byte[] key, byte[]... members)
geoHash in interface org.springframework.data.redis.connection.RedisGeoCommandspublic List<org.springframework.data.geo.Point> geoPos(byte[] key, byte[]... members)
geoPos in interface org.springframework.data.redis.connection.RedisGeoCommandspublic org.springframework.data.geo.GeoResults<org.springframework.data.redis.connection.RedisGeoCommands.GeoLocation<byte[]>> geoRadius(byte[] key,
org.springframework.data.geo.Circle within)
geoRadius in interface org.springframework.data.redis.connection.RedisGeoCommandspublic 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)
geoRadius in interface org.springframework.data.redis.connection.RedisGeoCommandspublic org.springframework.data.geo.GeoResults<org.springframework.data.redis.connection.RedisGeoCommands.GeoLocation<byte[]>> geoRadiusByMember(byte[] key,
byte[] member,
double radius)
geoRadiusByMember in interface org.springframework.data.redis.connection.RedisGeoCommandspublic 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 in interface org.springframework.data.redis.connection.RedisGeoCommandspublic 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)
geoRadiusByMember in interface org.springframework.data.redis.connection.RedisGeoCommandspublic Long geoRemove(byte[] key, byte[]... members)
geoRemove in interface org.springframework.data.redis.connection.RedisGeoCommandspublic Long pfAdd(byte[] key, byte[]... values)
pfAdd in interface org.springframework.data.redis.connection.RedisHyperLogLogCommandspublic Long pfCount(byte[]... keys)
pfCount in interface org.springframework.data.redis.connection.RedisHyperLogLogCommandspublic void pfMerge(byte[] destinationKey,
byte[]... sourceKeys)
pfMerge in interface org.springframework.data.redis.connection.RedisHyperLogLogCommandsCopyright © 2017-2019–2019. All rights reserved.