public interface DefaultedRedisConnection extends RedisConnection
DefaultedRedisConnection provides method delegates to Redis*Command interfaces accessible via
RedisConnection. This allows us to maintain backwards compatibility while moving the actual implementation
and stay in sync with ReactiveRedisConnection. Going forward the RedisCommands extension is likely to
be removed from RedisConnection.RedisStringCommands.BitOperation, RedisStringCommands.SetOptionRedisListCommands.PositionRedisZSetCommands.Aggregate, RedisZSetCommands.Limit, RedisZSetCommands.Range, RedisZSetCommands.Tuple, RedisZSetCommands.WeightsRedisServerCommands.MigrateOption, RedisServerCommands.ShutdownOptionRedisStreamCommands.XAddOptions, RedisStreamCommands.XClaimOptions, RedisStreamCommands.XPendingOptionsRedisGeoCommands.DistanceUnit, RedisGeoCommands.GeoLocation<T>, RedisGeoCommands.GeoRadiusCommandArgs| Modifier and Type | Method and Description |
|---|---|
default Long |
append(byte[] key,
byte[] value)
Deprecated.
in favor of
RedisConnection.stringCommands()}. |
default void |
bgReWriteAof()
Deprecated.
in favor of
RedisConnection.serverCommands(). |
default void |
bgSave()
Deprecated.
in favor of
RedisConnection.serverCommands(). |
default void |
bgWriteAof()
Deprecated.
in favor of
RedisConnection.serverCommands(). |
default Long |
bitCount(byte[] key)
Deprecated.
in favor of
RedisConnection.stringCommands()}. |
default Long |
bitCount(byte[] key,
long start,
long end)
Deprecated.
in favor of
RedisConnection.stringCommands()}. |
default List<Long> |
bitField(byte[] key,
BitFieldSubCommands subCommands)
Deprecated.
in favor of
RedisConnection.stringCommands()}. |
default Long |
bitOp(RedisStringCommands.BitOperation op,
byte[] destination,
byte[]... keys)
Deprecated.
in favor of
RedisConnection.stringCommands()}. |
default Long |
bitPos(byte[] key,
boolean bit,
Range<Long> range)
Deprecated.
in favor of
RedisConnection.stringCommands()}. |
default List<byte[]> |
bLPop(int timeout,
byte[]... keys)
Deprecated.
in favor of
RedisConnection.listCommands()}. |
default List<byte[]> |
bRPop(int timeout,
byte[]... keys)
Deprecated.
in favor of
RedisConnection.listCommands()}. |
default byte[] |
bRPopLPush(int timeout,
byte[] srcKey,
byte[] dstKey)
Deprecated.
in favor of
RedisConnection.listCommands()}. |
default Long |
dbSize()
Deprecated.
in favor of
RedisConnection.serverCommands(). |
default Long |
decr(byte[] key)
Deprecated.
in favor of
RedisConnection.stringCommands()}. |
default Long |
decrBy(byte[] key,
long value)
Deprecated.
in favor of
RedisConnection.stringCommands()}. |
default Long |
del(byte[]... keys)
Deprecated.
in favor of
RedisConnection.keyCommands(). |
default byte[] |
dump(byte[] key)
Deprecated.
in favor of
RedisConnection.keyCommands(). |
default ValueEncoding |
encodingOf(byte[] key)
Deprecated.
in favor of
RedisConnection.keyCommands(). |
default <T> T |
eval(byte[] script,
ReturnType returnType,
int numKeys,
byte[]... keysAndArgs)
Deprecated.
in favor of
RedisConnection.scriptingCommands(). |
default <T> T |
evalSha(byte[] scriptSha,
ReturnType returnType,
int numKeys,
byte[]... keysAndArgs)
Deprecated.
in favor of
RedisConnection.scriptingCommands(). |
default <T> T |
evalSha(String scriptSha,
ReturnType returnType,
int numKeys,
byte[]... keysAndArgs)
Deprecated.
in favor of
RedisConnection.scriptingCommands(). |
default Long |
exists(byte[]... keys)
Deprecated.
in favor of
RedisConnection.keyCommands(). |
default Boolean |
exists(byte[] key)
Deprecated.
in favor of
RedisConnection.keyCommands(). |
default Boolean |
expire(byte[] key,
long seconds)
Deprecated.
in favor of
RedisConnection.keyCommands(). |
default Boolean |
expireAt(byte[] key,
long unixTime)
Deprecated.
in favor of
RedisConnection.keyCommands(). |
default void |
flushAll()
Deprecated.
in favor of
RedisConnection.serverCommands(). |
default void |
flushDb()
Deprecated.
in favor of
RedisConnection.serverCommands(). |
default Long |
geoAdd(byte[] key,
Iterable<RedisGeoCommands.GeoLocation<byte[]>> locations)
Deprecated.
in favor of
RedisConnection.geoCommands()}. |
default Long |
geoAdd(byte[] key,
Map<byte[],Point> memberCoordinateMap)
Deprecated.
in favor of
RedisConnection.geoCommands()}. |
default Long |
geoAdd(byte[] key,
Point point,
byte[] member)
Deprecated.
in favor of
RedisConnection.geoCommands()}. |
default Distance |
geoDist(byte[] key,
byte[] member1,
byte[] member2)
Deprecated.
in favor of
RedisConnection.geoCommands()}. |
default Distance |
geoDist(byte[] key,
byte[] member1,
byte[] member2,
Metric metric)
Deprecated.
in favor of
RedisConnection.geoCommands()}. |
default List<String> |
geoHash(byte[] key,
byte[]... members)
Deprecated.
in favor of
RedisConnection.geoCommands()}. |
default List<Point> |
geoPos(byte[] key,
byte[]... members)
Deprecated.
in favor of
RedisConnection.geoCommands()}. |
default GeoResults<RedisGeoCommands.GeoLocation<byte[]>> |
geoRadius(byte[] key,
Circle within)
Deprecated.
in favor of
RedisConnection.geoCommands()}. |
default GeoResults<RedisGeoCommands.GeoLocation<byte[]>> |
geoRadius(byte[] key,
Circle within,
RedisGeoCommands.GeoRadiusCommandArgs args)
Deprecated.
in favor of
RedisConnection.geoCommands()}. |
default GeoResults<RedisGeoCommands.GeoLocation<byte[]>> |
geoRadiusByMember(byte[] key,
byte[] member,
Distance radius)
Deprecated.
in favor of
RedisConnection.geoCommands()}. |
default GeoResults<RedisGeoCommands.GeoLocation<byte[]>> |
geoRadiusByMember(byte[] key,
byte[] member,
Distance radius,
RedisGeoCommands.GeoRadiusCommandArgs args)
Deprecated.
in favor of
RedisConnection.geoCommands()}. |
default Long |
geoRemove(byte[] key,
byte[]... members)
Deprecated.
in favor of
RedisConnection.geoCommands()}. |
default byte[] |
get(byte[] key)
Deprecated.
in favor of
RedisConnection.stringCommands()}. |
default Boolean |
getBit(byte[] key,
long offset)
Deprecated.
in favor of
RedisConnection.stringCommands()}. |
default List<RedisClientInfo> |
getClientList()
Deprecated.
in favor of
RedisConnection.serverCommands(). |
default String |
getClientName()
Deprecated.
in favor of
RedisConnection.serverCommands(). |
default Properties |
getConfig(String pattern)
Deprecated.
in favor of
RedisConnection.serverCommands(). |
default byte[] |
getRange(byte[] key,
long start,
long end)
Deprecated.
in favor of
RedisConnection.stringCommands()}. |
default byte[] |
getSet(byte[] key,
byte[] value)
Deprecated.
in favor of
RedisConnection.stringCommands()}. |
default Long |
hDel(byte[] key,
byte[]... fields)
Deprecated.
in favor of
RedisConnection.hashCommands()}. |
default Boolean |
hExists(byte[] key,
byte[] field)
Deprecated.
in favor of
RedisConnection.hashCommands()}. |
default byte[] |
hGet(byte[] key,
byte[] field)
Deprecated.
in favor of
RedisConnection.hashCommands()}. |
default Map<byte[],byte[]> |
hGetAll(byte[] key)
Deprecated.
in favor of
RedisConnection.hashCommands()}. |
default Double |
hIncrBy(byte[] key,
byte[] field,
double delta)
Deprecated.
in favor of
RedisConnection.hashCommands()}. |
default Long |
hIncrBy(byte[] key,
byte[] field,
long delta)
Deprecated.
in favor of
RedisConnection.hashCommands()}. |
default Set<byte[]> |
hKeys(byte[] key)
Deprecated.
in favor of
RedisConnection.hashCommands()}. |
default Long |
hLen(byte[] key)
Get size of hash at
key. |
default List<byte[]> |
hMGet(byte[] key,
byte[]... fields)
Deprecated.
in favor of
RedisConnection.hashCommands()}. |
default void |
hMSet(byte[] key,
Map<byte[],byte[]> hashes)
Deprecated.
in favor of
RedisConnection.hashCommands()}. |
default Cursor<Map.Entry<byte[],byte[]>> |
hScan(byte[] key,
ScanOptions options)
Deprecated.
in favor of
RedisConnection.hashCommands()}. |
default Boolean |
hSet(byte[] key,
byte[] field,
byte[] value)
Deprecated.
in favor of
RedisConnection.hashCommands()}. |
default Boolean |
hSetNX(byte[] key,
byte[] field,
byte[] value)
Deprecated.
in favor of
RedisConnection.hashCommands()}. |
default Long |
hStrLen(byte[] key,
byte[] field)
Deprecated.
in favor of
RedisConnection.hashCommands(). |
default List<byte[]> |
hVals(byte[] key)
Deprecated.
in favor of
RedisConnection.hashCommands()}. |
default Duration |
idletime(byte[] key)
Deprecated.
in favor of
RedisConnection.keyCommands(). |
default Long |
incr(byte[] key)
Deprecated.
in favor of
RedisConnection.stringCommands()}. |
default Double |
incrBy(byte[] key,
double value)
Deprecated.
in favor of
RedisConnection.stringCommands()}. |
default Long |
incrBy(byte[] key,
long value)
Deprecated.
in favor of
RedisConnection.stringCommands()}. |
default Properties |
info()
Deprecated.
in favor of
RedisConnection.serverCommands(). |
default Properties |
info(String section)
Deprecated.
in favor of
RedisConnection.serverCommands(). |
default Set<byte[]> |
keys(byte[] pattern)
Deprecated.
in favor of
RedisConnection.keyCommands(). |
default void |
killClient(String host,
int port)
Deprecated.
in favor of
RedisConnection.serverCommands(). |
default Long |
lastSave()
Deprecated.
in favor of
RedisConnection.serverCommands(). |
default byte[] |
lIndex(byte[] key,
long index)
Deprecated.
in favor of
RedisConnection.listCommands()}. |
default Long |
lInsert(byte[] key,
RedisListCommands.Position where,
byte[] pivot,
byte[] value)
Deprecated.
in favor of
RedisConnection.listCommands()}. |
default Long |
lLen(byte[] key)
Deprecated.
in favor of
RedisConnection.listCommands()}. |
default byte[] |
lPop(byte[] key)
Deprecated.
in favor of
RedisConnection.listCommands()}. |
default List<Long> |
lPos(byte[] key,
byte[] element,
Integer rank,
Integer count)
Deprecated.
in favor of
RedisConnection.listCommands()}. |
default Long |
lPush(byte[] key,
byte[]... values)
Deprecated.
in favor of
RedisConnection.listCommands()}. |
default Long |
lPushX(byte[] key,
byte[] value)
Deprecated.
in favor of
RedisConnection.listCommands()}. |
default List<byte[]> |
lRange(byte[] key,
long start,
long end)
Deprecated.
in favor of
RedisConnection.listCommands()}. |
default Long |
lRem(byte[] key,
long count,
byte[] value)
Deprecated.
in favor of
RedisConnection.listCommands()}. |
default void |
lSet(byte[] key,
long index,
byte[] value)
Deprecated.
in favor of
RedisConnection.listCommands()}. |
default void |
lTrim(byte[] key,
long start,
long end)
Deprecated.
in favor of
RedisConnection.listCommands()}. |
default List<byte[]> |
mGet(byte[]... keys)
Deprecated.
in favor of
RedisConnection.stringCommands()}. |
default void |
migrate(byte[] key,
RedisNode target,
int dbIndex,
RedisServerCommands.MigrateOption option)
Deprecated.
in favor of
RedisConnection.serverCommands(). |
default void |
migrate(byte[] key,
RedisNode target,
int dbIndex,
RedisServerCommands.MigrateOption option,
long timeout)
Deprecated.
in favor of
RedisConnection.serverCommands(). |
default Boolean |
move(byte[] key,
int dbIndex)
Deprecated.
in favor of
RedisConnection.keyCommands(). |
default Boolean |
mSet(Map<byte[],byte[]> tuple)
Deprecated.
in favor of
RedisConnection.stringCommands()}. |
default Boolean |
mSetNX(Map<byte[],byte[]> tuple)
Deprecated.
in favor of
RedisConnection.stringCommands()}. |
default Boolean |
persist(byte[] key)
Deprecated.
in favor of
RedisConnection.keyCommands(). |
default Boolean |
pExpire(byte[] key,
long millis)
Deprecated.
in favor of
RedisConnection.keyCommands(). |
default Boolean |
pExpireAt(byte[] key,
long unixTimeInMillis)
Deprecated.
in favor of
RedisConnection.keyCommands(). |
default Long |
pfAdd(byte[] key,
byte[]... values)
Deprecated.
in favor of
RedisConnection.hyperLogLogCommands(). |
default Long |
pfCount(byte[]... keys)
Deprecated.
in favor of
RedisConnection.hyperLogLogCommands(). |
default void |
pfMerge(byte[] destinationKey,
byte[]... sourceKeys)
Deprecated.
in favor of
RedisConnection.hyperLogLogCommands(). |
default Boolean |
pSetEx(byte[] key,
long milliseconds,
byte[] value)
Deprecated.
in favor of
RedisConnection.stringCommands()}. |
default Long |
pTtl(byte[] key)
Deprecated.
in favor of
RedisConnection.keyCommands(). |
default Long |
pTtl(byte[] key,
TimeUnit timeUnit)
Deprecated.
in favor of
RedisConnection.keyCommands(). |
default byte[] |
randomKey()
Deprecated.
in favor of
RedisConnection.keyCommands(). |
default Long |
refcount(byte[] key)
Deprecated.
in favor of
RedisConnection.keyCommands(). |
default void |
rename(byte[] sourceKey,
byte[] targetKey)
Deprecated.
in favor of
RedisConnection.keyCommands(). |
default Boolean |
renameNX(byte[] sourceKey,
byte[] targetKey)
Deprecated.
in favor of
RedisConnection.keyCommands(). |
default void |
resetConfigStats()
Deprecated.
in favor of
RedisConnection.serverCommands(). |
default void |
restore(byte[] key,
long ttlInMillis,
byte[] serializedValue,
boolean replace)
Deprecated.
in favor of
RedisConnection.keyCommands(). |
default byte[] |
rPop(byte[] key)
Deprecated.
in favor of
RedisConnection.listCommands()}. |
default byte[] |
rPopLPush(byte[] srcKey,
byte[] dstKey)
Deprecated.
in favor of
RedisConnection.listCommands()}. |
default Long |
rPush(byte[] key,
byte[]... values)
Deprecated.
in favor of
RedisConnection.listCommands()}. |
default Long |
rPushX(byte[] key,
byte[] value)
Deprecated.
in favor of
RedisConnection.listCommands()}. |
default Long |
sAdd(byte[] key,
byte[]... values)
Deprecated.
in favor of
RedisConnection.setCommands()}. |
default void |
save()
Deprecated.
in favor of
RedisConnection.serverCommands(). |
default Cursor<byte[]> |
scan(ScanOptions options)
Deprecated.
in favor of
RedisConnection.keyCommands(). |
default Long |
sCard(byte[] key)
Deprecated.
in favor of
RedisConnection.setCommands()}. |
default List<Boolean> |
scriptExists(String... scriptShas)
Deprecated.
in favor of
RedisConnection.scriptingCommands(). |
default void |
scriptFlush()
Deprecated.
in favor of
RedisConnection.scriptingCommands(). |
default void |
scriptKill()
Deprecated.
in favor of
RedisConnection.scriptingCommands(). |
default String |
scriptLoad(byte[] script)
Deprecated.
in favor of
RedisConnection.scriptingCommands(). |
default Set<byte[]> |
sDiff(byte[]... keys)
Deprecated.
in favor of
RedisConnection.setCommands()}. |
default Long |
sDiffStore(byte[] destKey,
byte[]... keys)
Deprecated.
in favor of
RedisConnection.setCommands()}. |
default Boolean |
set(byte[] key,
byte[] value)
Deprecated.
in favor of
RedisConnection.stringCommands()}. |
default Boolean |
set(byte[] key,
byte[] value,
Expiration expiration,
RedisStringCommands.SetOption option)
Deprecated.
in favor of
RedisConnection.stringCommands()}. |
default Boolean |
setBit(byte[] key,
long offset,
boolean value)
Deprecated.
in favor of
RedisConnection.stringCommands()}. |
default void |
setClientName(byte[] name)
Deprecated.
in favor of
RedisConnection.serverCommands(). |
default void |
setConfig(String param,
String value)
Deprecated.
in favor of
RedisConnection.serverCommands(). |
default Boolean |
setEx(byte[] key,
long seconds,
byte[] value)
Deprecated.
in favor of
RedisConnection.stringCommands()}. |
default Boolean |
setNX(byte[] key,
byte[] value)
Deprecated.
in favor of
RedisConnection.stringCommands()}. |
default void |
setRange(byte[] key,
byte[] value,
long offset)
Deprecated.
in favor of
RedisConnection.stringCommands()}. |
default void |
shutdown()
Deprecated.
in favor of
RedisConnection.serverCommands(). |
default void |
shutdown(RedisServerCommands.ShutdownOption option)
Deprecated.
in favor of
RedisConnection.serverCommands(). |
default Set<byte[]> |
sInter(byte[]... keys)
Deprecated.
in favor of
RedisConnection.setCommands()}. |
default Long |
sInterStore(byte[] destKey,
byte[]... keys)
Deprecated.
in favor of
RedisConnection.setCommands()}. |
default Boolean |
sIsMember(byte[] key,
byte[] value)
Deprecated.
in favor of
RedisConnection.setCommands()}. |
default void |
slaveOf(String host,
int port)
Deprecated.
in favor of
RedisConnection.serverCommands(). |
default void |
slaveOfNoOne()
Deprecated.
in favor of
RedisConnection.serverCommands(). |
default Set<byte[]> |
sMembers(byte[] key)
Deprecated.
in favor of
RedisConnection.setCommands()}. |
default Boolean |
sMove(byte[] srcKey,
byte[] destKey,
byte[] value)
Deprecated.
in favor of
RedisConnection.setCommands()}. |
default List<byte[]> |
sort(byte[] key,
SortParameters params)
Deprecated.
in favor of
RedisConnection.keyCommands(). |
default Long |
sort(byte[] key,
SortParameters params,
byte[] sortKey)
Deprecated.
in favor of
RedisConnection.keyCommands(). |
default byte[] |
sPop(byte[] key)
Deprecated.
in favor of
RedisConnection.setCommands()}. |
default List<byte[]> |
sPop(byte[] key,
long count)
Deprecated.
in favor of
RedisConnection.setCommands()}. |
default byte[] |
sRandMember(byte[] key)
Deprecated.
in favor of
RedisConnection.setCommands()}. |
default List<byte[]> |
sRandMember(byte[] key,
long count)
Deprecated.
in favor of
RedisConnection.setCommands()}. |
default Long |
sRem(byte[] key,
byte[]... values)
Deprecated.
in favor of
RedisConnection.setCommands()}. |
default Cursor<byte[]> |
sScan(byte[] key,
ScanOptions options)
Deprecated.
in favor of
RedisConnection.setCommands()}. |
default Long |
strLen(byte[] key)
Deprecated.
in favor of
RedisConnection.stringCommands()}. |
default Set<byte[]> |
sUnion(byte[]... keys)
Deprecated.
in favor of
RedisConnection.setCommands()}. |
default Long |
sUnionStore(byte[] destKey,
byte[]... keys)
Deprecated.
in favor of
RedisConnection.setCommands()}. |
default Long |
time()
Deprecated.
in favor of
RedisConnection.serverCommands(). |
default Long |
touch(byte[]... keys)
Deprecated.
in favor of
RedisConnection.keyCommands(). |
default Long |
ttl(byte[] key)
Deprecated.
in favor of
RedisConnection.keyCommands(). |
default Long |
ttl(byte[] key,
TimeUnit timeUnit)
Deprecated.
in favor of
RedisConnection.keyCommands(). |
default DataType |
type(byte[] pattern)
Deprecated.
in favor of
RedisConnection.keyCommands(). |
default Long |
unlink(byte[]... keys)
Deprecated.
in favor of
RedisConnection.keyCommands(). |
default Long |
xAck(byte[] key,
String group,
RecordId... messageIds)
Deprecated.
in favor of
RedisConnection.streamCommands()}. |
default RecordId |
xAdd(MapRecord<byte[],byte[],byte[]> record,
RedisStreamCommands.XAddOptions options)
Deprecated.
in favor of
RedisConnection.streamCommands()}. |
default List<ByteRecord> |
xClaim(byte[] key,
String group,
String newOwner,
RedisStreamCommands.XClaimOptions options)
Deprecated.
in favor of
RedisConnection.streamCommands()}. |
default List<RecordId> |
xClaimJustId(byte[] key,
String group,
String newOwner,
RedisStreamCommands.XClaimOptions options)
Deprecated.
in favor of
RedisConnection.streamCommands()}. |
default Long |
xDel(byte[] key,
RecordId... recordIds)
Deprecated.
in favor of
RedisConnection.streamCommands()}. |
default String |
xGroupCreate(byte[] key,
String groupName,
ReadOffset readOffset)
Deprecated.
in favor of
RedisConnection.streamCommands()}. |
default String |
xGroupCreate(byte[] key,
String groupName,
ReadOffset readOffset,
boolean mkStream)
Deprecated.
in favor of
RedisConnection.streamCommands()}. |
default Boolean |
xGroupDelConsumer(byte[] key,
Consumer consumer)
Deprecated.
in favor of
RedisConnection.streamCommands()}. |
default Boolean |
xGroupDestroy(byte[] key,
String groupName)
Deprecated.
in favor of
RedisConnection.streamCommands()}. |
default StreamInfo.XInfoStream |
xInfo(byte[] key)
Deprecated.
in favor of
RedisConnection.streamCommands()}. |
default StreamInfo.XInfoConsumers |
xInfoConsumers(byte[] key,
String groupName)
Deprecated.
in favor of
RedisConnection.streamCommands()}. |
default StreamInfo.XInfoGroups |
xInfoGroups(byte[] key)
Deprecated.
in favor of
RedisConnection.streamCommands()}. |
default Long |
xLen(byte[] key)
Deprecated.
in favor of
RedisConnection.streamCommands()}. |
default PendingMessagesSummary |
xPending(byte[] key,
String groupName)
Deprecated.
in favor of
RedisConnection.streamCommands()}. |
default PendingMessages |
xPending(byte[] key,
String groupName,
RedisStreamCommands.XPendingOptions options)
Deprecated.
in favor of
RedisConnection.streamCommands()}. |
default List<ByteRecord> |
xRange(byte[] key,
Range<String> range)
Deprecated.
in favor of
RedisConnection.streamCommands()}. |
default List<ByteRecord> |
xRange(byte[] key,
Range<String> range,
RedisZSetCommands.Limit limit)
Deprecated.
in favor of
RedisConnection.streamCommands()}. |
default List<ByteRecord> |
xRead(StreamOffset<byte[]>... streams)
Deprecated.
in favor of
RedisConnection.streamCommands()}. |
default List<ByteRecord> |
xRead(StreamReadOptions readOptions,
StreamOffset<byte[]>... streams)
Deprecated.
in favor of
RedisConnection.streamCommands()}. |
default List<ByteRecord> |
xReadGroup(Consumer consumer,
StreamOffset<byte[]>... streams)
Deprecated.
in favor of
RedisConnection.streamCommands()}. |
default List<ByteRecord> |
xReadGroup(Consumer consumer,
StreamReadOptions readOptions,
StreamOffset<byte[]>... streams)
Deprecated.
in favor of
RedisConnection.streamCommands()}. |
default List<ByteRecord> |
xRevRange(byte[] key,
Range<String> range)
Deprecated.
in favor of
RedisConnection.streamCommands()}. |
default List<ByteRecord> |
xRevRange(byte[] key,
Range<String> range,
RedisZSetCommands.Limit limit)
Deprecated.
in favor of
RedisConnection.streamCommands()}. |
default Long |
xTrim(byte[] key,
long count)
Deprecated.
in favor of
RedisConnection.streamCommands()}. |
default Long |
xTrim(byte[] key,
long count,
boolean approximateTrimming)
Deprecated.
|
default Boolean |
zAdd(byte[] key,
double score,
byte[] value)
Deprecated.
in favor of
RedisConnection.zSetCommands()}. |
default Long |
zAdd(byte[] key,
Set<RedisZSetCommands.Tuple> tuples)
Deprecated.
in favor of
RedisConnection.zSetCommands()}. |
default Long |
zCard(byte[] key)
Deprecated.
in favor of
RedisConnection.zSetCommands()}. |
default Long |
zCount(byte[] key,
double min,
double max)
Deprecated.
in favor of
RedisConnection.zSetCommands()}. |
default Long |
zCount(byte[] key,
RedisZSetCommands.Range range)
Deprecated.
in favor of
RedisConnection.zSetCommands()}. |
default Double |
zIncrBy(byte[] key,
double increment,
byte[] value)
Deprecated.
in favor of
RedisConnection.zSetCommands()}. |
default Long |
zInterStore(byte[] destKey,
byte[]... sets)
Deprecated.
in favor of
RedisConnection.zSetCommands()}. |
default Long |
zInterStore(byte[] destKey,
RedisZSetCommands.Aggregate aggregate,
int[] weights,
byte[]... sets)
Deprecated.
in favor of
RedisConnection.zSetCommands()}. |
default Long |
zInterStore(byte[] destKey,
RedisZSetCommands.Aggregate aggregate,
RedisZSetCommands.Weights weights,
byte[]... sets)
Deprecated.
in favor of
RedisConnection.zSetCommands()}. |
default Long |
zLexCount(byte[] key,
RedisZSetCommands.Range range)
Deprecated.
in favor of
RedisConnection.zSetCommands()}. |
default Set<byte[]> |
zRange(byte[] key,
long start,
long end)
Deprecated.
in favor of
RedisConnection.zSetCommands()}. |
default Set<byte[]> |
zRangeByLex(byte[] key,
RedisZSetCommands.Range range,
RedisZSetCommands.Limit limit)
Deprecated.
in favor of
RedisConnection.zSetCommands()}. |
default Set<byte[]> |
zRangeByScore(byte[] key,
RedisZSetCommands.Range range,
RedisZSetCommands.Limit limit)
Deprecated.
in favor of
RedisConnection.zSetCommands()}. |
default Set<byte[]> |
zRangeByScore(byte[] key,
String min,
String max)
Deprecated.
in favor of
RedisConnection.zSetCommands()}. |
default Set<byte[]> |
zRangeByScore(byte[] key,
String min,
String max,
long offset,
long count)
Deprecated.
in favor of
RedisConnection.zSetCommands()}. |
default Set<RedisZSetCommands.Tuple> |
zRangeByScoreWithScores(byte[] key,
RedisZSetCommands.Range range,
RedisZSetCommands.Limit limit)
Deprecated.
in favor of
RedisConnection.zSetCommands()}. |
default Set<RedisZSetCommands.Tuple> |
zRangeWithScores(byte[] key,
long start,
long end)
Deprecated.
in favor of
RedisConnection.zSetCommands()}. |
default Long |
zRank(byte[] key,
byte[] value)
Deprecated.
in favor of
RedisConnection.zSetCommands()}. |
default Long |
zRem(byte[] key,
byte[]... values)
Deprecated.
in favor of
RedisConnection.zSetCommands()}. |
default Long |
zRemRange(byte[] key,
long start,
long end)
Deprecated.
in favor of
RedisConnection.zSetCommands()}. |
default Long |
zRemRangeByScore(byte[] key,
double min,
double max)
Deprecated.
in favor of
RedisConnection.zSetCommands()}. |
default Long |
zRemRangeByScore(byte[] key,
RedisZSetCommands.Range range)
Deprecated.
in favor of
RedisConnection.zSetCommands()}. |
default Set<byte[]> |
zRevRange(byte[] key,
long start,
long end)
Deprecated.
in favor of
RedisConnection.zSetCommands()}. |
default Set<byte[]> |
zRevRangeByLex(byte[] key,
RedisZSetCommands.Range range,
RedisZSetCommands.Limit limit)
Deprecated.
in favor of
RedisConnection.zSetCommands()}. |
default Set<byte[]> |
zRevRangeByScore(byte[] key,
RedisZSetCommands.Range range,
RedisZSetCommands.Limit limit)
Deprecated.
in favor of
RedisConnection.zSetCommands()}. |
default Set<RedisZSetCommands.Tuple> |
zRevRangeByScoreWithScores(byte[] key,
RedisZSetCommands.Range range,
RedisZSetCommands.Limit limit)
Deprecated.
in favor of
RedisConnection.zSetCommands()}. |
default Set<RedisZSetCommands.Tuple> |
zRevRangeWithScores(byte[] key,
long start,
long end)
Deprecated.
in favor of
RedisConnection.zSetCommands()}. |
default Long |
zRevRank(byte[] key,
byte[] value)
Deprecated.
in favor of
RedisConnection.zSetCommands()}. |
default Cursor<RedisZSetCommands.Tuple> |
zScan(byte[] key,
ScanOptions options)
Deprecated.
in favor of
RedisConnection.zSetCommands()}. |
default Double |
zScore(byte[] key,
byte[] value)
Deprecated.
in favor of
RedisConnection.zSetCommands()}. |
default Long |
zUnionStore(byte[] destKey,
byte[]... sets)
Deprecated.
in favor of
RedisConnection.zSetCommands()}. |
default Long |
zUnionStore(byte[] destKey,
RedisZSetCommands.Aggregate aggregate,
int[] weights,
byte[]... sets)
Deprecated.
in favor of
RedisConnection.zSetCommands()}. |
default Long |
zUnionStore(byte[] destKey,
RedisZSetCommands.Aggregate aggregate,
RedisZSetCommands.Weights weights,
byte[]... sets)
Deprecated.
in favor of
RedisConnection.zSetCommands()}. |
close, closePipeline, geoCommands, getNativeConnection, getSentinelConnection, hashCommands, hyperLogLogCommands, isClosed, isPipelined, isQueueing, keyCommands, listCommands, openPipeline, scriptingCommands, serverCommands, setCommands, streamCommands, stringCommands, zSetCommandsexecuterestorebitPoslPoszRangeByLex, zRangeByLex, zRangeByScore, zRangeByScore, zRangeByScore, zRangeByScoreWithScores, zRangeByScoreWithScores, zRangeByScoreWithScores, zRevRangeByLex, zRevRangeByLex, zRevRangeByScore, zRevRangeByScore, zRevRangeByScore, zRevRangeByScoreWithScores, zRevRangeByScoreWithScores, zRevRangeByScoreWithScoresdiscard, exec, multi, unwatch, watchgetSubscription, isSubscribed, pSubscribe, publish, subscribeecho, ping, selectxAck, xAdd, xAdd, xClaim, xDel, xGroupDelConsumer, xPending, xPending, xPending, xPending, xPendinggeoAdd, geoRadiusByMember@Deprecated default Boolean exists(byte[] key)
RedisConnection.keyCommands().RedisKeyCommandskey exists.exists in interface RedisKeyCommandskey - must not be null.@Deprecated default Long exists(byte[]... keys)
RedisConnection.keyCommands().RedisKeyCommandskeys exist. Providing the very same key more than once also counts
multiple times.exists in interface RedisKeyCommandskeys - must not be null.@Deprecated default Long del(byte[]... keys)
RedisConnection.keyCommands().RedisKeyCommandskeys.del in interface RedisKeyCommandskeys - must not be null.@Deprecated default Long unlink(byte[]... keys)
RedisConnection.keyCommands().RedisKeyCommandskeys from the keyspace. Unlike with #del(byte[]...) the actual memory reclaiming here
happens asynchronously.unlink in interface RedisKeyCommandskeys - must not be null.@Deprecated default DataType type(byte[] pattern)
RedisConnection.keyCommands().RedisKeyCommandskey.type in interface RedisKeyCommandspattern - must not be null.@Deprecated default Long touch(byte[]... keys)
RedisConnection.keyCommands().RedisKeyCommandskey(s).touch in interface RedisKeyCommandskeys - must not be null.@Deprecated default Set<byte[]> keys(byte[] pattern)
RedisConnection.keyCommands().RedisKeyCommandspattern.keys in interface RedisKeyCommandspattern - must not be null.Set if no match found. null when used in pipeline / transaction.@Deprecated default Cursor<byte[]> scan(ScanOptions options)
RedisConnection.keyCommands().RedisKeyCommandsCursor to iterate over keys.scan in interface RedisKeyCommandsoptions - must not be null.@Deprecated default byte[] randomKey()
RedisConnection.keyCommands().RedisKeyCommandsrandomKey in interface RedisKeyCommands@Deprecated default void rename(byte[] sourceKey, byte[] targetKey)
RedisConnection.keyCommands().RedisKeyCommandssourceKey to targetKey.rename in interface RedisKeyCommandssourceKey - must not be null.targetKey - must not be null.@Deprecated default Boolean renameNX(byte[] sourceKey, byte[] targetKey)
RedisConnection.keyCommands().RedisKeyCommandssourceKey to targetKey only if targetKey does not exist.renameNX in interface RedisKeyCommandssourceKey - must not be null.targetKey - must not be null.@Deprecated default Boolean expire(byte[] key, long seconds)
RedisConnection.keyCommands().RedisKeyCommandskey in seconds.expire in interface RedisKeyCommandskey - must not be null.@Deprecated default Boolean persist(byte[] key)
RedisConnection.keyCommands().RedisKeyCommandskey.persist in interface RedisKeyCommandskey - must not be null.@Deprecated default Boolean move(byte[] key, int dbIndex)
RedisConnection.keyCommands().RedisKeyCommandskey to database with index.move in interface RedisKeyCommandskey - must not be null.@Deprecated default void restore(byte[] key, long ttlInMillis, byte[] serializedValue, boolean replace)
RedisConnection.keyCommands().RedisKeyCommandsrestore in interface RedisKeyCommandskey - must not be null.serializedValue - must not be null.replace - use true to replace a potentially existing value instead of erroring.@Deprecated default Long pTtl(byte[] key)
RedisConnection.keyCommands().RedisKeyCommandskey in milliseconds.pTtl in interface RedisKeyCommandskey - must not be null.@Deprecated default Long pTtl(byte[] key, TimeUnit timeUnit)
RedisConnection.keyCommands().RedisKeyCommandskey in and convert it to the given TimeUnit.pTtl in interface RedisKeyCommandskey - must not be null.timeUnit - must not be null.@Deprecated default Boolean pExpire(byte[] key, long millis)
RedisConnection.keyCommands().RedisKeyCommandskey in milliseconds.pExpire in interface RedisKeyCommandskey - must not be null.@Deprecated default Boolean pExpireAt(byte[] key, long unixTimeInMillis)
RedisConnection.keyCommands().RedisKeyCommandskey as a UNIX timestamp in milliseconds.pExpireAt in interface RedisKeyCommandskey - must not be null.@Deprecated default Boolean expireAt(byte[] key, long unixTime)
RedisConnection.keyCommands().RedisKeyCommandskey as a UNIX timestamp.expireAt in interface RedisKeyCommandskey - must not be null.@Deprecated default Long ttl(byte[] key)
RedisConnection.keyCommands().RedisKeyCommandskey in seconds.ttl in interface RedisKeyCommandskey - must not be null.@Deprecated default Long ttl(byte[] key, TimeUnit timeUnit)
RedisConnection.keyCommands().RedisKeyCommandskey in and convert it to the given TimeUnit.ttl in interface RedisKeyCommandskey - must not be null.timeUnit - must not be null.@Deprecated default byte[] dump(byte[] key)
RedisConnection.keyCommands().RedisKeyCommandskey.dump in interface RedisKeyCommandskey - must not be null.@Deprecated default List<byte[]> sort(byte[] key, SortParameters params)
RedisConnection.keyCommands().RedisKeyCommandskey.sort in interface RedisKeyCommandskey - must not be null.params - must not be null.@Deprecated default Long sort(byte[] key, SortParameters params, byte[] sortKey)
RedisConnection.keyCommands().RedisKeyCommandskey and store result in storeKey.sort in interface RedisKeyCommandskey - must not be null.params - must not be null.sortKey - must not be null.@Deprecated default ValueEncoding encodingOf(byte[] key)
RedisConnection.keyCommands().RedisKeyCommandskey.encodingOf in interface RedisKeyCommandskey - must not be null.ValueEncoding.RedisValueEncoding.VACANT if key does not
exist or null when used in pipeline / transaction.@Deprecated default Duration idletime(byte[] key)
RedisConnection.keyCommands().RedisKeyCommandsDuration since the object stored at the given key is idle.idletime in interface RedisKeyCommandskey - must not be null.@Deprecated default Long refcount(byte[] key)
RedisConnection.keyCommands().RedisKeyCommandskey.refcount in interface RedisKeyCommandskey - must not be null.@Deprecated default byte[] get(byte[] key)
RedisConnection.stringCommands()}.RedisStringCommandskey.get in interface RedisStringCommandskey - must not be null.@Deprecated default byte[] getSet(byte[] key, byte[] value)
RedisConnection.stringCommands()}.RedisStringCommandsvalue of key and return its old value.getSet in interface RedisStringCommandskey - must not be null.value - must not be null.@Deprecated default List<byte[]> mGet(byte[]... keys)
RedisConnection.stringCommands()}.RedisStringCommandskeys. Values are returned in the order of the requested keys.mGet in interface RedisStringCommandskeys - must not be null.List if keys do not exist or when used in pipeline / transaction.@Deprecated default Boolean set(byte[] key, byte[] value)
RedisConnection.stringCommands()}.RedisStringCommandsvalue for key.set in interface RedisStringCommandskey - must not be null.value - must not be null.@Deprecated default Boolean set(byte[] key, byte[] value, Expiration expiration, RedisStringCommands.SetOption option)
RedisConnection.stringCommands()}.RedisStringCommandsvalue for key applying timeouts from expiration if set and inserting/updating values
depending on option.set in interface RedisStringCommandskey - must not be null.value - must not be null.expiration - must not be null. Use Expiration.persistent() to not set any ttl or
Expiration.keepTtl() to keep the existing expiration.option - must not be null. Use RedisStringCommands.SetOption.upsert() to add non existing.@Deprecated default Boolean setNX(byte[] key, byte[] value)
RedisConnection.stringCommands()}.RedisStringCommandsvalue for key, only if key does not exist.setNX in interface RedisStringCommandskey - must not be null.value - must not be null.@Deprecated default Boolean setEx(byte[] key, long seconds, byte[] value)
RedisConnection.stringCommands()}.RedisStringCommandsvalue and expiration in seconds for key.setEx in interface RedisStringCommandskey - must not be null.value - must not be null.@Deprecated default Boolean pSetEx(byte[] key, long milliseconds, byte[] value)
RedisConnection.stringCommands()}.RedisStringCommandsvalue and expiration in milliseconds for key.pSetEx in interface RedisStringCommandskey - must not be null.value - must not be null.@Deprecated default Boolean mSet(Map<byte[],byte[]> tuple)
RedisConnection.stringCommands()}.RedisStringCommandstuple.mSet in interface RedisStringCommandstuple - must not be null.@Deprecated default Boolean mSetNX(Map<byte[],byte[]> tuple)
RedisConnection.stringCommands()}.RedisStringCommandstuple only if the provided key does
not exist.mSetNX in interface RedisStringCommandstuple - must not be null.@Deprecated default Long incr(byte[] key)
RedisConnection.stringCommands()}.RedisStringCommandskey by 1.incr in interface RedisStringCommandskey - must not be null.@Deprecated default Double incrBy(byte[] key, double value)
RedisConnection.stringCommands()}.RedisStringCommandskey by delta.incrBy in interface RedisStringCommandskey - must not be null.@Deprecated default Long incrBy(byte[] key, long value)
RedisConnection.stringCommands()}.RedisStringCommandskey by delta.incrBy in interface RedisStringCommandskey - must not be null.@Deprecated default Long decr(byte[] key)
RedisConnection.stringCommands()}.RedisStringCommandskey by 1.decr in interface RedisStringCommandskey - must not be null.@Deprecated default Long decrBy(byte[] key, long value)
RedisConnection.stringCommands()}.RedisStringCommandskey by value.decrBy in interface RedisStringCommandskey - must not be null.@Deprecated default Long append(byte[] key, byte[] value)
RedisConnection.stringCommands()}.RedisStringCommandsvalue to key.append in interface RedisStringCommandskey - must not be null.value - must not be null.@Deprecated default byte[] getRange(byte[] key, long start, long end)
RedisConnection.stringCommands()}.RedisStringCommandskey between start and end.getRange in interface RedisStringCommandskey - must not be null.@Deprecated default void setRange(byte[] key, byte[] value, long offset)
RedisConnection.stringCommands()}.RedisStringCommandskey starting at the specified offset with given value.setRange in interface RedisStringCommandskey - must not be null.@Deprecated default Boolean getBit(byte[] key, long offset)
RedisConnection.stringCommands()}.RedisStringCommandsoffset of value at key.getBit in interface RedisStringCommandskey - must not be null.@Deprecated default Boolean setBit(byte[] key, long offset, boolean value)
RedisConnection.stringCommands()}.RedisStringCommandsoffset in value stored at key.setBit in interface RedisStringCommandskey - must not be null.offset or null when used in pipeline / transaction.@Deprecated default Long bitCount(byte[] key)
RedisConnection.stringCommands()}.RedisStringCommandskey.bitCount in interface RedisStringCommandskey - must not be null.@Deprecated default Long bitCount(byte[] key, long start, long end)
RedisConnection.stringCommands()}.RedisStringCommandskey between start and
end.bitCount in interface RedisStringCommandskey - must not be null.@Deprecated default List<Long> bitField(byte[] key, BitFieldSubCommands subCommands)
RedisConnection.stringCommands()}.RedisStringCommandskey.bitField in interface RedisStringCommandskey - must not be null.subCommands - must not be null.@Deprecated default Long bitOp(RedisStringCommands.BitOperation op, byte[] destination, byte[]... keys)
RedisConnection.stringCommands()}.RedisStringCommandsbitOp in interface RedisStringCommandsop - must not be null.destination - must not be null.keys - must not be null.@Deprecated default Long bitPos(byte[] key, boolean bit, Range<Long> range)
RedisConnection.stringCommands()}.RedisStringCommandsbit in a string. Range start and end can contain
negative values in order to index bytes starting from the end of the string, where -1
is the last byte, -2 is the penultimate.bitPos in interface RedisStringCommandskey - the key holding the actual String.bit - the bit value to look for.range - must not be null. Use Range.unbounded() to not limit search.@Deprecated default Long strLen(byte[] key)
RedisConnection.stringCommands()}.RedisStringCommandskey.strLen in interface RedisStringCommandskey - must not be null.@Deprecated default Long xAck(byte[] key, String group, RecordId... messageIds)
RedisConnection.streamCommands()}.RedisStreamCommandsxAck in interface RedisStreamCommandskey - the key the stream is stored at.group - name of the consumer group.messageIds - the id's of the records to acknowledge.@Deprecated default RecordId xAdd(MapRecord<byte[],byte[],byte[]> record, RedisStreamCommands.XAddOptions options)
RedisConnection.streamCommands()}.RedisStreamCommandsrecord to the stream stored at Record.getStream(). Record.withId(RecordId).xAdd in interface RedisStreamCommandsrecord - the record to append.options - additional options (eg. MAXLEN). Must not be null, use
RedisStreamCommands.XAddOptions.none() instead.id after save. null when used in pipeline / transaction.@Deprecated default List<RecordId> xClaimJustId(byte[] key, String group, String newOwner, RedisStreamCommands.XClaimOptions options)
RedisConnection.streamCommands()}.RedisStreamCommandsxClaimJustId in interface RedisStreamCommandskey - the key the stream is stored at.group - the name of the consumer group.newOwner - the name of the new consumer.options - must not be null.ids that changed user.@Deprecated default List<ByteRecord> xClaim(byte[] key, String group, String newOwner, RedisStreamCommands.XClaimOptions options)
RedisConnection.streamCommands()}.RedisStreamCommandsxClaim in interface RedisStreamCommandskey - the key the stream is stored at.group - the name of the consumer group.newOwner - the name of the new consumer.options - must not be null.ByteRecord that changed user.@Deprecated default Long xDel(byte[] key, RecordId... recordIds)
RedisConnection.streamCommands()}.RedisStreamCommandsxDel in interface RedisStreamCommandskey - the key the stream is stored at.recordIds - the id's of the records to remove.@Deprecated default String xGroupCreate(byte[] key, String groupName, ReadOffset readOffset)
RedisConnection.streamCommands()}.RedisStreamCommandsxGroupCreate in interface RedisStreamCommandskey - the key the stream is stored at.groupName - name of the consumer group to create.readOffset - the offset to start at.@Deprecated default String xGroupCreate(byte[] key, String groupName, ReadOffset readOffset, boolean mkStream)
RedisConnection.streamCommands()}.RedisStreamCommandsxGroupCreate in interface RedisStreamCommandskey - the key the stream is stored at.groupName - name of the consumer group to create.readOffset - the offset to start at.mkStream - if true the group will create the stream if not already present (MKSTREAM)@Deprecated default Boolean xGroupDelConsumer(byte[] key, Consumer consumer)
RedisConnection.streamCommands()}.RedisStreamCommandsxGroupDelConsumer in interface RedisStreamCommandskey - the key the stream is stored at.consumer - consumer identified by group name and consumer name.@Deprecated default Boolean xGroupDestroy(byte[] key, String groupName)
RedisConnection.streamCommands()}.RedisStreamCommandsxGroupDestroy in interface RedisStreamCommandskey - the key the stream is stored at.groupName - name of the consumer group.@Deprecated default StreamInfo.XInfoStream xInfo(byte[] key)
RedisConnection.streamCommands()}.RedisStreamCommandsxInfo in interface RedisStreamCommandskey - the key the stream is stored at.@Deprecated default StreamInfo.XInfoGroups xInfoGroups(byte[] key)
RedisConnection.streamCommands()}.RedisStreamCommandsxInfoGroups in interface RedisStreamCommandskey - the key the stream is stored at.@Deprecated default StreamInfo.XInfoConsumers xInfoConsumers(byte[] key, String groupName)
RedisConnection.streamCommands()}.RedisStreamCommandsxInfoConsumers in interface RedisStreamCommandskey - the key the stream is stored at.groupName - name of the consumer group.@Deprecated default Long xLen(byte[] key)
RedisConnection.streamCommands()}.RedisStreamCommandsxLen in interface RedisStreamCommandskey - the key the stream is stored at.@Deprecated default PendingMessagesSummary xPending(byte[] key, String groupName)
RedisConnection.streamCommands()}.RedisStreamCommandsPendingMessagesSummary for a given consumer group.xPending in interface RedisStreamCommandskey - the key the stream is stored at. Must not be null.groupName - the name of the consumer group. Must not be null.@Deprecated default PendingMessages xPending(byte[] key, String groupName, RedisStreamCommands.XPendingOptions options)
RedisConnection.streamCommands()}.RedisStreamCommandsxPending in interface RedisStreamCommandskey - the key the stream is stored at. Must not be null.groupName - the name of the consumer group. Must not be null.options - the options containing range, consumer and count. Must not be
null.@Deprecated default List<ByteRecord> xRange(byte[] key, Range<String> range)
RedisConnection.streamCommands()}.RedisStreamCommandsrecords within a specific Range from the stream stored at key.
Range.unbounded() to read from the minimum and the maximum ID possible.xRange in interface RedisStreamCommandskey - the key the stream is stored at.range - must not be null.@Deprecated default List<ByteRecord> xRange(byte[] key, Range<String> range, RedisZSetCommands.Limit limit)
RedisConnection.streamCommands()}.RedisStreamCommandslimited number of records within a specific Range from the
stream stored at key. Range.unbounded() to read from the minimum and the maximum ID possible. RedisZSetCommands.Limit.unlimited() to read all records.xRange in interface RedisStreamCommandskey - the key the stream is stored at.range - must not be null.limit - must not be null.@Deprecated default List<ByteRecord> xRead(StreamOffset<byte[]>... streams)
RedisConnection.streamCommands()}.RedisStreamCommandsStreamOffsets.xRead in interface RedisStreamCommandsstreams - the streams to read from.@Deprecated default List<ByteRecord> xRead(StreamReadOptions readOptions, StreamOffset<byte[]>... streams)
RedisConnection.streamCommands()}.RedisStreamCommandsStreamOffsets.xRead in interface RedisStreamCommandsreadOptions - read arguments.streams - the streams to read from.@Deprecated default List<ByteRecord> xReadGroup(Consumer consumer, StreamOffset<byte[]>... streams)
RedisConnection.streamCommands()}.RedisStreamCommandsStreamOffsets using a consumer group.xReadGroup in interface RedisStreamCommandsconsumer - consumer/group.streams - the streams to read from.@Deprecated default List<ByteRecord> xReadGroup(Consumer consumer, StreamReadOptions readOptions, StreamOffset<byte[]>... streams)
RedisConnection.streamCommands()}.RedisStreamCommandsStreamOffsets using a consumer group.xReadGroup in interface RedisStreamCommandsconsumer - consumer/group.readOptions - read arguments.streams - the streams to read from.@Deprecated default List<ByteRecord> xRevRange(byte[] key, Range<String> range)
RedisConnection.streamCommands()}.RedisStreamCommandsRange in reverse order.xRevRange in interface RedisStreamCommandskey - the stream key.range - must not be null.@Deprecated default List<ByteRecord> xRevRange(byte[] key, Range<String> range, RedisZSetCommands.Limit limit)
RedisConnection.streamCommands()}.RedisStreamCommandsRange applying a RedisZSetCommands.Limit in reverse order.xRevRange in interface RedisStreamCommandskey - the stream key.range - must not be null.limit - must not be null.@Deprecated default Long xTrim(byte[] key, long count)
RedisConnection.streamCommands()}.RedisStreamCommandscount elements.xTrim in interface RedisStreamCommandskey - the stream key.count - length of the stream.@Deprecated default Long xTrim(byte[] key, long count, boolean approximateTrimming)
RedisStreamCommandscount elements.xTrim in interface RedisStreamCommandskey - the stream key.count - length of the stream.approximateTrimming - the trimming must be performed in a approximated way in order to maximize performances.@Deprecated default Long rPush(byte[] key, byte[]... values)
RedisConnection.listCommands()}.RedisListCommandsvalues to key.rPush in interface RedisListCommandskey - must not be null.values - must not be empty.@Deprecated default List<Long> lPos(byte[] key, byte[] element, @Nullable Integer rank, @Nullable Integer count)
RedisConnection.listCommands()}.RedisListCommandslPos in interface RedisListCommandskey - must not be null.element - must not be null.rank - specifies the "rank" of the first element to return, in case there are multiple matches. A rank of 1
means to return the first match, 2 to return the second match, and so forth.count - number of matches to return.@Deprecated default Long lPush(byte[] key, byte[]... values)
RedisConnection.listCommands()}.RedisListCommandsvalues to key.lPush in interface RedisListCommandskey - must not be null.values - must not be empty.@Deprecated default Long rPushX(byte[] key, byte[] value)
RedisConnection.listCommands()}.RedisListCommandsvalues to key only if the list exists.rPushX in interface RedisListCommandskey - must not be null.value - must not be null.@Deprecated default Long lPushX(byte[] key, byte[] value)
RedisConnection.listCommands()}.RedisListCommandsvalues to key only if the list exists.lPushX in interface RedisListCommandskey - must not be null.value - must not be null.@Deprecated default Long lLen(byte[] key)
RedisConnection.listCommands()}.RedisListCommandskey.lLen in interface RedisListCommandskey - must not be null.@Deprecated default List<byte[]> lRange(byte[] key, long start, long end)
RedisConnection.listCommands()}.RedisListCommandsstart and end from list at key.lRange in interface RedisListCommandskey - must not be null.List if key does not exists or range does not contain values. null when used in
pipeline / transaction.@Deprecated default void lTrim(byte[] key, long start, long end)
RedisConnection.listCommands()}.RedisListCommandskey to elements between start and end.lTrim in interface RedisListCommandskey - must not be null.@Deprecated default byte[] lIndex(byte[] key, long index)
RedisConnection.listCommands()}.RedisListCommandsindex form list at key.lIndex in interface RedisListCommandskey - must not be null.index - zero based index value. Use negative number to designate elements starting at the tail.@Deprecated default Long lInsert(byte[] key, RedisListCommands.Position where, byte[] pivot, byte[] value)
RedisConnection.listCommands()}.RedisListCommandsvalue RedisListCommands.Position.BEFORE or RedisListCommands.Position.AFTER existing pivot for key.lInsert in interface RedisListCommandskey - must not be null.where - must not be null.pivot - must not be null.value - must not be null.@Deprecated default void lSet(byte[] key, long index, byte[] value)
RedisConnection.listCommands()}.RedisListCommandsvalue list element at index.lSet in interface RedisListCommandskey - must not be null.@Deprecated default Long lRem(byte[] key, long count, byte[] value)
RedisConnection.listCommands()}.RedisListCommandscount occurrences of value from the list stored at key.lRem in interface RedisListCommandskey - must not be null.@Deprecated default byte[] lPop(byte[] key)
RedisConnection.listCommands()}.RedisListCommandskey.lPop in interface RedisListCommandskey - must not be null.@Deprecated default byte[] rPop(byte[] key)
RedisConnection.listCommands()}.RedisListCommandskey.rPop in interface RedisListCommandskey - must not be null.@Deprecated default List<byte[]> bLPop(int timeout, byte[]... keys)
RedisConnection.listCommands()}.RedisListCommandskeys. timeout reached.bLPop in interface RedisListCommandstimeout - seconds to block.keys - must not be null.List when no element could be popped and the timeout was reached. null when used
in pipeline / transaction.RedisListCommands.lPop(byte[])@Deprecated default List<byte[]> bRPop(int timeout, byte[]... keys)
RedisConnection.listCommands()}.RedisListCommandskeys. timeout reached.bRPop in interface RedisListCommandstimeout - seconds to block.keys - must not be null.List when no element could be popped and the timeout was reached. null when used
in pipeline / transaction.RedisListCommands.rPop(byte[])@Deprecated default byte[] rPopLPush(byte[] srcKey, byte[] dstKey)
RedisConnection.listCommands()}.RedisListCommandssrcKey, append it to dstKey and return its value.rPopLPush in interface RedisListCommandssrcKey - must not be null.dstKey - must not be null.@Deprecated default byte[] bRPopLPush(int timeout, byte[] srcKey, byte[] dstKey)
RedisConnection.listCommands()}.RedisListCommandssrcKey, append it to dstKey and return its value. timeout reached.bRPopLPush in interface RedisListCommandstimeout - seconds to block.srcKey - must not be null.dstKey - must not be null.RedisListCommands.rPopLPush(byte[], byte[])@Deprecated default Long sAdd(byte[] key, byte[]... values)
RedisConnection.setCommands()}.RedisSetCommandsvalues to set at key.sAdd in interface RedisSetCommandskey - must not be null.values - must not be empty.@Deprecated default Long sCard(byte[] key)
RedisConnection.setCommands()}.RedisSetCommandskey.sCard in interface RedisSetCommandskey - must not be null.@Deprecated default Set<byte[]> sDiff(byte[]... keys)
RedisConnection.setCommands()}.RedisSetCommandskeys.sDiff in interface RedisSetCommandskeys - must not be null.@Deprecated default Long sDiffStore(byte[] destKey, byte[]... keys)
RedisConnection.setCommands()}.RedisSetCommandskeys and store result in destKey.sDiffStore in interface RedisSetCommandsdestKey - must not be null.keys - must not be null.@Deprecated default Set<byte[]> sInter(byte[]... keys)
RedisConnection.setCommands()}.RedisSetCommandskeys.sInter in interface RedisSetCommandskeys - must not be null.Set if no intersection found. null when used in pipeline / transaction.@Deprecated default Long sInterStore(byte[] destKey, byte[]... keys)
RedisConnection.setCommands()}.RedisSetCommandskeys and store result in destKey.sInterStore in interface RedisSetCommandsdestKey - must not be null.keys - must not be null.@Deprecated default Boolean sIsMember(byte[] key, byte[] value)
RedisConnection.setCommands()}.RedisSetCommandskey contains value.sIsMember in interface RedisSetCommandskey - must not be null.value - must not be null.@Deprecated default Set<byte[]> sMembers(byte[] key)
RedisConnection.setCommands()}.RedisSetCommandskey.sMembers in interface RedisSetCommandskey - must not be null.Set when key does not exist. null when used in pipeline / transaction.@Deprecated default Boolean sMove(byte[] srcKey, byte[] destKey, byte[] value)
RedisConnection.setCommands()}.RedisSetCommandsvalue from srcKey to destKeysMove in interface RedisSetCommandssrcKey - must not be null.destKey - must not be null.value - must not be null.@Deprecated default byte[] sPop(byte[] key)
RedisConnection.setCommands()}.RedisSetCommandskey.sPop in interface RedisSetCommandskey - must not be null.@Deprecated default List<byte[]> sPop(byte[] key, long count)
RedisConnection.setCommands()}.RedisSetCommandscount random members from set at key.sPop in interface RedisSetCommandskey - must not be null.count - number of random members to pop from the set.List if set does not exist. null when used in pipeline / transaction.@Deprecated default byte[] sRandMember(byte[] key)
RedisConnection.setCommands()}.RedisSetCommandskey.sRandMember in interface RedisSetCommandskey - must not be null.@Deprecated default List<byte[]> sRandMember(byte[] key, long count)
RedisConnection.setCommands()}.RedisSetCommandscount random elements from set at key.sRandMember in interface RedisSetCommandskey - must not be null.@Deprecated default Long sRem(byte[] key, byte[]... values)
RedisConnection.setCommands()}.RedisSetCommandsvalues from set at key and return the number of removed elements.sRem in interface RedisSetCommandskey - must not be null.values - must not be empty.@Deprecated default Set<byte[]> sUnion(byte[]... keys)
RedisConnection.setCommands()}.RedisSetCommandskeys.sUnion in interface RedisSetCommandskeys - must not be null.Set if keys do not exist. null when used in pipeline / transaction.@Deprecated default Long sUnionStore(byte[] destKey, byte[]... keys)
RedisConnection.setCommands()}.RedisSetCommandskeys and store result in destKey.sUnionStore in interface RedisSetCommandsdestKey - must not be null.keys - must not be null.@Deprecated default Cursor<byte[]> sScan(byte[] key, ScanOptions options)
RedisConnection.setCommands()}.RedisSetCommandsCursor to iterate over elements in set at key.sScan in interface RedisSetCommandskey - must not be null.options - must not be null.@Deprecated default Boolean zAdd(byte[] key, double score, byte[] value)
RedisConnection.zSetCommands()}.RedisZSetCommandsvalue to a sorted set at key, or update its score if it already exists.zAdd in interface RedisZSetCommandskey - must not be null.score - the score.value - the value.@Deprecated default Long zAdd(byte[] key, Set<RedisZSetCommands.Tuple> tuples)
RedisConnection.zSetCommands()}.RedisZSetCommandstuples to a sorted set at key, or update its score if it already exists.zAdd in interface RedisZSetCommandskey - must not be null.tuples - must not be null.@Deprecated default Long zCard(byte[] key)
RedisConnection.zSetCommands()}.RedisZSetCommandskey.zCard in interface RedisZSetCommandskey - must not be null.@Deprecated default Long zCount(byte[] key, double min, double max)
RedisConnection.zSetCommands()}.RedisZSetCommandsmin and max.zCount in interface RedisZSetCommandskey - must not be null.@Deprecated default Long zLexCount(byte[] key, RedisZSetCommands.Range range)
RedisConnection.zSetCommands()}.RedisZSetCommandsRange#min and Range#max applying
lexicographical ordering.zLexCount in interface RedisZSetCommandskey - must not be null.range - must not be null.@Deprecated default Long zCount(byte[] key, RedisZSetCommands.Range range)
RedisConnection.zSetCommands()}.RedisZSetCommandsRange#min and Range#max.zCount in interface RedisZSetCommandskey - must not be null.range - must not be null.@Deprecated default Double zIncrBy(byte[] key, double increment, byte[] value)
RedisConnection.zSetCommands()}.RedisZSetCommandsvalue in sorted set by increment.zIncrBy in interface RedisZSetCommandskey - must not be null.value - the value.@Deprecated default Long zInterStore(byte[] destKey, RedisZSetCommands.Aggregate aggregate, int[] weights, byte[]... sets)
RedisConnection.zSetCommands()}.RedisZSetCommandssets and store result in destination key.zInterStore in interface RedisZSetCommandsdestKey - must not be null.aggregate - must not be null.sets - must not be null.@Deprecated default Long zInterStore(byte[] destKey, RedisZSetCommands.Aggregate aggregate, RedisZSetCommands.Weights weights, byte[]... sets)
RedisConnection.zSetCommands()}.RedisZSetCommandssets and store result in destination key.zInterStore in interface RedisZSetCommandsdestKey - must not be null.aggregate - must not be null.weights - must not be null.sets - must not be null.@Deprecated default Long zInterStore(byte[] destKey, byte[]... sets)
RedisConnection.zSetCommands()}.RedisZSetCommandssets and store result in destination key.zInterStore in interface RedisZSetCommandsdestKey - must not be null.sets - must not be null.@Deprecated default Set<byte[]> zRange(byte[] key, long start, long end)
RedisConnection.zSetCommands()}.RedisZSetCommandsstart and end from sorted set.zRange in interface RedisZSetCommandskey - must not be null.Set when key does not exists or no members in range. null when used in pipeline /
transaction.@Deprecated default Set<RedisZSetCommands.Tuple> zRangeWithScores(byte[] key, long start, long end)
RedisConnection.zSetCommands()}.RedisZSetCommandszRangeWithScores in interface RedisZSetCommandskey - must not be null.Set when key does not exists or no members in range. null when used in pipeline /
transaction.@Deprecated default Set<byte[]> zRangeByLex(byte[] key, RedisZSetCommands.Range range, RedisZSetCommands.Limit limit)
RedisConnection.zSetCommands()}.RedisZSetCommandsRedisZSetCommands.Range from the sorted set at key in lexicographical ordering. Result is
limited via RedisZSetCommands.Limit.zRangeByLex in interface RedisZSetCommandskey - must not be null.range - must not be null.limit - must not be null.@Deprecated default Set<byte[]> zRevRangeByLex(byte[] key, RedisZSetCommands.Range range, RedisZSetCommands.Limit limit)
RedisConnection.zSetCommands()}.RedisZSetCommandsRedisZSetCommands.Range from the sorted set at key in reversed lexicographical ordering.
Result is limited via RedisZSetCommands.Limit.zRevRangeByLex in interface RedisZSetCommandskey - must not be null.range - must not be null.limit - must not be null.@Deprecated default Set<byte[]> zRangeByScore(byte[] key, RedisZSetCommands.Range range, RedisZSetCommands.Limit limit)
RedisConnection.zSetCommands()}.RedisZSetCommandsLimit#count to Limit#offset where score is between Range#min and
Range#max from sorted set.zRangeByScore in interface RedisZSetCommandskey - must not be null.range - must not be null.limit - must not be null.@Deprecated default Set<RedisZSetCommands.Tuple> zRangeByScoreWithScores(byte[] key, RedisZSetCommands.Range range, RedisZSetCommands.Limit limit)
RedisConnection.zSetCommands()}.RedisZSetCommandsRedisZSetCommands.Tuples in range from Limit#offset to Limit#offset + Limit#count where score is
between Range#min and Range#max from sorted set.zRangeByScoreWithScores in interface RedisZSetCommandskey - must not be null.range - must not be null.limit - must not be null.Set when key does not exists or no members in range. null when used in pipeline /
transaction.@Deprecated default Set<RedisZSetCommands.Tuple> zRevRangeWithScores(byte[] key, long start, long end)
RedisConnection.zSetCommands()}.RedisZSetCommandsRedisZSetCommands.Tuples in range from start to end from sorted set ordered from high to low.zRevRangeWithScores in interface RedisZSetCommandskey - must not be null.Set when key does not exists or no members in range. null when used in pipeline /
transaction.@Deprecated default Set<byte[]> zRevRangeByScore(byte[] key, RedisZSetCommands.Range range, RedisZSetCommands.Limit limit)
RedisConnection.zSetCommands()}.RedisZSetCommandsLimit#offset to Limit#offset + Limit#count where score is between
Range#min and Range#max from sorted set ordered high -> low.zRevRangeByScore in interface RedisZSetCommandskey - must not be null.range - must not be null.limit - must not be null.@Deprecated default Set<RedisZSetCommands.Tuple> zRevRangeByScoreWithScores(byte[] key, RedisZSetCommands.Range range, RedisZSetCommands.Limit limit)
RedisConnection.zSetCommands()}.RedisZSetCommandsRedisZSetCommands.Tuple in range from Limit#offset to Limit#count where score is between
Range#min and Range#max from sorted set ordered high -> low.zRevRangeByScoreWithScores in interface RedisZSetCommandskey - must not be null.range - must not be null.limit - must not be null.@Deprecated default Long zRank(byte[] key, byte[] value)
RedisConnection.zSetCommands()}.RedisZSetCommandsvalue in a sorted set.zRank in interface RedisZSetCommandskey - must not be null.value - the value. Must not be null.@Deprecated default Long zRem(byte[] key, byte[]... values)
RedisConnection.zSetCommands()}.RedisZSetCommandsvalues from sorted set. Return number of removed elements.zRem in interface RedisZSetCommandskey - must not be null.values - must not be null.@Deprecated default Long zRemRange(byte[] key, long start, long end)
RedisConnection.zSetCommands()}.RedisZSetCommandsstart and end from sorted set with key.zRemRange in interface RedisZSetCommandskey - must not be null.@Deprecated default Long zRemRangeByScore(byte[] key, RedisZSetCommands.Range range)
RedisConnection.zSetCommands()}.RedisZSetCommandsRange#min and Range#max from sorted set with key.zRemRangeByScore in interface RedisZSetCommandskey - must not be null.range - must not be null.@Deprecated default Long zRemRangeByScore(byte[] key, double min, double max)
RedisConnection.zSetCommands()}.RedisZSetCommandsmin and max from sorted set with key.zRemRangeByScore in interface RedisZSetCommandskey - must not be null.@Deprecated default Set<byte[]> zRevRange(byte[] key, long start, long end)
RedisConnection.zSetCommands()}.RedisZSetCommandsstart to end from sorted set ordered from high to low.zRevRange in interface RedisZSetCommandskey - must not be null.Set when key does not exists or no members in range. null when used in pipeline /
transaction.@Deprecated default Long zRevRank(byte[] key, byte[] value)
RedisConnection.zSetCommands()}.RedisZSetCommandsvalue in a sorted set when scored high to low.zRevRank in interface RedisZSetCommandskey - must not be null.value - the value.@Deprecated default Double zScore(byte[] key, byte[] value)
RedisConnection.zSetCommands()}.RedisZSetCommandsvalue from sorted set with key key.zScore in interface RedisZSetCommandskey - must not be null.value - the value.@Deprecated default Long zUnionStore(byte[] destKey, RedisZSetCommands.Aggregate aggregate, int[] weights, byte[]... sets)
RedisConnection.zSetCommands()}.RedisZSetCommandssets and store result in destination key.zUnionStore in interface RedisZSetCommandsdestKey - must not be null.aggregate - must not be null.weights - must not be null.sets - must not be null.@Deprecated default Long zUnionStore(byte[] destKey, RedisZSetCommands.Aggregate aggregate, RedisZSetCommands.Weights weights, byte[]... sets)
RedisConnection.zSetCommands()}.RedisZSetCommandssets and store result in destination key.zUnionStore in interface RedisZSetCommandsdestKey - must not be null.aggregate - must not be null.weights - must not be null.sets - must not be null.@Deprecated default Long zUnionStore(byte[] destKey, byte[]... sets)
RedisConnection.zSetCommands()}.RedisZSetCommandssets and store result in destination key.zUnionStore in interface RedisZSetCommandsdestKey - must not be null.sets - must not be null.@Deprecated default Cursor<RedisZSetCommands.Tuple> zScan(byte[] key, ScanOptions options)
RedisConnection.zSetCommands()}.RedisZSetCommandsCursor to iterate over elements in sorted set at key.zScan in interface RedisZSetCommandskey - must not be null.options - must not be null.@Deprecated default Set<byte[]> zRangeByScore(byte[] key, String min, String max)
RedisConnection.zSetCommands()}.RedisZSetCommandsmin and max from sorted set.zRangeByScore in interface RedisZSetCommandskey - must not be null.@Deprecated default Set<byte[]> zRangeByScore(byte[] key, String min, String max, long offset, long count)
RedisConnection.zSetCommands()}.RedisZSetCommandsstart to end where score is between min and max from
sorted set.zRangeByScore in interface RedisZSetCommandskey - must not be null.min - must not be null.max - must not be null.@Deprecated default Boolean hSet(byte[] key, byte[] field, byte[] value)
RedisConnection.hashCommands()}.RedisHashCommandsvalue of a hash field.hSet in interface RedisHashCommandskey - must not be null.field - must not be null.value - must not be null.@Deprecated default Boolean hSetNX(byte[] key, byte[] field, byte[] value)
RedisConnection.hashCommands()}.RedisHashCommandsvalue of a hash field only if field does not exist.hSetNX in interface RedisHashCommandskey - must not be null.field - must not be null.value - must not be null.@Deprecated default Long hDel(byte[] key, byte[]... fields)
RedisConnection.hashCommands()}.RedisHashCommandsfields.hDel in interface RedisHashCommandskey - must not be null.fields - must not be empty.@Deprecated default Boolean hExists(byte[] key, byte[] field)
RedisConnection.hashCommands()}.RedisHashCommandsfield exists.hExists in interface RedisHashCommandskey - must not be null.field - must not be null.@Deprecated default byte[] hGet(byte[] key, byte[] field)
RedisConnection.hashCommands()}.RedisHashCommandsfield from hash at key.hGet in interface RedisHashCommandskey - must not be null.field - must not be null.@Deprecated default Map<byte[],byte[]> hGetAll(byte[] key)
RedisConnection.hashCommands()}.RedisHashCommandskey.hGetAll in interface RedisHashCommandskey - must not be null.Map if key does not exist or null when used in pipeline / transaction.@Deprecated default Double hIncrBy(byte[] key, byte[] field, double delta)
RedisConnection.hashCommands()}.RedisHashCommandsvalue of a hash field by the given delta.hIncrBy in interface RedisHashCommandskey - must not be null.field - must not be null.@Deprecated default Long hIncrBy(byte[] key, byte[] field, long delta)
RedisConnection.hashCommands()}.RedisHashCommandsvalue of a hash field by the given delta.hIncrBy in interface RedisHashCommandskey - must not be null.field - must not be null.@Deprecated default Set<byte[]> hKeys(byte[] key)
RedisConnection.hashCommands()}.RedisHashCommandskey.hKeys in interface RedisHashCommandskey - must not be null.default Long hLen(byte[] key)
RedisHashCommandskey.hLen in interface RedisHashCommandskey - must not be null.@Deprecated default List<byte[]> hMGet(byte[] key, byte[]... fields)
RedisConnection.hashCommands()}.RedisHashCommandsfields from hash at key.hMGet in interface RedisHashCommandskey - must not be null.fields - must not be empty.List if key or fields do not exists. null when used in pipeline / transaction.@Deprecated default void hMSet(byte[] key, Map<byte[],byte[]> hashes)
RedisConnection.hashCommands()}.RedisHashCommandshasheshMSet in interface RedisHashCommandskey - must not be null.hashes - must not be null.@Deprecated default List<byte[]> hVals(byte[] key)
RedisConnection.hashCommands()}.RedisHashCommandsfield.hVals in interface RedisHashCommandskey - must not be null.List if key does not exist. null when used in pipeline / transaction.@Deprecated default Cursor<Map.Entry<byte[],byte[]>> hScan(byte[] key, ScanOptions options)
RedisConnection.hashCommands()}.RedisHashCommandsCursor to iterate over entries in hash at key.hScan in interface RedisHashCommandskey - must not be null.options - must not be null.@Deprecated default Long hStrLen(byte[] key, byte[] field)
RedisConnection.hashCommands().RedisHashCommandsfield in the hash stored at key. If the key or the
field do not exist, 0 is returned.hStrLen in interface RedisHashCommandskey - must not be null.field - must not be null.@Deprecated default Long geoAdd(byte[] key, Point point, byte[] member)
RedisConnection.geoCommands()}.RedisGeoCommandsPoint with given member name to key.geoAdd in interface RedisGeoCommandskey - must not be null.point - must not be null.member - must not be null.@Deprecated default Long geoAdd(byte[] key, Map<byte[],Point> memberCoordinateMap)
RedisConnection.geoCommands()}.RedisGeoCommandsgeoAdd in interface RedisGeoCommandskey - must not be null.memberCoordinateMap - must not be null.@Deprecated default Long geoAdd(byte[] key, Iterable<RedisGeoCommands.GeoLocation<byte[]>> locations)
RedisConnection.geoCommands()}.RedisGeoCommandsRedisGeoCommands.GeoLocations to keygeoAdd in interface RedisGeoCommandskey - must not be null.locations - must not be null.@Deprecated default Distance geoDist(byte[] key, byte[] member1, byte[] member2)
RedisConnection.geoCommands()}.RedisGeoCommandsDistance between member1 and member2.geoDist in interface RedisGeoCommandskey - must not be null.member1 - must not be null.member2 - must not be null.@Deprecated default Distance geoDist(byte[] key, byte[] member1, byte[] member2, Metric metric)
RedisConnection.geoCommands()}.RedisGeoCommandsgeoDist in interface RedisGeoCommandskey - must not be null.member1 - must not be null.member2 - must not be null.metric - must not be null.@Deprecated default List<String> geoHash(byte[] key, byte[]... members)
RedisConnection.geoCommands()}.RedisGeoCommandsgeoHash in interface RedisGeoCommandskey - must not be null.members - must not be null.@Deprecated default List<Point> geoPos(byte[] key, byte[]... members)
RedisConnection.geoCommands()}.RedisGeoCommandsPoint representation of positions for one or more members.geoPos in interface RedisGeoCommandskey - must not be null.members - must not be null.List when key of members do not exist. null when used in pipeline / transaction.@Deprecated default GeoResults<RedisGeoCommands.GeoLocation<byte[]>> geoRadius(byte[] key, Circle within)
RedisConnection.geoCommands()}.RedisGeoCommandsCircle.geoRadius in interface RedisGeoCommandskey - must not be null.within - must not be null.@Deprecated default GeoResults<RedisGeoCommands.GeoLocation<byte[]>> geoRadius(byte[] key, Circle within, RedisGeoCommands.GeoRadiusCommandArgs args)
RedisConnection.geoCommands()}.RedisGeoCommandsCircle applying RedisGeoCommands.GeoRadiusCommandArgs.geoRadius in interface RedisGeoCommandskey - must not be null.within - must not be null.args - must not be null.@Deprecated default GeoResults<RedisGeoCommands.GeoLocation<byte[]>> geoRadiusByMember(byte[] key, byte[] member, Distance radius)
RedisConnection.geoCommands()}.RedisGeoCommandsDistance.geoRadiusByMember in interface RedisGeoCommandskey - must not be null.member - must not be null.radius - must not be null.@Deprecated default GeoResults<RedisGeoCommands.GeoLocation<byte[]>> geoRadiusByMember(byte[] key, byte[] member, Distance radius, RedisGeoCommands.GeoRadiusCommandArgs args)
RedisConnection.geoCommands()}.RedisGeoCommandsDistance
and RedisGeoCommands.GeoRadiusCommandArgs.geoRadiusByMember in interface RedisGeoCommandskey - must not be null.member - must not be null.radius - must not be null.args - must not be null.@Deprecated default Long geoRemove(byte[] key, byte[]... members)
RedisConnection.geoCommands()}.RedisGeoCommandsgeoRemove in interface RedisGeoCommandskey - must not be null.members - must not be null.@Deprecated default Long pfAdd(byte[] key, byte[]... values)
RedisConnection.hyperLogLogCommands().RedisHyperLogLogCommandspfAdd in interface RedisHyperLogLogCommandskey - must not be null.values - must not be null.@Deprecated default Long pfCount(byte[]... keys)
RedisConnection.hyperLogLogCommands().RedisHyperLogLogCommandspfCount in interface RedisHyperLogLogCommandskeys - must not be null.@Deprecated default void pfMerge(byte[] destinationKey, byte[]... sourceKeys)
RedisConnection.hyperLogLogCommands().RedisHyperLogLogCommandspfMerge in interface RedisHyperLogLogCommandsdestinationKey - must not be null.sourceKeys - must not be null.@Deprecated default void bgWriteAof()
RedisConnection.serverCommands().RedisServerCommandsbgWriteAof in interface RedisServerCommands@Deprecated default void bgReWriteAof()
RedisConnection.serverCommands().RedisServerCommandsbgReWriteAof in interface RedisServerCommands@Deprecated default void bgSave()
RedisConnection.serverCommands().RedisServerCommandsbgSave in interface RedisServerCommands@Deprecated default Long lastSave()
RedisConnection.serverCommands().RedisServerCommandsRedisServerCommands.bgSave() operation in seconds.lastSave in interface RedisServerCommands@Deprecated default void save()
RedisConnection.serverCommands().RedisServerCommandssave in interface RedisServerCommands@Deprecated default Long dbSize()
RedisConnection.serverCommands().RedisServerCommandsdbSize in interface RedisServerCommands@Deprecated default void flushDb()
RedisConnection.serverCommands().RedisServerCommandsflushDb in interface RedisServerCommands@Deprecated default void flushAll()
RedisConnection.serverCommands().RedisServerCommandsflushAll in interface RedisServerCommands@Deprecated default Properties info()
RedisConnection.serverCommands().RedisServerCommandsinfo in interface RedisServerCommands@Deprecated default Properties info(String section)
RedisConnection.serverCommands().RedisServerCommandsselection.info in interface RedisServerCommands@Deprecated default void shutdown()
RedisConnection.serverCommands().RedisServerCommandsshutdown in interface RedisServerCommands@Deprecated default void shutdown(RedisServerCommands.ShutdownOption option)
RedisConnection.serverCommands().RedisServerCommandsshutdown in interface RedisServerCommands@Deprecated default Properties getConfig(String pattern)
RedisConnection.serverCommands().RedisServerCommandspattern from server.getConfig in interface RedisServerCommandspattern - must not be null.@Deprecated default void setConfig(String param, String value)
RedisConnection.serverCommands().RedisServerCommandsparam to value.setConfig in interface RedisServerCommandsparam - must not be null.value - must not be null.@Deprecated default void resetConfigStats()
RedisConnection.serverCommands().RedisServerCommandsRedisServerCommands.info().resetConfigStats in interface RedisServerCommands@Deprecated default Long time()
RedisConnection.serverCommands().RedisServerCommandsTIME command.time in interface RedisServerCommands@Deprecated default void killClient(String host, int port)
RedisConnection.serverCommands().RedisServerCommandskillClient in interface RedisServerCommandshost - of connection to close.port - of connection to close@Deprecated default void setClientName(byte[] name)
RedisConnection.serverCommands().RedisServerCommandssetClientName in interface RedisServerCommands@Deprecated default String getClientName()
RedisConnection.serverCommands().RedisServerCommandsgetClientName in interface RedisServerCommands@Deprecated default List<RedisClientInfo> getClientList()
RedisConnection.serverCommands().RedisServerCommandsgetClientList in interface RedisServerCommandsList of RedisClientInfo objects or null when used in pipeline / transaction.@Deprecated default void slaveOf(String host, int port)
RedisConnection.serverCommands().RedisServerCommandsslaveOf in interface RedisServerCommandshost - must not be null.@Deprecated default void slaveOfNoOne()
RedisConnection.serverCommands().RedisServerCommandsslaveOfNoOne in interface RedisServerCommands@Deprecated default void migrate(byte[] key, RedisNode target, int dbIndex, @Nullable RedisServerCommands.MigrateOption option)
RedisConnection.serverCommands().RedisServerCommandsmigrate in interface RedisServerCommandskey - must not be null.target - must not be null.option - can be null. Defaulted to RedisServerCommands.MigrateOption.COPY.@Deprecated default void migrate(byte[] key, RedisNode target, int dbIndex, @Nullable RedisServerCommands.MigrateOption option, long timeout)
RedisConnection.serverCommands().RedisServerCommandsmigrate in interface RedisServerCommandskey - must not be null.target - must not be null.option - can be null. Defaulted to RedisServerCommands.MigrateOption.COPY.@Deprecated default void scriptFlush()
RedisConnection.scriptingCommands().RedisScriptingCommandsscriptFlush in interface RedisScriptingCommands@Deprecated default void scriptKill()
RedisConnection.scriptingCommands().RedisScriptingCommandsscriptKill in interface RedisScriptingCommands@Deprecated default String scriptLoad(byte[] script)
RedisConnection.scriptingCommands().RedisScriptingCommands#evalSha(byte[], ReturnType, int, byte[]...).scriptLoad in interface RedisScriptingCommandsscript - must not be null.@Deprecated default List<Boolean> scriptExists(String... scriptShas)
RedisConnection.scriptingCommands().RedisScriptingCommandsscriptShas exist in script cache.scriptExists in interface RedisScriptingCommandsList or null when used in pipeline /
transaction.@Deprecated default <T> T eval(byte[] script, ReturnType returnType, int numKeys, byte[]... keysAndArgs)
RedisConnection.scriptingCommands().RedisScriptingCommandsscript.eval in interface RedisScriptingCommandsscript - must not be null.returnType - must not be null.keysAndArgs - must not be null.@Deprecated default <T> T evalSha(String scriptSha, ReturnType returnType, int numKeys, byte[]... keysAndArgs)
RedisConnection.scriptingCommands().RedisScriptingCommandsscriptSha.evalSha in interface RedisScriptingCommandsscriptSha - must not be null.returnType - must not be null.keysAndArgs - must not be null.@Deprecated default <T> T evalSha(byte[] scriptSha, ReturnType returnType, int numKeys, byte[]... keysAndArgs)
RedisConnection.scriptingCommands().RedisScriptingCommandsscriptSha.evalSha in interface RedisScriptingCommandsscriptSha - must not be null.returnType - must not be null.keysAndArgs - must not be null.Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.