Interface DefaultedRedisConnection
- All Superinterfaces:
RedisCommands,RedisCommandsProvider,RedisConnectionCommands,RedisGeoCommands,RedisHashCommands,RedisHyperLogLogCommands,RedisKeyCommands,RedisListCommands,RedisPubSubCommands,RedisScriptingCommands,RedisServerCommands,RedisSetCommands,RedisStreamCommands,RedisStringCommands,RedisTxCommands,RedisZSetCommands
- All Known Subinterfaces:
DefaultedRedisClusterConnection,RedisClusterConnection,RedisConnection,RedisConnectionUtils.RedisConnectionProxy,StringRedisConnection
- All Known Implementing Classes:
AbstractRedisConnection,DefaultStringRedisConnection,JedisClusterConnection,JedisConnection,LettuceClusterConnection,LettuceConnection
Deprecated.
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.- Since:
- 2.0
- Author:
- Christoph Strobl, Mark Paluch, Tugdual Grall, Andrey Shlykov, dengliming, ihaohong, Dennis Neufeld, Shyngys Sapraliyev
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.springframework.data.redis.connection.RedisGeoCommands
RedisGeoCommands.DistanceUnit, RedisGeoCommands.GeoCommandArgs, RedisGeoCommands.GeoLocation<T>, RedisGeoCommands.GeoRadiusCommandArgs, RedisGeoCommands.GeoSearchCommandArgs, RedisGeoCommands.GeoSearchStoreCommandArgsNested classes/interfaces inherited from interface org.springframework.data.redis.connection.RedisListCommands
RedisListCommands.Direction, RedisListCommands.PositionNested classes/interfaces inherited from interface org.springframework.data.redis.connection.RedisServerCommands
RedisServerCommands.FlushOption, RedisServerCommands.MigrateOption, RedisServerCommands.ShutdownOptionNested classes/interfaces inherited from interface org.springframework.data.redis.connection.RedisStreamCommands
RedisStreamCommands.XAddOptions, RedisStreamCommands.XClaimOptions, RedisStreamCommands.XPendingOptionsNested classes/interfaces inherited from interface org.springframework.data.redis.connection.RedisStringCommands
RedisStringCommands.BitOperation, RedisStringCommands.SetOptionNested classes/interfaces inherited from interface org.springframework.data.redis.connection.RedisZSetCommands
RedisZSetCommands.Limit, RedisZSetCommands.Range, RedisZSetCommands.ZAddArgs -
Method Summary
Modifier and TypeMethodDescriptiondefault Longappend(byte[] key, byte[] value) Deprecated.default voidDeprecated.in favor ofRedisCommandsProvider.serverCommands().default voidbgSave()Deprecated.in favor ofRedisCommandsProvider.serverCommands().default LongbitCount(byte[] key) Deprecated.in favor ofRedisCommandsProvider.stringCommands()}.default LongbitCount(byte[] key, long start, long end) Deprecated.in favor ofRedisCommandsProvider.stringCommands()}.bitField(byte[] key, BitFieldSubCommands subCommands) Deprecated.in favor ofRedisCommandsProvider.stringCommands()}.default LongbitOp(RedisStringCommands.BitOperation op, byte[] destination, byte[]... keys) Deprecated.in favor ofRedisCommandsProvider.stringCommands()}.default LongDeprecated.in favor ofRedisCommandsProvider.stringCommands()}.default byte[]bLMove(byte[] sourceKey, byte[] destinationKey, RedisListCommands.Direction from, RedisListCommands.Direction to, double timeout) Deprecated.in favor ofRedisCommandsProvider.listCommands()}.default List<byte[]>bLPop(int timeout, byte[]... keys) Deprecated.in favor ofRedisCommandsProvider.listCommands()}.default List<byte[]>bRPop(int timeout, byte[]... keys) Deprecated.in favor ofRedisCommandsProvider.listCommands()}.default byte[]bRPopLPush(int timeout, byte[] srcKey, byte[] dstKey) Deprecated.in favor ofRedisCommandsProvider.listCommands()}.default TupleDeprecated.in favor ofRedisCommandsProvider.zSetCommands()}.default TupleDeprecated.in favor ofRedisCommandsProvider.zSetCommands()}.default Booleancopy(byte[] sourceKey, byte[] targetKey, boolean replace) Deprecated.in favor ofRedisCommandsProvider.keyCommands().default LongdbSize()Deprecated.in favor ofRedisCommandsProvider.serverCommands().default Longdecr(byte[] key) Deprecated.in favor ofRedisCommandsProvider.stringCommands()}.default LongdecrBy(byte[] key, long value) Deprecated.in favor ofRedisCommandsProvider.stringCommands()}.default Longdel(byte[]... keys) Deprecated.in favor ofRedisCommandsProvider.keyCommands().default byte[]dump(byte[] key) Deprecated.in favor ofRedisCommandsProvider.keyCommands().default ValueEncodingencodingOf(byte[] key) Deprecated.in favor ofRedisCommandsProvider.keyCommands().default <T> Teval(byte[] script, ReturnType returnType, int numKeys, byte[]... keysAndArgs) Deprecated.in favor ofRedisCommandsProvider.scriptingCommands().default <T> TevalSha(byte[] scriptSha, ReturnType returnType, int numKeys, byte[]... keysAndArgs) Deprecated.in favor ofRedisCommandsProvider.scriptingCommands().default <T> TevalSha(String scriptSha, ReturnType returnType, int numKeys, byte[]... keysAndArgs) Deprecated.in favor ofRedisCommandsProvider.scriptingCommands().default Booleanexists(byte[] key) Deprecated.in favor ofRedisCommandsProvider.keyCommands().default Longexists(byte[]... keys) Deprecated.in favor ofRedisCommandsProvider.keyCommands().default Booleanexpire(byte[] key, long seconds) Deprecated.in favor ofRedisCommandsProvider.keyCommands().default BooleanexpireAt(byte[] key, long unixTime) Deprecated.in favor ofRedisCommandsProvider.keyCommands().default voidflushAll()Deprecated.in favor ofRedisCommandsProvider.serverCommands().default voidDeprecated.in favor ofRedisCommandsProvider.serverCommands().default voidflushDb()Deprecated.in favor ofRedisCommandsProvider.serverCommands().default voidDeprecated.in favor ofRedisCommandsProvider.serverCommands().default LonggeoAdd(byte[] key, Iterable<RedisGeoCommands.GeoLocation<byte[]>> locations) Deprecated.in favor ofRedisCommandsProvider.geoCommands()}.default LongDeprecated.in favor ofRedisCommandsProvider.geoCommands()}.default LongDeprecated.in favor ofRedisCommandsProvider.geoCommands()}.default DistancegeoDist(byte[] key, byte[] member1, byte[] member2) Deprecated.in favor ofRedisCommandsProvider.geoCommands()}.default DistanceDeprecated.in favor ofRedisCommandsProvider.geoCommands()}.geoHash(byte[] key, byte[]... members) Deprecated.in favor ofRedisCommandsProvider.geoCommands()}.geoPos(byte[] key, byte[]... members) Deprecated.in favor ofRedisCommandsProvider.geoCommands()}.default GeoResults<RedisGeoCommands.GeoLocation<byte[]>>Deprecated.in favor ofRedisCommandsProvider.geoCommands()}.default GeoResults<RedisGeoCommands.GeoLocation<byte[]>>geoRadius(byte[] key, Circle within, RedisGeoCommands.GeoRadiusCommandArgs args) Deprecated.in favor ofRedisCommandsProvider.geoCommands()}.default GeoResults<RedisGeoCommands.GeoLocation<byte[]>>geoRadiusByMember(byte[] key, byte[] member, Distance radius) Deprecated.in favor ofRedisCommandsProvider.geoCommands()}.default GeoResults<RedisGeoCommands.GeoLocation<byte[]>>geoRadiusByMember(byte[] key, byte[] member, Distance radius, RedisGeoCommands.GeoRadiusCommandArgs args) Deprecated.in favor ofRedisCommandsProvider.geoCommands()}.default LonggeoRemove(byte[] key, byte[]... members) Deprecated.in favor ofRedisCommandsProvider.geoCommands()}.default GeoResults<RedisGeoCommands.GeoLocation<byte[]>>geoSearch(byte[] key, GeoReference<byte[]> reference, GeoShape predicate, RedisGeoCommands.GeoSearchCommandArgs args) Deprecated.in favor ofRedisCommandsProvider.geoCommands()}.default LonggeoSearchStore(byte[] destKey, byte[] key, GeoReference<byte[]> reference, GeoShape predicate, RedisGeoCommands.GeoSearchStoreCommandArgs args) Deprecated.in favor ofRedisCommandsProvider.geoCommands()}.default byte[]get(byte[] key) Deprecated.in favor ofRedisCommandsProvider.stringCommands()}.default BooleangetBit(byte[] key, long offset) Deprecated.in favor ofRedisCommandsProvider.stringCommands()}.default List<RedisClientInfo>Deprecated.in favor ofRedisCommandsProvider.serverCommands().default StringDeprecated.in favor ofRedisCommandsProvider.serverCommands().default PropertiesDeprecated.in favor ofRedisCommandsProvider.serverCommands().default byte[]getDel(byte[] key) Deprecated.in favor ofRedisCommandsProvider.stringCommands()}.default byte[]getEx(byte[] key, Expiration expiration) Deprecated.in favor ofRedisCommandsProvider.stringCommands()}.default byte[]getRange(byte[] key, long start, long end) Deprecated.in favor ofRedisCommandsProvider.stringCommands()}.default byte[]getSet(byte[] key, byte[] value) Deprecated.in favor ofRedisCommandsProvider.stringCommands()}.default LonghDel(byte[] key, byte[]... fields) Deprecated.in favor ofRedisCommandsProvider.hashCommands()}.default BooleanhExists(byte[] key, byte[] field) Deprecated.in favor ofRedisCommandsProvider.hashCommands()}.default byte[]hGet(byte[] key, byte[] field) Deprecated.in favor ofRedisCommandsProvider.hashCommands()}.default Map<byte[],byte[]> hGetAll(byte[] key) Deprecated.in favor ofRedisCommandsProvider.hashCommands()}.default DoublehIncrBy(byte[] key, byte[] field, double delta) Deprecated.in favor ofRedisCommandsProvider.hashCommands()}.default LonghIncrBy(byte[] key, byte[] field, long delta) Deprecated.in favor ofRedisCommandsProvider.hashCommands()}.default Set<byte[]>hKeys(byte[] key) Deprecated.in favor ofRedisCommandsProvider.hashCommands()}.default LonghLen(byte[] key) Deprecated.Get size of hash atkey.default List<byte[]>hMGet(byte[] key, byte[]... fields) Deprecated.in favor ofRedisCommandsProvider.hashCommands()}.default voidDeprecated.in favor ofRedisCommandsProvider.hashCommands()}.default byte[]hRandField(byte[] key) Deprecated.in favor ofRedisCommandsProvider.hashCommands()}.default List<byte[]>hRandField(byte[] key, long count) Deprecated.in favor ofRedisCommandsProvider.hashCommands()}.default Map.Entry<byte[],byte[]> hRandFieldWithValues(byte[] key) Deprecated.in favor ofRedisCommandsProvider.hashCommands()}.hRandFieldWithValues(byte[] key, long count) Deprecated.in favor ofRedisCommandsProvider.hashCommands()}.hScan(byte[] key, ScanOptions options) Deprecated.in favor ofRedisCommandsProvider.hashCommands()}.default BooleanhSet(byte[] key, byte[] field, byte[] value) Deprecated.in favor ofRedisCommandsProvider.hashCommands()}.default BooleanhSetNX(byte[] key, byte[] field, byte[] value) Deprecated.in favor ofRedisCommandsProvider.hashCommands()}.default LonghStrLen(byte[] key, byte[] field) Deprecated.in favor ofRedisCommandsProvider.hashCommands().default List<byte[]>hVals(byte[] key) Deprecated.in favor ofRedisCommandsProvider.hashCommands()}.default Durationidletime(byte[] key) Deprecated.in favor ofRedisCommandsProvider.keyCommands().default Longincr(byte[] key) Deprecated.in favor ofRedisCommandsProvider.stringCommands()}.default DoubleincrBy(byte[] key, double value) Deprecated.in favor ofRedisCommandsProvider.stringCommands()}.default LongincrBy(byte[] key, long value) Deprecated.in favor ofRedisCommandsProvider.stringCommands()}.default Propertiesinfo()Deprecated.in favor ofRedisCommandsProvider.serverCommands().default PropertiesDeprecated.in favor ofRedisCommandsProvider.serverCommands().default Set<byte[]>keys(byte[] pattern) Deprecated.in favor ofRedisCommandsProvider.keyCommands().default voidkillClient(String host, int port) Deprecated.in favor ofRedisCommandsProvider.serverCommands().default LonglastSave()Deprecated.in favor ofRedisCommandsProvider.serverCommands().default byte[]lIndex(byte[] key, long index) Deprecated.in favor ofRedisCommandsProvider.listCommands()}.default LonglInsert(byte[] key, RedisListCommands.Position where, byte[] pivot, byte[] value) Deprecated.in favor ofRedisCommandsProvider.listCommands()}.default LonglLen(byte[] key) Deprecated.in favor ofRedisCommandsProvider.listCommands()}.default byte[]lMove(byte[] sourceKey, byte[] destinationKey, RedisListCommands.Direction from, RedisListCommands.Direction to) Deprecated.in favor ofRedisCommandsProvider.listCommands()}.default byte[]lPop(byte[] key) Deprecated.in favor ofRedisCommandsProvider.listCommands()}.default List<byte[]>lPop(byte[] key, long count) Deprecated.in favor ofRedisCommandsProvider.listCommands()}.Deprecated.in favor ofRedisCommandsProvider.listCommands()}.default LonglPush(byte[] key, byte[]... values) Deprecated.in favor ofRedisCommandsProvider.listCommands()}.default LonglPushX(byte[] key, byte[] value) Deprecated.in favor ofRedisCommandsProvider.listCommands()}.default List<byte[]>lRange(byte[] key, long start, long end) Deprecated.in favor ofRedisCommandsProvider.listCommands()}.default LonglRem(byte[] key, long count, byte[] value) Deprecated.in favor ofRedisCommandsProvider.listCommands()}.default voidlSet(byte[] key, long index, byte[] value) Deprecated.in favor ofRedisCommandsProvider.listCommands()}.default voidlTrim(byte[] key, long start, long end) Deprecated.in favor ofRedisCommandsProvider.listCommands()}.default List<byte[]>mGet(byte[]... keys) Deprecated.in favor ofRedisCommandsProvider.stringCommands()}.default voidmigrate(byte[] key, RedisNode target, int dbIndex, RedisServerCommands.MigrateOption option) Deprecated.in favor ofRedisCommandsProvider.serverCommands().default voidmigrate(byte[] key, RedisNode target, int dbIndex, RedisServerCommands.MigrateOption option, long timeout) Deprecated.in favor ofRedisCommandsProvider.serverCommands().default Booleanmove(byte[] key, int dbIndex) Deprecated.in favor ofRedisCommandsProvider.keyCommands().default BooleanDeprecated.in favor ofRedisCommandsProvider.stringCommands()}.default BooleanDeprecated.in favor ofRedisCommandsProvider.stringCommands()}.default Booleanpersist(byte[] key) Deprecated.in favor ofRedisCommandsProvider.keyCommands().default BooleanpExpire(byte[] key, long millis) Deprecated.in favor ofRedisCommandsProvider.keyCommands().default BooleanpExpireAt(byte[] key, long unixTimeInMillis) Deprecated.in favor ofRedisCommandsProvider.keyCommands().default LongpfAdd(byte[] key, byte[]... values) Deprecated.in favor ofRedisCommandsProvider.hyperLogLogCommands().default LongpfCount(byte[]... keys) Deprecated.in favor ofRedisCommandsProvider.hyperLogLogCommands().default voidpfMerge(byte[] destinationKey, byte[]... sourceKeys) Deprecated.in favor ofRedisCommandsProvider.hyperLogLogCommands().default BooleanpSetEx(byte[] key, long milliseconds, byte[] value) Deprecated.in favor ofRedisCommandsProvider.stringCommands()}.default LongpTtl(byte[] key) Deprecated.in favor ofRedisCommandsProvider.keyCommands().default LongDeprecated.in favor ofRedisCommandsProvider.keyCommands().default byte[]Deprecated.in favor ofRedisCommandsProvider.keyCommands().default Longrefcount(byte[] key) Deprecated.in favor ofRedisCommandsProvider.keyCommands().default voidrename(byte[] oldKey, byte[] newKey) Deprecated.in favor ofRedisCommandsProvider.keyCommands().default BooleanrenameNX(byte[] sourceKey, byte[] targetKey) Deprecated.in favor ofRedisCommandsProvider.keyCommands().default voidDeprecated.in favor ofRedisCommandsProvider.serverCommands().default voidDeprecated.in favor ofRedisCommandsProvider.serverCommands().default voidDeprecated.in favor ofRedisCommandsProvider.serverCommands().default voidrestore(byte[] key, long ttlInMillis, byte[] serializedValue, boolean replace) Deprecated.in favor ofRedisCommandsProvider.keyCommands().default voidDeprecated.in favor ofRedisCommandsProvider.serverCommands().default byte[]rPop(byte[] key) Deprecated.in favor ofRedisCommandsProvider.listCommands()}.default List<byte[]>rPop(byte[] key, long count) Deprecated.in favor ofRedisCommandsProvider.listCommands()}.default byte[]rPopLPush(byte[] srcKey, byte[] dstKey) Deprecated.in favor ofRedisCommandsProvider.listCommands()}.default LongrPush(byte[] key, byte[]... values) Deprecated.in favor ofRedisCommandsProvider.listCommands()}.default LongrPushX(byte[] key, byte[] value) Deprecated.in favor ofRedisCommandsProvider.listCommands()}.default LongsAdd(byte[] key, byte[]... values) Deprecated.in favor ofRedisCommandsProvider.setCommands()}.default voidsave()Deprecated.in favor ofRedisCommandsProvider.serverCommands().default Cursor<byte[]>scan(ScanOptions options) Deprecated.in favor ofRedisCommandsProvider.keyCommands().default LongsCard(byte[] key) Deprecated.in favor ofRedisCommandsProvider.setCommands()}.scriptExists(String... scriptShas) Deprecated.in favor ofRedisCommandsProvider.scriptingCommands().default voidDeprecated.in favor ofRedisCommandsProvider.scriptingCommands().default voidDeprecated.in favor ofRedisCommandsProvider.scriptingCommands().default StringscriptLoad(byte[] script) Deprecated.in favor ofRedisCommandsProvider.scriptingCommands().default Set<byte[]>sDiff(byte[]... keys) Deprecated.in favor ofRedisCommandsProvider.setCommands()}.default LongsDiffStore(byte[] destKey, byte[]... keys) Deprecated.in favor ofRedisCommandsProvider.setCommands()}.default Booleanset(byte[] key, byte[] value) Deprecated.in favor ofRedisCommandsProvider.stringCommands()}.default Booleanset(byte[] key, byte[] value, Expiration expiration, RedisStringCommands.SetOption option) Deprecated.in favor ofRedisCommandsProvider.stringCommands()}.default BooleansetBit(byte[] key, long offset, boolean value) Deprecated.in favor ofRedisCommandsProvider.stringCommands()}.default voidsetClientName(byte[] name) Deprecated.in favor ofRedisCommandsProvider.serverCommands().default voidDeprecated.in favor ofRedisCommandsProvider.serverCommands().default BooleansetEx(byte[] key, long seconds, byte[] value) Deprecated.in favor ofRedisCommandsProvider.stringCommands()}.default BooleansetNX(byte[] key, byte[] value) Deprecated.in favor ofRedisCommandsProvider.stringCommands()}.default voidsetRange(byte[] key, byte[] value, long offset) Deprecated.in favor ofRedisCommandsProvider.stringCommands()}.default voidshutdown()Deprecated.in favor ofRedisCommandsProvider.serverCommands().default voidDeprecated.in favor ofRedisCommandsProvider.serverCommands().default Set<byte[]>sInter(byte[]... keys) Deprecated.in favor ofRedisCommandsProvider.setCommands()}.default LongsInterStore(byte[] destKey, byte[]... keys) Deprecated.in favor ofRedisCommandsProvider.setCommands()}.default BooleansIsMember(byte[] key, byte[] value) Deprecated.in favor ofRedisCommandsProvider.setCommands()}.default Set<byte[]>sMembers(byte[] key) Deprecated.in favor ofRedisCommandsProvider.setCommands()}.sMIsMember(byte[] key, byte[]... value) Deprecated.in favor ofRedisCommandsProvider.setCommands()}.default BooleansMove(byte[] srcKey, byte[] destKey, byte[] value) Deprecated.in favor ofRedisCommandsProvider.setCommands()}.default List<byte[]>sort(byte[] key, SortParameters params) Deprecated.in favor ofRedisCommandsProvider.keyCommands().default Longsort(byte[] key, SortParameters params, byte[] sortKey) Deprecated.in favor ofRedisCommandsProvider.keyCommands().default byte[]sPop(byte[] key) Deprecated.in favor ofRedisCommandsProvider.setCommands()}.default List<byte[]>sPop(byte[] key, long count) Deprecated.in favor ofRedisCommandsProvider.setCommands()}.default byte[]sRandMember(byte[] key) Deprecated.in favor ofRedisCommandsProvider.setCommands()}.default List<byte[]>sRandMember(byte[] key, long count) Deprecated.in favor ofRedisCommandsProvider.setCommands()}.default LongsRem(byte[] key, byte[]... values) Deprecated.in favor ofRedisCommandsProvider.setCommands()}.default Cursor<byte[]>sScan(byte[] key, ScanOptions options) Deprecated.in favor ofRedisCommandsProvider.setCommands()}.default LongstrLen(byte[] key) Deprecated.in favor ofRedisCommandsProvider.stringCommands()}.default Set<byte[]>sUnion(byte[]... keys) Deprecated.in favor ofRedisCommandsProvider.setCommands()}.default LongsUnionStore(byte[] destKey, byte[]... keys) Deprecated.in favor ofRedisCommandsProvider.setCommands()}.default Longtime()Deprecated.in favor ofRedisCommandsProvider.serverCommands().default LongDeprecated.in favor ofRedisCommandsProvider.serverCommands().default Longtouch(byte[]... keys) Deprecated.in favor ofRedisCommandsProvider.keyCommands().default Longttl(byte[] key) Deprecated.in favor ofRedisCommandsProvider.keyCommands().default LongDeprecated.in favor ofRedisCommandsProvider.keyCommands().default DataTypetype(byte[] pattern) Deprecated.in favor ofRedisCommandsProvider.keyCommands().default Longunlink(byte[]... keys) Deprecated.in favor ofRedisCommandsProvider.keyCommands().default LongDeprecated.in favor ofRedisCommandsProvider.streamCommands()}.default RecordIdxAdd(MapRecord<byte[], byte[], byte[]> record, RedisStreamCommands.XAddOptions options) Deprecated.in favor ofRedisCommandsProvider.streamCommands()}.default List<ByteRecord>xClaim(byte[] key, String group, String newOwner, RedisStreamCommands.XClaimOptions options) Deprecated.in favor ofRedisCommandsProvider.streamCommands()}.xClaimJustId(byte[] key, String group, String newOwner, RedisStreamCommands.XClaimOptions options) Deprecated.in favor ofRedisCommandsProvider.streamCommands()}.default LongDeprecated.in favor ofRedisCommandsProvider.streamCommands()}.default StringxGroupCreate(byte[] key, String groupName, ReadOffset readOffset) Deprecated.in favor ofRedisCommandsProvider.streamCommands()}.default StringxGroupCreate(byte[] key, String groupName, ReadOffset readOffset, boolean mkStream) Deprecated.in favor ofRedisCommandsProvider.streamCommands()}.default BooleanxGroupDelConsumer(byte[] key, Consumer consumer) Deprecated.in favor ofRedisCommandsProvider.streamCommands()}.default BooleanxGroupDestroy(byte[] key, String groupName) Deprecated.in favor ofRedisCommandsProvider.streamCommands()}.default StreamInfo.XInfoStreamxInfo(byte[] key) Deprecated.in favor ofRedisCommandsProvider.streamCommands()}.default StreamInfo.XInfoConsumersxInfoConsumers(byte[] key, String groupName) Deprecated.in favor ofRedisCommandsProvider.streamCommands()}.default StreamInfo.XInfoGroupsxInfoGroups(byte[] key) Deprecated.in favor ofRedisCommandsProvider.streamCommands()}.default LongxLen(byte[] key) Deprecated.in favor ofRedisCommandsProvider.streamCommands()}.default PendingMessagesSummaryDeprecated.in favor ofRedisCommandsProvider.streamCommands()}.default PendingMessagesxPending(byte[] key, String groupName, RedisStreamCommands.XPendingOptions options) Deprecated.in favor ofRedisCommandsProvider.streamCommands()}.default List<ByteRecord>Deprecated.in favor ofRedisCommandsProvider.streamCommands()}.default List<ByteRecord>Deprecated.in favor ofRedisCommandsProvider.streamCommands()}.default List<ByteRecord>xRead(StreamOffset<byte[]>... streams) Deprecated.in favor ofRedisCommandsProvider.streamCommands()}.default List<ByteRecord>xRead(StreamReadOptions readOptions, StreamOffset<byte[]>... streams) Deprecated.in favor ofRedisCommandsProvider.streamCommands()}.default List<ByteRecord>xReadGroup(Consumer consumer, StreamOffset<byte[]>... streams) Deprecated.in favor ofRedisCommandsProvider.streamCommands()}.default List<ByteRecord>xReadGroup(Consumer consumer, StreamReadOptions readOptions, StreamOffset<byte[]>... streams) Deprecated.in favor ofRedisCommandsProvider.streamCommands()}.default List<ByteRecord>Deprecated.in favor ofRedisCommandsProvider.streamCommands()}.default List<ByteRecord>Deprecated.in favor ofRedisCommandsProvider.streamCommands()}.default LongxTrim(byte[] key, long count) Deprecated.in favor ofRedisCommandsProvider.streamCommands()}.default LongxTrim(byte[] key, long count, boolean approximateTrimming) Deprecated.default BooleanzAdd(byte[] key, double score, byte[] value, RedisZSetCommands.ZAddArgs args) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.default LongzAdd(byte[] key, Set<Tuple> tuples, RedisZSetCommands.ZAddArgs args) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.default LongzCard(byte[] key) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.default LongzCount(byte[] key, double min, double max) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.default LongDeprecated.in favor ofRedisCommandsProvider.zSetCommands()}.default Set<byte[]>zDiff(byte[]... sets) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.default LongzDiffStore(byte[] destKey, byte[]... sets) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.zDiffWithScores(byte[]... sets) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.default DoublezIncrBy(byte[] key, double increment, byte[] value) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.default Set<byte[]>zInter(byte[]... sets) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.default LongzInterStore(byte[] destKey, byte[]... sets) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.default LongzInterStore(byte[] destKey, Aggregate aggregate, int[] weights, byte[]... sets) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.default LongzInterStore(byte[] destKey, Aggregate aggregate, Weights weights, byte[]... sets) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.zInterWithScores(byte[]... sets) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.zInterWithScores(Aggregate aggregate, int[] weights, byte[]... sets) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.zInterWithScores(Aggregate aggregate, Weights weights, byte[]... sets) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.default LongDeprecated.in favor ofRedisCommandsProvider.zSetCommands()}.zMScore(byte[] key, byte[]... values) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.default TuplezPopMax(byte[] key) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.zPopMax(byte[] key, long count) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.default TuplezPopMin(byte[] key) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.zPopMin(byte[] key, long count) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.default byte[]zRandMember(byte[] key) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.default List<byte[]>zRandMember(byte[] key, long count) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.default TuplezRandMemberWithScore(byte[] key) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.zRandMemberWithScore(byte[] key, long count) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.default Set<byte[]>zRange(byte[] key, long start, long end) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.default Set<byte[]>zRangeByLex(byte[] key, Range<byte[]> range, Limit limit) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.default Set<byte[]>zRangeByScore(byte[] key, String min, String max) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.default Set<byte[]>zRangeByScore(byte[] key, String min, String max, long offset, long count) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.default Set<byte[]>zRangeByScore(byte[] key, Range<? extends Number> range, Limit limit) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.zRangeByScoreWithScores(byte[] key, Range<? extends Number> range, Limit limit) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.default LongzRangeStoreByLex(byte[] dstKey, byte[] srcKey, Range<byte[]> range, Limit limit) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.default LongzRangeStoreByScore(byte[] dstKey, byte[] srcKey, Range<? extends Number> range, Limit limit) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.default LongzRangeStoreRevByLex(byte[] dstKey, byte[] srcKey, Range<byte[]> range, Limit limit) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.default LongzRangeStoreRevByScore(byte[] dstKey, byte[] srcKey, Range<? extends Number> range, Limit limit) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.zRangeWithScores(byte[] key, long start, long end) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.default LongzRank(byte[] key, byte[] value) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.default LongzRem(byte[] key, byte[]... values) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.default LongzRemRange(byte[] key, long start, long end) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.default LongzRemRangeByLex(byte[] key, Range<byte[]> range) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.default LongzRemRangeByScore(byte[] key, double min, double max) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.default LongzRemRangeByScore(byte[] key, Range<? extends Number> range) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.default Set<byte[]>zRevRange(byte[] key, long start, long end) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.default Set<byte[]>zRevRangeByLex(byte[] key, Range<byte[]> range, Limit limit) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.default Set<byte[]>zRevRangeByScore(byte[] key, Range<? extends Number> range, Limit limit) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.zRevRangeByScoreWithScores(byte[] key, Range<? extends Number> range, Limit limit) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.zRevRangeWithScores(byte[] key, long start, long end) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.default LongzRevRank(byte[] key, byte[] value) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.zScan(byte[] key, ScanOptions options) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.default DoublezScore(byte[] key, byte[] value) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.default Set<byte[]>zUnion(byte[]... sets) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.default LongzUnionStore(byte[] destKey, byte[]... sets) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.default LongzUnionStore(byte[] destKey, Aggregate aggregate, int[] weights, byte[]... sets) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.default LongzUnionStore(byte[] destKey, Aggregate aggregate, Weights weights, byte[]... sets) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.zUnionWithScores(byte[]... sets) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.zUnionWithScores(Aggregate aggregate, int[] weights, byte[]... sets) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.zUnionWithScores(Aggregate aggregate, Weights weights, byte[]... sets) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.Methods inherited from interface org.springframework.data.redis.connection.RedisCommands
executeMethods inherited from interface org.springframework.data.redis.connection.RedisCommandsProvider
commands, geoCommands, hashCommands, hyperLogLogCommands, keyCommands, listCommands, scriptingCommands, serverCommands, setCommands, streamCommands, stringCommands, zSetCommandsMethods inherited from interface org.springframework.data.redis.connection.RedisConnectionCommands
echo, ping, selectMethods inherited from interface org.springframework.data.redis.connection.RedisGeoCommands
geoAdd, geoRadiusByMemberMethods inherited from interface org.springframework.data.redis.connection.RedisKeyCommands
restore, scanMethods inherited from interface org.springframework.data.redis.connection.RedisListCommands
lPosMethods inherited from interface org.springframework.data.redis.connection.RedisPubSubCommands
getSubscription, isSubscribed, pSubscribe, publish, subscribeMethods inherited from interface org.springframework.data.redis.connection.RedisStreamCommands
xAck, xAdd, xAdd, xClaim, xDel, xGroupDelConsumer, xPending, xPending, xPending, xPending, xPendingMethods inherited from interface org.springframework.data.redis.connection.RedisStringCommands
bitPosMethods inherited from interface org.springframework.data.redis.connection.RedisTxCommands
discard, exec, multi, unwatch, watchMethods inherited from interface org.springframework.data.redis.connection.RedisZSetCommands
zAdd, zAdd, zRangeByLex, zRangeByLex, zRangeByScore, zRangeByScore, zRangeByScore, zRangeByScoreWithScores, zRangeByScoreWithScores, zRangeByScoreWithScores, zRangeStoreByLex, zRangeStoreByScore, zRangeStoreRevByLex, zRangeStoreRevByScore, zRevRangeByLex, zRevRangeByLex, zRevRangeByScore, zRevRangeByScore, zRevRangeByScore, zRevRangeByScoreWithScores, zRevRangeByScoreWithScores, zRevRangeByScoreWithScores
-
Method Details
-
copy
Deprecated.in favor ofRedisCommandsProvider.keyCommands().Description copied from interface:RedisKeyCommandsCopy givensourceKeytotargetKey.- Specified by:
copyin interfaceRedisKeyCommands- Parameters:
sourceKey- must not be null.targetKey- must not be null.replace- whether to replace existing keys.- Returns:
- null when used in pipeline / transaction.
- See Also:
-
exists
Deprecated.in favor ofRedisCommandsProvider.keyCommands().Description copied from interface:RedisKeyCommandsDetermine if givenkeyexists.- Specified by:
existsin interfaceRedisKeyCommands- Parameters:
key- must not be null.- Returns:
- true if key exists. null when used in pipeline / transaction.
- See Also:
-
exists
Deprecated.in favor ofRedisCommandsProvider.keyCommands().Description copied from interface:RedisKeyCommandsCount how many of the givenkeysexist. Providing the very samekeymore than once also counts multiple times.- Specified by:
existsin interfaceRedisKeyCommands- Parameters:
keys- must not be null.- Returns:
- the number of keys existing among the ones specified as arguments. null when used in pipeline / transaction.
-
del
Deprecated.in favor ofRedisCommandsProvider.keyCommands().Description copied from interface:RedisKeyCommandsDelete givenkeys.- Specified by:
delin interfaceRedisKeyCommands- Parameters:
keys- must not be null.- Returns:
- The number of keys that were removed. null when used in pipeline / transaction.
- See Also:
-
unlink
Deprecated.in favor ofRedisCommandsProvider.keyCommands().Description copied from interface:RedisKeyCommandsUnlink thekeysfrom the keyspace. Unlike withRedisKeyCommands.del(byte[]...)the actual memory reclaiming here happens asynchronously.- Specified by:
unlinkin interfaceRedisKeyCommands- Parameters:
keys- must not be null.- Returns:
- null when used in pipeline / transaction.
- See Also:
-
type
Deprecated.in favor ofRedisCommandsProvider.keyCommands().Description copied from interface:RedisKeyCommandsDetermine the type stored atkey.- Specified by:
typein interfaceRedisKeyCommands- Parameters:
pattern- must not be null.- Returns:
- null when used in pipeline / transaction.
- See Also:
-
touch
Deprecated.in favor ofRedisCommandsProvider.keyCommands().Description copied from interface:RedisKeyCommandsAlter the last access time of givenkey(s).- Specified by:
touchin interfaceRedisKeyCommands- Parameters:
keys- must not be null.- Returns:
- null when used in pipeline / transaction.
- See Also:
-
keys
Deprecated.in favor ofRedisCommandsProvider.keyCommands().Description copied from interface:RedisKeyCommandsFind all keys matching the givenpattern.- Specified by:
keysin interfaceRedisKeyCommands- Parameters:
pattern- must not be null.- Returns:
- empty
Setif no match found. null when used in pipeline / transaction. - See Also:
-
scan
Deprecated.in favor ofRedisCommandsProvider.keyCommands().Description copied from interface:RedisKeyCommandsUse aCursorto iterate over keys.- Specified by:
scanin interfaceRedisKeyCommands- Parameters:
options- must not be null.- Returns:
- never null.
- See Also:
-
randomKey
Deprecated.in favor ofRedisCommandsProvider.keyCommands().Description copied from interface:RedisKeyCommandsReturn a random key from the keyspace.- Specified by:
randomKeyin interfaceRedisKeyCommands- Returns:
- null if no keys available or when used in pipeline or transaction.
- See Also:
-
rename
Deprecated.in favor ofRedisCommandsProvider.keyCommands().Description copied from interface:RedisKeyCommandsRename keyoldKeytonewKey.- Specified by:
renamein interfaceRedisKeyCommands- Parameters:
oldKey- must not be null.newKey- must not be null.- See Also:
-
renameNX
Deprecated.in favor ofRedisCommandsProvider.keyCommands().Description copied from interface:RedisKeyCommandsRename keyoldKeytonewKeyonly ifnewKeydoes not exist.- Specified by:
renameNXin interfaceRedisKeyCommands- Parameters:
sourceKey- must not be null.targetKey- must not be null.- Returns:
- null when used in pipeline / transaction.
- See Also:
-
expire
Deprecated.in favor ofRedisCommandsProvider.keyCommands().Description copied from interface:RedisKeyCommandsSet time to live for givenkeyin seconds.- Specified by:
expirein interfaceRedisKeyCommands- Parameters:
key- must not be null.- Returns:
- null when used in pipeline / transaction.
- See Also:
-
persist
Deprecated.in favor ofRedisCommandsProvider.keyCommands().Description copied from interface:RedisKeyCommandsRemove the expiration from givenkey.- Specified by:
persistin interfaceRedisKeyCommands- Parameters:
key- must not be null.- Returns:
- null when used in pipeline / transaction.
- See Also:
-
move
Deprecated.in favor ofRedisCommandsProvider.keyCommands().Description copied from interface:RedisKeyCommandsMove givenkeyto database withindex.- Specified by:
movein interfaceRedisKeyCommands- Parameters:
key- must not be null.- Returns:
- null when used in pipeline / transaction.
- See Also:
-
restore
@Deprecated default void restore(byte[] key, long ttlInMillis, byte[] serializedValue, boolean replace) Deprecated.in favor ofRedisCommandsProvider.keyCommands().Description copied from interface:RedisKeyCommands- Specified by:
restorein interfaceRedisKeyCommands- Parameters:
key- must not be null.serializedValue- must not be null.replace- use true to replace a potentially existing value instead of erroring.- See Also:
-
pTtl
Deprecated.in favor ofRedisCommandsProvider.keyCommands().Description copied from interface:RedisKeyCommandsGet the precise time to live forkeyin milliseconds.- Specified by:
pTtlin interfaceRedisKeyCommands- Parameters:
key- must not be null.- Returns:
- null when used in pipeline / transaction.
- See Also:
-
pTtl
Deprecated.in favor ofRedisCommandsProvider.keyCommands().Description copied from interface:RedisKeyCommandsGet the precise time to live forkeyin and convert it to the givenTimeUnit.- Specified by:
pTtlin interfaceRedisKeyCommands- Parameters:
key- must not be null.timeUnit- must not be null.- Returns:
- null when used in pipeline / transaction.
- See Also:
-
pExpire
Deprecated.in favor ofRedisCommandsProvider.keyCommands().Description copied from interface:RedisKeyCommandsSet time to live for givenkeyin milliseconds.- Specified by:
pExpirein interfaceRedisKeyCommands- Parameters:
key- must not be null.- Returns:
- null when used in pipeline / transaction.
- See Also:
-
pExpireAt
Deprecated.in favor ofRedisCommandsProvider.keyCommands().Description copied from interface:RedisKeyCommandsSet the expiration for givenkeyas a UNIX timestamp in milliseconds.- Specified by:
pExpireAtin interfaceRedisKeyCommands- Parameters:
key- must not be null.- Returns:
- null when used in pipeline / transaction.
- See Also:
-
expireAt
Deprecated.in favor ofRedisCommandsProvider.keyCommands().Description copied from interface:RedisKeyCommandsSet the expiration for givenkeyas a UNIX timestamp.- Specified by:
expireAtin interfaceRedisKeyCommands- Parameters:
key- must not be null.- Returns:
- null when used in pipeline / transaction.
- See Also:
-
ttl
Deprecated.in favor ofRedisCommandsProvider.keyCommands().Description copied from interface:RedisKeyCommandsGet the time to live forkeyin seconds.- Specified by:
ttlin interfaceRedisKeyCommands- Parameters:
key- must not be null.- Returns:
- null when used in pipeline / transaction.
- See Also:
-
ttl
Deprecated.in favor ofRedisCommandsProvider.keyCommands().Description copied from interface:RedisKeyCommandsGet the time to live forkeyin and convert it to the givenTimeUnit.- Specified by:
ttlin interfaceRedisKeyCommands- Parameters:
key- must not be null.timeUnit- must not be null.- Returns:
- null when used in pipeline / transaction.
- See Also:
-
dump
Deprecated.in favor ofRedisCommandsProvider.keyCommands().Description copied from interface:RedisKeyCommandsRetrieve serialized version of the value stored atkey.- Specified by:
dumpin interfaceRedisKeyCommands- Parameters:
key- must not be null.- Returns:
- null if key does not exist or when used in pipeline / transaction.
- See Also:
-
sort
Deprecated.in favor ofRedisCommandsProvider.keyCommands().Description copied from interface:RedisKeyCommandsSort the elements forkey.- Specified by:
sortin interfaceRedisKeyCommands- Parameters:
key- must not be null.params- must not be null.- Returns:
- null when used in pipeline / transaction.
- See Also:
-
sort
Deprecated.in favor ofRedisCommandsProvider.keyCommands().Description copied from interface:RedisKeyCommandsSort the elements forkeyand store result instoreKey.- Specified by:
sortin interfaceRedisKeyCommands- Parameters:
key- must not be null.params- must not be null.sortKey- must not be null.- Returns:
- null when used in pipeline / transaction.
- See Also:
-
encodingOf
Deprecated.in favor ofRedisCommandsProvider.keyCommands().Description copied from interface:RedisKeyCommandsGet the type of internal representation used for storing the value at the givenkey.- Specified by:
encodingOfin interfaceRedisKeyCommands- Parameters:
key- must not be null.- Returns:
ValueEncoding.RedisValueEncoding.VACANTif key does not exist or null when used in pipeline / transaction.- See Also:
-
idletime
Deprecated.in favor ofRedisCommandsProvider.keyCommands().Description copied from interface:RedisKeyCommandsGet theDurationsince the object stored at the givenkeyis idle.- Specified by:
idletimein interfaceRedisKeyCommands- Parameters:
key- must not be null.- Returns:
- null if key does not exist or when used in pipeline / transaction.
- See Also:
-
refcount
Deprecated.in favor ofRedisCommandsProvider.keyCommands().Description copied from interface:RedisKeyCommandsGet the number of references of the value associated with the specifiedkey.- Specified by:
refcountin interfaceRedisKeyCommands- Parameters:
key- must not be null.- Returns:
- null if key does not exist or when used in pipeline / transaction.
- See Also:
-
get
Deprecated.in favor ofRedisCommandsProvider.stringCommands()}.Description copied from interface:RedisStringCommandsGet the value ofkey.- Specified by:
getin interfaceRedisStringCommands- Parameters:
key- must not be null.- Returns:
- null when key does not exist or used in pipeline / transaction.
- See Also:
-
getEx
Deprecated.in favor ofRedisCommandsProvider.stringCommands()}.Description copied from interface:RedisStringCommandsReturn the value atkeyand expire the key by applyingExpiration.Use
Expiration.seconds(long)forEX.
UseExpiration.milliseconds(long)forPX.
UseExpiration.unixTimestamp(long, TimeUnit)forEXAT | PXAT.- Specified by:
getExin interfaceRedisStringCommands- Parameters:
key- must not be null.expiration- must not be null.- Returns:
- null when key does not exist or used in pipeline / transaction.
- See Also:
-
getDel
Deprecated.in favor ofRedisCommandsProvider.stringCommands()}.Description copied from interface:RedisStringCommandsReturn the value atkeyand delete the key.- Specified by:
getDelin interfaceRedisStringCommands- Parameters:
key- must not be null.- Returns:
- null when key does not exist or used in pipeline / transaction.
- See Also:
-
getSet
Deprecated.in favor ofRedisCommandsProvider.stringCommands()}.Description copied from interface:RedisStringCommandsSetvalueofkeyand return its old value.- Specified by:
getSetin interfaceRedisStringCommands- Parameters:
key- must not be null.value- must not be null.- Returns:
- null if key did not exist before or when used in pipeline / transaction.
- See Also:
-
mGet
Deprecated.in favor ofRedisCommandsProvider.stringCommands()}.Description copied from interface:RedisStringCommandsGet multiplekeys. Values are in the order of the requested keys Absent field values are represented usingnullin the resultingList.- Specified by:
mGetin interfaceRedisStringCommands- Parameters:
keys- must not be null.- Returns:
nullwhen used in pipeline / transaction.- See Also:
-
set
Deprecated.in favor ofRedisCommandsProvider.stringCommands()}.Description copied from interface:RedisStringCommandsSetvalueforkey.- Specified by:
setin interfaceRedisStringCommands- Parameters:
key- must not be null.value- must not be null.- Returns:
- null when used in pipeline / transaction.
- See Also:
-
set
@Deprecated default Boolean set(byte[] key, byte[] value, Expiration expiration, RedisStringCommands.SetOption option) Deprecated.in favor ofRedisCommandsProvider.stringCommands()}.Description copied from interface:RedisStringCommandsSetvalueforkeyapplying timeouts fromexpirationif set and inserting/updating values depending onoption.- Specified by:
setin interfaceRedisStringCommands- Parameters:
key- must not be null.value- must not be null.expiration- must not be null. UseExpiration.persistent()to not set any ttl orExpiration.keepTtl()to keep the existing expiration.option- must not be null. UseRedisStringCommands.SetOption.upsert()to add non existing.- Returns:
- null when used in pipeline / transaction.
- See Also:
-
setNX
Deprecated.in favor ofRedisCommandsProvider.stringCommands()}.Description copied from interface:RedisStringCommandsSetvalueforkey, only ifkeydoes not exist.- Specified by:
setNXin interfaceRedisStringCommands- Parameters:
key- must not be null.value- must not be null.- Returns:
- null when used in pipeline / transaction.
- See Also:
-
setEx
Deprecated.in favor ofRedisCommandsProvider.stringCommands()}.Description copied from interface:RedisStringCommandsSet thevalueand expiration insecondsforkey.- Specified by:
setExin interfaceRedisStringCommands- Parameters:
key- must not be null.value- must not be null.- Returns:
- null when used in pipeline / transaction.
- See Also:
-
pSetEx
Deprecated.in favor ofRedisCommandsProvider.stringCommands()}.Description copied from interface:RedisStringCommandsSet thevalueand expiration inmillisecondsforkey.- Specified by:
pSetExin interfaceRedisStringCommands- Parameters:
key- must not be null.value- must not be null.- Returns:
- null when used in pipeline / transaction.
- See Also:
-
mSet
Deprecated.in favor ofRedisCommandsProvider.stringCommands()}.Description copied from interface:RedisStringCommandsSet multiple keys to multiple values using key-value pairs provided intuple.- Specified by:
mSetin interfaceRedisStringCommands- Parameters:
tuple- must not be null.- Returns:
- null when used in pipeline / transaction.
- See Also:
-
mSetNX
Deprecated.in favor ofRedisCommandsProvider.stringCommands()}.Description copied from interface:RedisStringCommandsSet multiple keys to multiple values using key-value pairs provided intupleonly if the provided key does not exist.- Specified by:
mSetNXin interfaceRedisStringCommands- Parameters:
tuple- must not be null.- Returns:
- null when used in pipeline / transaction.
- See Also:
-
incr
Deprecated.in favor ofRedisCommandsProvider.stringCommands()}.Description copied from interface:RedisStringCommandsIncrement an integer value stored as string value ofkeyby 1.- Specified by:
incrin interfaceRedisStringCommands- Parameters:
key- must not be null.- Returns:
- null when used in pipeline / transaction.
- See Also:
-
incrBy
Deprecated.in favor ofRedisCommandsProvider.stringCommands()}.Description copied from interface:RedisStringCommandsIncrement a floating point number value ofkeybydelta.- Specified by:
incrByin interfaceRedisStringCommands- Parameters:
key- must not be null.- Returns:
- null when used in pipeline / transaction.
- See Also:
-
incrBy
Deprecated.in favor ofRedisCommandsProvider.stringCommands()}.Description copied from interface:RedisStringCommandsIncrement an integer value stored ofkeybydelta.- Specified by:
incrByin interfaceRedisStringCommands- Parameters:
key- must not be null.- Returns:
- null when used in pipeline / transaction.
- See Also:
-
decr
Deprecated.in favor ofRedisCommandsProvider.stringCommands()}.Description copied from interface:RedisStringCommandsDecrement an integer value stored as string value ofkeyby 1.- Specified by:
decrin interfaceRedisStringCommands- Parameters:
key- must not be null.- Returns:
- null when used in pipeline / transaction.
- See Also:
-
decrBy
Deprecated.in favor ofRedisCommandsProvider.stringCommands()}.Description copied from interface:RedisStringCommandsDecrement an integer value stored as string value ofkeybyvalue.- Specified by:
decrByin interfaceRedisStringCommands- Parameters:
key- must not be null.- Returns:
- null when used in pipeline / transaction.
- See Also:
-
append
Deprecated.in favor ofRedisCommandsProvider.stringCommands()}.Description copied from interface:RedisStringCommandsAppend avaluetokey.- Specified by:
appendin interfaceRedisStringCommands- Parameters:
key- must not be null.value- must not be null.- Returns:
- null when used in pipeline / transaction.
- See Also:
-
getRange
Deprecated.in favor ofRedisCommandsProvider.stringCommands()}.Description copied from interface:RedisStringCommandsGet a substring of value ofkeybetweenstartandend.- Specified by:
getRangein interfaceRedisStringCommands- Parameters:
key- must not be null.- Returns:
- null when used in pipeline / transaction.
- See Also:
-
setRange
Deprecated.in favor ofRedisCommandsProvider.stringCommands()}.Description copied from interface:RedisStringCommandsOverwrite parts ofkeystarting at the specifiedoffsetwith givenvalue.- Specified by:
setRangein interfaceRedisStringCommands- Parameters:
key- must not be null.- See Also:
-
getBit
Deprecated.in favor ofRedisCommandsProvider.stringCommands()}.Description copied from interface:RedisStringCommandsGet the bit value atoffsetof value atkey.- Specified by:
getBitin interfaceRedisStringCommands- Parameters:
key- must not be null.- Returns:
- null when used in pipeline / transaction.
- See Also:
-
setBit
Deprecated.in favor ofRedisCommandsProvider.stringCommands()}.Description copied from interface:RedisStringCommandsSets the bit atoffsetin value stored atkey.- Specified by:
setBitin interfaceRedisStringCommands- Parameters:
key- must not be null.- Returns:
- the original bit value stored at
offsetor null when used in pipeline / transaction. - See Also:
-
bitCount
Deprecated.in favor ofRedisCommandsProvider.stringCommands()}.Description copied from interface:RedisStringCommandsCount the number of set bits (population counting) in value stored atkey.- Specified by:
bitCountin interfaceRedisStringCommands- Parameters:
key- must not be null.- Returns:
- null when used in pipeline / transaction.
- See Also:
-
bitCount
Deprecated.in favor ofRedisCommandsProvider.stringCommands()}.Description copied from interface:RedisStringCommandsCount the number of set bits (population counting) of value stored atkeybetweenstartandend.- Specified by:
bitCountin interfaceRedisStringCommands- Parameters:
key- must not be null.- Returns:
- null when used in pipeline / transaction.
- See Also:
-
bitField
Deprecated.in favor ofRedisCommandsProvider.stringCommands()}.Description copied from interface:RedisStringCommandsGet / Manipulate specific integer fields of varying bit widths and arbitrary non (necessary) aligned offset stored at a givenkey.- Specified by:
bitFieldin interfaceRedisStringCommands- Parameters:
key- must not be null.subCommands- must not be null.- Returns:
- null when used in pipeline / transaction.
-
bitOp
@Deprecated default Long bitOp(RedisStringCommands.BitOperation op, byte[] destination, byte[]... keys) Deprecated.in favor ofRedisCommandsProvider.stringCommands()}.Description copied from interface:RedisStringCommandsPerform bitwise operations between strings.- Specified by:
bitOpin interfaceRedisStringCommands- Parameters:
op- must not be null.destination- must not be null.keys- must not be null.- Returns:
- null when used in pipeline / transaction.
- See Also:
-
bitPos
Deprecated.in favor ofRedisCommandsProvider.stringCommands()}.Description copied from interface:RedisStringCommandsReturn the position of the first bit set to givenbitin a string.Rangestart 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.- Specified by:
bitPosin interfaceRedisStringCommands- Parameters:
key- the key holding the actual String.bit- the bit value to look for.range- must not be null. UseRange.unbounded()to not limit search.- Returns:
- null when used in pipeline / transaction. The position of the first bit set to 1 or 0 according to the request.
- See Also:
-
strLen
Deprecated.in favor ofRedisCommandsProvider.stringCommands()}.Description copied from interface:RedisStringCommandsGet the length of the value stored atkey.- Specified by:
strLenin interfaceRedisStringCommands- Parameters:
key- must not be null.- Returns:
- null when used in pipeline / transaction.
- See Also:
-
xAck
Deprecated.in favor ofRedisCommandsProvider.streamCommands()}.Description copied from interface:RedisStreamCommandsAcknowledge one or more records, identified via their id, as processed.- Specified by:
xAckin interfaceRedisStreamCommands- Parameters:
key- the key the stream is stored at.group- name of the consumer group.messageIds- the id's of the records to acknowledge.- Returns:
- length of acknowledged messages. null when used in pipeline / transaction.
- See Also:
-
xAdd
@Deprecated default RecordId xAdd(MapRecord<byte[], byte[], byte[]> record, RedisStreamCommands.XAddOptions options) Deprecated.in favor ofRedisCommandsProvider.streamCommands()}.Description copied from interface:RedisStreamCommandsAppend the givenrecordto the stream stored atRecord#getStream. If you prefer manual id assignment over server generated ones make sure to provide an id viaRecord#withId.- Specified by:
xAddin interfaceRedisStreamCommands- Parameters:
record- therecordto append.options- additional options (eg. MAXLEN). Must not be null, useRedisStreamCommands.XAddOptions.none()instead.- Returns:
- the
idafter save. null when used in pipeline / transaction.
-
xClaimJustId
@Deprecated default List<RecordId> xClaimJustId(byte[] key, String group, String newOwner, RedisStreamCommands.XClaimOptions options) Deprecated.in favor ofRedisCommandsProvider.streamCommands()}.Description copied from interface:RedisStreamCommandsChange the ownership of a pending message to the given new consumer without increasing the delivered count.- Specified by:
xClaimJustIdin interfaceRedisStreamCommands- Parameters:
key- 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.- Returns:
- list of
idsthat changed user. - See Also:
-
xClaim
@Deprecated default List<ByteRecord> xClaim(byte[] key, String group, String newOwner, RedisStreamCommands.XClaimOptions options) Deprecated.in favor ofRedisCommandsProvider.streamCommands()}.Description copied from interface:RedisStreamCommandsChange the ownership of a pending message to the given new consumer.- Specified by:
xClaimin interfaceRedisStreamCommands- Parameters:
key- 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.- Returns:
- list of
ByteRecordthat changed user. - See Also:
-
xDel
Deprecated.in favor ofRedisCommandsProvider.streamCommands()}.Description copied from interface:RedisStreamCommandsRemoves the records with the given id's from the stream. Returns the number of items deleted, that may be different from the number of id's passed in case certain id's do not exist.- Specified by:
xDelin interfaceRedisStreamCommands- Parameters:
key- the key the stream is stored at.recordIds- the id's of the records to remove.- Returns:
- number of removed entries. null when used in pipeline / transaction.
- See Also:
-
xGroupCreate
Deprecated.in favor ofRedisCommandsProvider.streamCommands()}.Description copied from interface:RedisStreamCommandsCreate a consumer group.- Specified by:
xGroupCreatein interfaceRedisStreamCommands- Parameters:
key- the key the stream is stored at.groupName- name of the consumer group to create.readOffset- the offset to start at.- Returns:
- ok if successful. null when used in pipeline / transaction.
-
xGroupCreate
@Deprecated default String xGroupCreate(byte[] key, String groupName, ReadOffset readOffset, boolean mkStream) Deprecated.in favor ofRedisCommandsProvider.streamCommands()}.Description copied from interface:RedisStreamCommandsCreate a consumer group.- Specified by:
xGroupCreatein interfaceRedisStreamCommands- Parameters:
key- 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)- Returns:
- ok if successful. null when used in pipeline / transaction.
-
xGroupDelConsumer
Deprecated.in favor ofRedisCommandsProvider.streamCommands()}.Description copied from interface:RedisStreamCommandsDelete a consumer from a consumer group.- Specified by:
xGroupDelConsumerin interfaceRedisStreamCommands- Parameters:
key- the key the stream is stored at.consumer- consumer identified by group name and consumer name.- Returns:
- true if successful. null when used in pipeline / transaction.
-
xGroupDestroy
Deprecated.in favor ofRedisCommandsProvider.streamCommands()}.Description copied from interface:RedisStreamCommandsDestroy a consumer group.- Specified by:
xGroupDestroyin interfaceRedisStreamCommands- Parameters:
key- the key the stream is stored at.groupName- name of the consumer group.- Returns:
- true if successful. null when used in pipeline / transaction.
-
xInfo
Deprecated.in favor ofRedisCommandsProvider.streamCommands()}.Description copied from interface:RedisStreamCommandsObtain general information about the stream stored at the specified key.- Specified by:
xInfoin interfaceRedisStreamCommands- Parameters:
key- the key the stream is stored at.- Returns:
- null when used in pipeline / transaction.
-
xInfoGroups
Deprecated.in favor ofRedisCommandsProvider.streamCommands()}.Description copied from interface:RedisStreamCommandsObtain information about consumer groups associated with the stream stored at the specified key.- Specified by:
xInfoGroupsin interfaceRedisStreamCommands- Parameters:
key- the key the stream is stored at.- Returns:
- null when used in pipeline / transaction.
-
xInfoConsumers
Deprecated.in favor ofRedisCommandsProvider.streamCommands()}.Description copied from interface:RedisStreamCommandsObtain information about every consumer in a specific consumer group for the stream stored at the specified key.- Specified by:
xInfoConsumersin interfaceRedisStreamCommands- Parameters:
key- the key the stream is stored at.groupName- name of the consumer group.- Returns:
- null when used in pipeline / transaction.
-
xLen
Deprecated.in favor ofRedisCommandsProvider.streamCommands()}.Description copied from interface:RedisStreamCommandsGet the length of a stream.- Specified by:
xLenin interfaceRedisStreamCommands- Parameters:
key- the key the stream is stored at.- Returns:
- length of the stream. null when used in pipeline / transaction.
- See Also:
-
xPending
Deprecated.in favor ofRedisCommandsProvider.streamCommands()}.Description copied from interface:RedisStreamCommandsObtain thePendingMessagesSummaryfor a given consumer group.- Specified by:
xPendingin interfaceRedisStreamCommands- Parameters:
key- the key the stream is stored at. Must not be null.groupName- the name of the consumer group. Must not be null.- Returns:
- a summary of pending messages within the given consumer group or null when used in pipeline / transaction.
- See Also:
-
xPending
@Deprecated default PendingMessages xPending(byte[] key, String groupName, RedisStreamCommands.XPendingOptions options) Deprecated.in favor ofRedisCommandsProvider.streamCommands()}.Description copied from interface:RedisStreamCommands- Specified by:
xPendingin interfaceRedisStreamCommands- Parameters:
key- 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.- Returns:
- pending messages matching given criteria or null when used in pipeline / transaction.
- See Also:
-
xRange
Deprecated.in favor ofRedisCommandsProvider.streamCommands()}.Description copied from interface:RedisStreamCommandsRetrieve allrecordswithin a specificRangefrom the stream stored at key.
UseRange.unbounded()to read from the minimum and the maximum ID possible.- Specified by:
xRangein interfaceRedisStreamCommands- Parameters:
key- the key the stream is stored at.range- must not be null.- Returns:
- null when used in pipeline / transaction.
- See Also:
-
xRange
Deprecated.in favor ofRedisCommandsProvider.streamCommands()}.Description copied from interface:RedisStreamCommandsRetrieve alimited numberofrecordswithin a specificRangefrom the stream stored at key.
UseRange.unbounded()to read from the minimum and the maximum ID possible.
UseLimit.unlimited()to read all records.- Specified by:
xRangein interfaceRedisStreamCommands- Parameters:
key- the key the stream is stored at.range- must not be null.limit- must not be null.- Returns:
- null when used in pipeline / transaction.
- See Also:
-
xRead
Deprecated.in favor ofRedisCommandsProvider.streamCommands()}.Description copied from interface:RedisStreamCommandsRead records from one or moreStreamOffsets.- Specified by:
xReadin interfaceRedisStreamCommands- Parameters:
streams- the streams to read from.- Returns:
- null when used in pipeline / transaction.
- See Also:
-
xRead
@Deprecated default List<ByteRecord> xRead(StreamReadOptions readOptions, StreamOffset<byte[]>... streams) Deprecated.in favor ofRedisCommandsProvider.streamCommands()}.Description copied from interface:RedisStreamCommandsRead records from one or moreStreamOffsets.- Specified by:
xReadin interfaceRedisStreamCommands- Parameters:
readOptions- read arguments.streams- the streams to read from.- Returns:
- null when used in pipeline / transaction.
- See Also:
-
xReadGroup
Deprecated.in favor ofRedisCommandsProvider.streamCommands()}.Description copied from interface:RedisStreamCommandsRead records from one or moreStreamOffsets using a consumer group.- Specified by:
xReadGroupin interfaceRedisStreamCommands- Parameters:
consumer- consumer/group.streams- the streams to read from.- Returns:
- list with members of the resulting stream. null when used in pipeline / transaction.
- See Also:
-
xReadGroup
@Deprecated default List<ByteRecord> xReadGroup(Consumer consumer, StreamReadOptions readOptions, StreamOffset<byte[]>... streams) Deprecated.in favor ofRedisCommandsProvider.streamCommands()}.Description copied from interface:RedisStreamCommandsRead records from one or moreStreamOffsets using a consumer group.- Specified by:
xReadGroupin interfaceRedisStreamCommands- Parameters:
consumer- consumer/group.readOptions- read arguments.streams- the streams to read from.- Returns:
- list with members of the resulting stream. null when used in pipeline / transaction.
- See Also:
-
xRevRange
Deprecated.in favor ofRedisCommandsProvider.streamCommands()}.Description copied from interface:RedisStreamCommandsRead records from a stream within a specificRangein reverse order.- Specified by:
xRevRangein interfaceRedisStreamCommands- Parameters:
key- the stream key.range- must not be null.- Returns:
- list with members of the resulting stream. null when used in pipeline / transaction.
- See Also:
-
xRevRange
Deprecated.in favor ofRedisCommandsProvider.streamCommands()}.Description copied from interface:RedisStreamCommands- Specified by:
xRevRangein interfaceRedisStreamCommands- Parameters:
key- the stream key.range- must not be null.limit- must not be null.- Returns:
- list with members of the resulting stream. null when used in pipeline / transaction.
- See Also:
-
xTrim
Deprecated.in favor ofRedisCommandsProvider.streamCommands()}.Description copied from interface:RedisStreamCommandsTrims the stream tocountelements.- Specified by:
xTrimin interfaceRedisStreamCommands- Parameters:
key- the stream key.count- length of the stream.- Returns:
- number of removed entries. null when used in pipeline / transaction.
- See Also:
-
xTrim
Deprecated.Description copied from interface:RedisStreamCommandsTrims the stream tocountelements.- Specified by:
xTrimin interfaceRedisStreamCommands- Parameters:
key- the stream key.count- length of the stream.approximateTrimming- the trimming must be performed in a approximated way in order to maximize performances.- Returns:
- number of removed entries. null when used in pipeline / transaction.
- See Also:
-
rPush
Deprecated.in favor ofRedisCommandsProvider.listCommands()}.Description copied from interface:RedisListCommandsAppendvaluestokey.- Specified by:
rPushin interfaceRedisListCommands- Parameters:
key- must not be null.values- must not be empty.- Returns:
- null when used in pipeline / transaction.
- See Also:
-
lPos
@Deprecated default List<Long> lPos(byte[] key, byte[] element, @Nullable Integer rank, @Nullable Integer count) Deprecated.in favor ofRedisCommandsProvider.listCommands()}.Description copied from interface:RedisListCommandsReturns the index of matching elements inside the list stored at given key.
Requires Redis 6.0.6 or newer.- Specified by:
lPosin interfaceRedisListCommands- Parameters:
key- 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.- Returns:
- null when used in pipeline / transaction.
- See Also:
-
lPush
Deprecated.in favor ofRedisCommandsProvider.listCommands()}.Description copied from interface:RedisListCommandsPrependvaluestokey.- Specified by:
lPushin interfaceRedisListCommands- Parameters:
key- must not be null.values- must not be empty.- Returns:
- null when used in pipeline / transaction.
- See Also:
-
rPushX
Deprecated.in favor ofRedisCommandsProvider.listCommands()}.Description copied from interface:RedisListCommandsAppendvaluestokeyonly if the list exists.- Specified by:
rPushXin interfaceRedisListCommands- Parameters:
key- must not be null.value- must not be null.- Returns:
- null when used in pipeline / transaction.
- See Also:
-
lPushX
Deprecated.in favor ofRedisCommandsProvider.listCommands()}.Description copied from interface:RedisListCommandsPrependvaluestokeyonly if the list exists.- Specified by:
lPushXin interfaceRedisListCommands- Parameters:
key- must not be null.value- must not be null.- Returns:
- null when used in pipeline / transaction.
- See Also:
-
lLen
Deprecated.in favor ofRedisCommandsProvider.listCommands()}.Description copied from interface:RedisListCommandsGet the size of list stored atkey.- Specified by:
lLenin interfaceRedisListCommands- Parameters:
key- must not be null.- Returns:
- null when used in pipeline / transaction.
- See Also:
-
lRange
Deprecated.in favor ofRedisCommandsProvider.listCommands()}.Description copied from interface:RedisListCommandsGet elements betweenstartandendfrom list atkey.- Specified by:
lRangein interfaceRedisListCommands- Parameters:
key- must not be null.- Returns:
- empty
Listif key does not exists or range does not contain values. null when used in pipeline / transaction. - See Also:
-
lTrim
Deprecated.in favor ofRedisCommandsProvider.listCommands()}.Description copied from interface:RedisListCommandsTrim list atkeyto elements betweenstartandend.- Specified by:
lTrimin interfaceRedisListCommands- Parameters:
key- must not be null.- See Also:
-
lIndex
Deprecated.in favor ofRedisCommandsProvider.listCommands()}.Description copied from interface:RedisListCommandsGet element atindexform list atkey.- Specified by:
lIndexin interfaceRedisListCommands- Parameters:
key- must not be null.index- zero based index value. Use negative number to designate elements starting at the tail.- Returns:
- null when index is out of range or when used in pipeline / transaction.
- See Also:
-
lInsert
@Deprecated default Long lInsert(byte[] key, RedisListCommands.Position where, byte[] pivot, byte[] value) Deprecated.in favor ofRedisCommandsProvider.listCommands()}.Description copied from interface:RedisListCommandsInsertvalueRedisListCommands.Position.BEFOREorRedisListCommands.Position.AFTERexistingpivotforkey.- Specified by:
lInsertin interfaceRedisListCommands- Parameters:
key- must not be null.where- must not be null.pivot- must not be null.value- must not be null.- Returns:
- null when used in pipeline / transaction.
- See Also:
-
lMove
@Deprecated default byte[] lMove(byte[] sourceKey, byte[] destinationKey, RedisListCommands.Direction from, RedisListCommands.Direction to) Deprecated.in favor ofRedisCommandsProvider.listCommands()}.Description copied from interface:RedisListCommandsAtomically returns and removes the first/last element (head/tail depending on thefromargument) of the list stored atsourceKey, and pushes the element at the first/last element (head/tail depending on thetoargument) of the list stored atdestinationKey.- Specified by:
lMovein interfaceRedisListCommands- Parameters:
sourceKey- must not be null.destinationKey- must not be null.from- must not be null.to- must not be null.- Returns:
- null when used in pipeline / transaction.
- See Also:
-
bLMove
@Deprecated default byte[] bLMove(byte[] sourceKey, byte[] destinationKey, RedisListCommands.Direction from, RedisListCommands.Direction to, double timeout) Deprecated.in favor ofRedisCommandsProvider.listCommands()}.Description copied from interface:RedisListCommandsAtomically returns and removes the first/last element (head/tail depending on thefromargument) of the list stored atsourceKey, and pushes the element at the first/last element (head/tail depending on thetoargument) of the list stored atdestinationKey.Blocks connection until element available or
timeoutreached.- Specified by:
bLMovein interfaceRedisListCommands- Parameters:
sourceKey- must not be null.destinationKey- must not be null.from- must not be null.to- must not be null.- Returns:
- null when used in pipeline / transaction.
- See Also:
-
lSet
Deprecated.in favor ofRedisCommandsProvider.listCommands()}.Description copied from interface:RedisListCommandsSet thevaluelist element atindex.- Specified by:
lSetin interfaceRedisListCommands- Parameters:
key- must not be null.- See Also:
-
lRem
Deprecated.in favor ofRedisCommandsProvider.listCommands()}.Description copied from interface:RedisListCommandsRemoves the firstcountoccurrences ofvaluefrom the list stored atkey.- Specified by:
lRemin interfaceRedisListCommands- Parameters:
key- must not be null.- Returns:
- null when used in pipeline / transaction.
- See Also:
-
lPop
Deprecated.in favor ofRedisCommandsProvider.listCommands()}.Description copied from interface:RedisListCommandsRemoves and returns first element in list stored atkey.- Specified by:
lPopin interfaceRedisListCommands- Parameters:
key- must not be null.- Returns:
- null when key does not exist or used in pipeline / transaction.
- See Also:
-
lPop
Deprecated.in favor ofRedisCommandsProvider.listCommands()}.Description copied from interface:RedisListCommandsRemoves and returns first elements in list stored atkey.- Specified by:
lPopin interfaceRedisListCommands- Parameters:
key- must not be null.- Returns:
- null when key does not exist or used in pipeline / transaction.
- See Also:
-
rPop
Deprecated.in favor ofRedisCommandsProvider.listCommands()}.Description copied from interface:RedisListCommandsRemoves and returns last element in list stored atkey.- Specified by:
rPopin interfaceRedisListCommands- Parameters:
key- must not be null.- Returns:
- null when key does not exist or used in pipeline / transaction.
- See Also:
-
rPop
Deprecated.in favor ofRedisCommandsProvider.listCommands()}.Description copied from interface:RedisListCommandsRemoves and returns last elements in list stored atkey.- Specified by:
rPopin interfaceRedisListCommands- Parameters:
key- must not be null.- Returns:
- null when key does not exist or used in pipeline / transaction.
- See Also:
-
bLPop
Deprecated.in favor ofRedisCommandsProvider.listCommands()}.Description copied from interface:RedisListCommandsRemoves and returns first element from lists stored atkeys.
Blocks connection until element available ortimeoutreached.- Specified by:
bLPopin interfaceRedisListCommands- Parameters:
timeout- seconds to block.keys- must not be null.- Returns:
- empty
Listwhen no element could be popped and the timeout was reached. null when used in pipeline / transaction. - See Also:
-
bRPop
Deprecated.in favor ofRedisCommandsProvider.listCommands()}.Description copied from interface:RedisListCommandsRemoves and returns last element from lists stored atkeys.
Blocks connection until element available ortimeoutreached.- Specified by:
bRPopin interfaceRedisListCommands- Parameters:
timeout- seconds to block.keys- must not be null.- Returns:
- empty
Listwhen no element could be popped and the timeout was reached. null when used in pipeline / transaction. - See Also:
-
rPopLPush
Deprecated.in favor ofRedisCommandsProvider.listCommands()}.Description copied from interface:RedisListCommandsRemove the last element from list atsrcKey, append it todstKeyand return its value.- Specified by:
rPopLPushin interfaceRedisListCommands- Parameters:
srcKey- must not be null.dstKey- must not be null.- Returns:
- can be null.
- See Also:
-
bRPopLPush
Deprecated.in favor ofRedisCommandsProvider.listCommands()}.Description copied from interface:RedisListCommandsRemove the last element from list atsrcKey, append it todstKeyand return its value.
Blocks connection until element available ortimeoutreached.- Specified by:
bRPopLPushin interfaceRedisListCommands- Parameters:
timeout- seconds to block.srcKey- must not be null.dstKey- must not be null.- Returns:
- can be null.
- See Also:
-
sAdd
Deprecated.in favor ofRedisCommandsProvider.setCommands()}.Description copied from interface:RedisSetCommandsAdd givenvaluesto set atkey.- Specified by:
sAddin interfaceRedisSetCommands- Parameters:
key- must not be null.values- must not be empty.- Returns:
- null when used in pipeline / transaction.
- See Also:
-
sCard
Deprecated.in favor ofRedisCommandsProvider.setCommands()}.Description copied from interface:RedisSetCommandsGet size of set atkey.- Specified by:
sCardin interfaceRedisSetCommands- Parameters:
key- must not be null.- Returns:
- null when used in pipeline / transaction.
- See Also:
-
sDiff
Deprecated.in favor ofRedisCommandsProvider.setCommands()}.Description copied from interface:RedisSetCommandsDiff all sets for givenkeys.- Specified by:
sDiffin interfaceRedisSetCommands- Parameters:
keys- must not be null.- Returns:
- null when used in pipeline / transaction.
- See Also:
-
sDiffStore
Deprecated.in favor ofRedisCommandsProvider.setCommands()}.Description copied from interface:RedisSetCommandsDiff all sets for givenkeysand store result indestKey.- Specified by:
sDiffStorein interfaceRedisSetCommands- Parameters:
destKey- must not be null.keys- must not be null.- Returns:
- null when used in pipeline / transaction.
- See Also:
-
sInter
Deprecated.in favor ofRedisCommandsProvider.setCommands()}.Description copied from interface:RedisSetCommandsReturns the members intersecting all given sets atkeys.- Specified by:
sInterin interfaceRedisSetCommands- Parameters:
keys- must not be null.- Returns:
- empty
Setif no intersection found. null when used in pipeline / transaction. - See Also:
-
sInterStore
Deprecated.in favor ofRedisCommandsProvider.setCommands()}.Description copied from interface:RedisSetCommandsIntersect all given sets atkeysand store result indestKey.- Specified by:
sInterStorein interfaceRedisSetCommands- Parameters:
destKey- must not be null.keys- must not be null.- Returns:
- null when used in pipeline / transaction.
- See Also:
-
sIsMember
Deprecated.in favor ofRedisCommandsProvider.setCommands()}.Description copied from interface:RedisSetCommandsCheck if set atkeycontainsvalue.- Specified by:
sIsMemberin interfaceRedisSetCommands- Parameters:
key- must not be null.value- must not be null.- Returns:
- null when used in pipeline / transaction.
- See Also:
-
sMIsMember
Deprecated.in favor ofRedisCommandsProvider.setCommands()}.Description copied from interface:RedisSetCommandsCheck if set atkeycontains one or morevalues.- Specified by:
sMIsMemberin interfaceRedisSetCommands- Parameters:
key- must not be null.value- must not be null.- Returns:
- null when used in pipeline / transaction.
- See Also:
-
sMembers
Deprecated.in favor ofRedisCommandsProvider.setCommands()}.Description copied from interface:RedisSetCommandsGet all elements of set atkey.- Specified by:
sMembersin interfaceRedisSetCommands- Parameters:
key- must not be null.- Returns:
- empty
Setwhen key does not exist. null when used in pipeline / transaction. - See Also:
-
sMove
Deprecated.in favor ofRedisCommandsProvider.setCommands()}.Description copied from interface:RedisSetCommandsMovevaluefromsrcKeytodestKey- Specified by:
sMovein interfaceRedisSetCommands- Parameters:
srcKey- must not be null.destKey- must not be null.value- must not be null.- Returns:
- null when used in pipeline / transaction.
- See Also:
-
sPop
Deprecated.in favor ofRedisCommandsProvider.setCommands()}.Description copied from interface:RedisSetCommandsRemove and return a random member from set atkey.- Specified by:
sPopin interfaceRedisSetCommands- Parameters:
key- must not be null.- Returns:
- null when key does not exist or used in pipeline / transaction.
- See Also:
-
sPop
Deprecated.in favor ofRedisCommandsProvider.setCommands()}.Description copied from interface:RedisSetCommandsRemove and returncountrandom members from set atkey.- Specified by:
sPopin interfaceRedisSetCommands- Parameters:
key- must not be null.count- number of random members to pop from the set.- Returns:
- empty
Listif set does not exist. null when used in pipeline / transaction. - See Also:
-
sRandMember
Deprecated.in favor ofRedisCommandsProvider.setCommands()}.Description copied from interface:RedisSetCommandsGet random element from set atkey.- Specified by:
sRandMemberin interfaceRedisSetCommands- Parameters:
key- must not be null.- Returns:
- can be null.
- See Also:
-
sRandMember
Deprecated.in favor ofRedisCommandsProvider.setCommands()}.Description copied from interface:RedisSetCommandsGetcountrandom elements from set atkey.- Specified by:
sRandMemberin interfaceRedisSetCommands- Parameters:
key- must not be null.- Returns:
- null when used in pipeline / transaction.
- See Also:
-
sRem
Deprecated.in favor ofRedisCommandsProvider.setCommands()}.Description copied from interface:RedisSetCommandsRemove givenvaluesfrom set atkeyand return the number of removed elements.- Specified by:
sRemin interfaceRedisSetCommands- Parameters:
key- must not be null.values- must not be empty.- Returns:
- null when used in pipeline / transaction.
- See Also:
-
sUnion
Deprecated.in favor ofRedisCommandsProvider.setCommands()}.Description copied from interface:RedisSetCommandsUnion all sets at givenkeys.- Specified by:
sUnionin interfaceRedisSetCommands- Parameters:
keys- must not be null.- Returns:
- empty
Setif keys do not exist. null when used in pipeline / transaction. - See Also:
-
sUnionStore
Deprecated.in favor ofRedisCommandsProvider.setCommands()}.Description copied from interface:RedisSetCommandsUnion all sets at givenkeysand store result indestKey.- Specified by:
sUnionStorein interfaceRedisSetCommands- Parameters:
destKey- must not be null.keys- must not be null.- Returns:
- null when used in pipeline / transaction.
- See Also:
-
sScan
Deprecated.in favor ofRedisCommandsProvider.setCommands()}.Description copied from interface:RedisSetCommandsUse aCursorto iterate over elements in set atkey.- Specified by:
sScanin interfaceRedisSetCommands- Parameters:
key- must not be null.options- must not be null.- Returns:
- never null.
- See Also:
-
zAdd
@Deprecated default Boolean zAdd(byte[] key, double score, byte[] value, RedisZSetCommands.ZAddArgs args) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.Description copied from interface:RedisZSetCommands- Specified by:
zAddin interfaceRedisZSetCommands- Parameters:
key- must not be null.score- the score.value- the value.args- must not be null useRedisZSetCommands.ZAddArgs.empty()instead.- Returns:
- null when used in pipeline / transaction.
- See Also:
-
zAdd
Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.Description copied from interface:RedisZSetCommands- Specified by:
zAddin interfaceRedisZSetCommands- Parameters:
key- must not be null.tuples- must not be null.args- must not be null useRedisZSetCommands.ZAddArgs.empty()instead.- Returns:
- null when used in pipeline / transaction.
- See Also:
-
zCard
Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.Description copied from interface:RedisZSetCommandsGet the size of sorted set withkey.- Specified by:
zCardin interfaceRedisZSetCommands- Parameters:
key- must not be null.- Returns:
- null when used in pipeline / transaction.
- See Also:
-
zCount
Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.Description copied from interface:RedisZSetCommandsCount number of elements within sorted set with scores betweenminandmax.- Specified by:
zCountin interfaceRedisZSetCommands- Parameters:
key- must not be null.- Returns:
- null when used in pipeline / transaction.
- See Also:
-
zLexCount
Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.Description copied from interface:RedisZSetCommandsCount number of elements within sorted set with value betweenRange#minandRange#maxapplying lexicographical ordering.- Specified by:
zLexCountin interfaceRedisZSetCommands- Parameters:
key- must not be null.range- must not be null.- Returns:
- null when used in pipeline / transaction.
- See Also:
-
zPopMin
Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.Description copied from interface:RedisZSetCommandsRemove and return the value with its score having the lowest score from sorted set atkey.- Specified by:
zPopMinin interfaceRedisZSetCommands- Parameters:
key- must not be null.- Returns:
- null when the sorted set is empty or used in pipeline / transaction.
- See Also:
-
zPopMin
Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.Description copied from interface:RedisZSetCommandsRemove and returncountvalues with their score having the lowest score from sorted set atkey.- Specified by:
zPopMinin interfaceRedisZSetCommands- Parameters:
key- must not be null.count- number of elements to pop.- Returns:
- null when the sorted set is empty or used in pipeline / transaction.
- See Also:
-
bZPopMin
Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.Description copied from interface:RedisZSetCommandsRemove and return the value with its score having the lowest score from sorted set atkey.
Blocks connection until element available ortimeoutreached.- Specified by:
bZPopMinin interfaceRedisZSetCommands- Parameters:
key- must not be null.unit- must not be null.- Returns:
- can be null.
- See Also:
-
zPopMax
Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.Description copied from interface:RedisZSetCommandsRemove and return the value with its score having the highest score from sorted set atkey.- Specified by:
zPopMaxin interfaceRedisZSetCommands- Parameters:
key- must not be null.- Returns:
- null when the sorted set is empty or used in pipeline / transaction.
- See Also:
-
zPopMax
Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.Description copied from interface:RedisZSetCommandsRemove and returncountvalues with their score having the highest score from sorted set atkey.- Specified by:
zPopMaxin interfaceRedisZSetCommands- Parameters:
key- must not be null.count- number of elements to pop.- Returns:
- null when the sorted set is empty or used in pipeline / transaction.
- See Also:
-
bZPopMax
Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.Description copied from interface:RedisZSetCommandsRemove and return the value with its score having the highest score from sorted set atkey.
Blocks connection until element available ortimeoutreached.- Specified by:
bZPopMaxin interfaceRedisZSetCommands- Parameters:
key- must not be null.unit- must not be null.- Returns:
- can be null.
- See Also:
-
zCount
Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.Description copied from interface:RedisZSetCommandsCount number of elements within sorted set with scores betweenRange#minandRange#max.- Specified by:
zCountin interfaceRedisZSetCommands- Parameters:
key- must not be null.range- must not be null.- Returns:
- null when used in pipeline / transaction.
- See Also:
-
zDiff
Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.Description copied from interface:RedisZSetCommandsDiff sortedsets.- Specified by:
zDiffin interfaceRedisZSetCommands- Parameters:
sets- must not be null.- Returns:
- null when used in pipeline / transaction.
- See Also:
-
zDiffWithScores
Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.Description copied from interface:RedisZSetCommandsDiff sortedsets.- Specified by:
zDiffWithScoresin interfaceRedisZSetCommands- Parameters:
sets- must not be null.- Returns:
- null when used in pipeline / transaction.
- See Also:
-
zDiffStore
Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.Description copied from interface:RedisZSetCommandsDiff sortedsetsand store result in destinationdestKey.- Specified by:
zDiffStorein interfaceRedisZSetCommands- Parameters:
destKey- must not be null.sets- must not be null.- Returns:
- null when used in pipeline / transaction.
- See Also:
-
zIncrBy
Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.Description copied from interface:RedisZSetCommandsIncrement the score of element withvaluein sorted set byincrement.- Specified by:
zIncrByin interfaceRedisZSetCommands- Parameters:
key- must not be null.value- the value.- Returns:
- null when used in pipeline / transaction.
- See Also:
-
zInter
Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.Description copied from interface:RedisZSetCommandsIntersect sortedsets.- Specified by:
zInterin interfaceRedisZSetCommands- Parameters:
sets- must not be null.- Returns:
- null when used in pipeline / transaction.
- See Also:
-
zInterWithScores
Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.Description copied from interface:RedisZSetCommandsIntersect sortedsets.- Specified by:
zInterWithScoresin interfaceRedisZSetCommands- Parameters:
aggregate- must not be null.weights- must not be null.sets- must not be null.- Returns:
- See Also:
-
zInterWithScores
@Deprecated default Set<Tuple> zInterWithScores(Aggregate aggregate, Weights weights, byte[]... sets) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.Description copied from interface:RedisZSetCommandsIntersect sortedsets.- Specified by:
zInterWithScoresin interfaceRedisZSetCommands- Parameters:
aggregate- must not be null.weights- must not be null.sets- must not be null.- Returns:
- See Also:
-
zInterWithScores
Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.Description copied from interface:RedisZSetCommandsIntersect sortedsets.- Specified by:
zInterWithScoresin interfaceRedisZSetCommands- Parameters:
sets- must not be null.- Returns:
- null when used in pipeline / transaction.
- See Also:
-
zInterStore
@Deprecated default Long zInterStore(byte[] destKey, Aggregate aggregate, int[] weights, byte[]... sets) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.Description copied from interface:RedisZSetCommandsIntersect sortedsetsand store result in destinationdestKey.- Specified by:
zInterStorein interfaceRedisZSetCommands- Parameters:
destKey- must not be null.aggregate- must not be null.weights- must not be null.sets- must not be null.- Returns:
- null when used in pipeline / transaction.
- See Also:
-
zInterStore
@Deprecated default Long zInterStore(byte[] destKey, Aggregate aggregate, Weights weights, byte[]... sets) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.Description copied from interface:RedisZSetCommandsIntersect sortedsetsand store result in destinationdestKey.- Specified by:
zInterStorein interfaceRedisZSetCommands- Parameters:
destKey- must not be null.aggregate- must not be null.weights- must not be null.sets- must not be null.- Returns:
- null when used in pipeline / transaction.
- See Also:
-
zInterStore
Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.Description copied from interface:RedisZSetCommandsIntersect sortedsetsand store result in destinationdestKey.- Specified by:
zInterStorein interfaceRedisZSetCommands- Parameters:
destKey- must not be null.sets- must not be null.- Returns:
- null when used in pipeline / transaction.
- See Also:
-
zRandMember
Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.Description copied from interface:RedisZSetCommandsGet random element from sorted set atkey.- Specified by:
zRandMemberin interfaceRedisZSetCommands- Parameters:
key- must not be null.- Returns:
- can be null.
- See Also:
-
zRandMember
Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.Description copied from interface:RedisZSetCommandsGetcountrandom elements from sorted set atkey.- Specified by:
zRandMemberin interfaceRedisZSetCommands- Parameters:
key- must not be null.count- if the providedcountargument is positive, return a list of distinct fields, capped either atcountor the set size. Ifcountis negative, the behavior changes and the command is allowed to return the same value multiple times. In this case, the number of returned values is the absolute value of the specified count.- Returns:
- null when used in pipeline / transaction.
- See Also:
-
zRandMemberWithScore
Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.Description copied from interface:RedisZSetCommandsGet random element from sorted set atkey.- Specified by:
zRandMemberWithScorein interfaceRedisZSetCommands- Parameters:
key- must not be null.- Returns:
- can be null.
- See Also:
-
zRandMemberWithScore
Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.Description copied from interface:RedisZSetCommandsGetcountrandom elements from sorted set atkey.- Specified by:
zRandMemberWithScorein interfaceRedisZSetCommands- Parameters:
key- must not be null.count- if the providedcountargument is positive, return a list of distinct fields, capped either atcountor the set size. Ifcountis negative, the behavior changes and the command is allowed to return the same value multiple times. In this case, the number of returned values is the absolute value of the specified count.- Returns:
- null when used in pipeline / transaction.
- See Also:
-
zRange
Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.Description copied from interface:RedisZSetCommandsGet elements betweenstartandendfrom sorted set.- Specified by:
zRangein interfaceRedisZSetCommands- Parameters:
key- must not be null.- Returns:
- empty
Setwhen key does not exists or no members in range. null when used in pipeline / transaction. - See Also:
-
zRangeWithScores
Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.Description copied from interface:RedisZSetCommands- Specified by:
zRangeWithScoresin interfaceRedisZSetCommands- Parameters:
key- must not be null.- Returns:
- empty
Setwhen key does not exists or no members in range. null when used in pipeline / transaction. - See Also:
-
zRangeByLex
Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.Description copied from interface:RedisZSetCommandsGet all the elements inRangefrom the sorted set at key in lexicographical ordering. Result is limited viaRedisZSetCommands.Limit.- Specified by:
zRangeByLexin interfaceRedisZSetCommands- Parameters:
key- must not be null.range- must not be null.limit- must not be null.- Returns:
- null when used in pipeline / transaction.
- See Also:
-
zRevRangeByLex
Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.Description copied from interface:RedisZSetCommandsGet all the elements inRangefrom the sorted set at key in reversed lexicographical ordering. Result is limited viaRedisZSetCommands.Limit.- Specified by:
zRevRangeByLexin interfaceRedisZSetCommands- Parameters:
key- must not be null.range- must not be null.limit- must not be null.- Returns:
- null when used in pipeline / transaction.
- See Also:
-
zRangeByScore
@Deprecated default Set<byte[]> zRangeByScore(byte[] key, Range<? extends Number> range, Limit limit) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.Description copied from interface:RedisZSetCommandsGet elements in range fromLimit#counttoLimit#offsetwhere score is betweenRange#minandRange#maxfrom sorted set.- Specified by:
zRangeByScorein interfaceRedisZSetCommands- Parameters:
key- must not be null.range- must not be null.limit- must not be null.- Returns:
- null when used in pipeline / transaction.
- See Also:
-
zRangeByScoreWithScores
@Deprecated default Set<Tuple> zRangeByScoreWithScores(byte[] key, Range<? extends Number> range, Limit limit) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.Description copied from interface:RedisZSetCommandsGet set ofTuples in range fromLimit#offsettoLimit#offset + Limit#countwhere score is betweenRange#minandRange#maxfrom sorted set.- Specified by:
zRangeByScoreWithScoresin interfaceRedisZSetCommands- Parameters:
key- must not be null.range- must not be null.limit- must not be null.- Returns:
- empty
Setwhen key does not exists or no members in range. null when used in pipeline / transaction. - See Also:
-
zRevRangeWithScores
Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.Description copied from interface:RedisZSetCommands- Specified by:
zRevRangeWithScoresin interfaceRedisZSetCommands- Parameters:
key- must not be null.- Returns:
- empty
Setwhen key does not exists or no members in range. null when used in pipeline / transaction. - See Also:
-
zRevRangeByScore
@Deprecated default Set<byte[]> zRevRangeByScore(byte[] key, Range<? extends Number> range, Limit limit) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.Description copied from interface:RedisZSetCommandsGet elements in range fromLimit#offsettoLimit#offset + Limit#countwhere score is betweenRange#minandRange#maxfrom sorted set ordered high -> low.- Specified by:
zRevRangeByScorein interfaceRedisZSetCommands- Parameters:
key- must not be null.range- must not be null.limit- must not be null.- Returns:
- null when used in pipeline / transaction.
- See Also:
-
zRevRangeByScoreWithScores
@Deprecated default Set<Tuple> zRevRangeByScoreWithScores(byte[] key, Range<? extends Number> range, Limit limit) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.Description copied from interface:RedisZSetCommandsGet set ofTuplein range fromLimit#offsettoLimit#countwhere score is betweenRange#minandRange#maxfrom sorted set ordered high -> low.- Specified by:
zRevRangeByScoreWithScoresin interfaceRedisZSetCommands- Parameters:
key- must not be null.range- must not be null.limit- must not be null.- Returns:
- null when used in pipeline / transaction.
- See Also:
-
zRank
Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.Description copied from interface:RedisZSetCommandsDetermine the index of element withvaluein a sorted set.- Specified by:
zRankin interfaceRedisZSetCommands- Parameters:
key- must not be null.value- the value. Must not be null.- Returns:
- null when used in pipeline / transaction.
- See Also:
-
zRem
Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.Description copied from interface:RedisZSetCommandsRemovevaluesfrom sorted set. Return number of removed elements.- Specified by:
zRemin interfaceRedisZSetCommands- Parameters:
key- must not be null.values- must not be null.- Returns:
- null when used in pipeline / transaction.
- See Also:
-
zRemRange
Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.Description copied from interface:RedisZSetCommandsRemove elements in range betweenstartandendfrom sorted set withkey.- Specified by:
zRemRangein interfaceRedisZSetCommands- Parameters:
key- must not be null.- Returns:
- null when used in pipeline / transaction.
- See Also:
-
zRemRangeByLex
Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.Description copied from interface:RedisZSetCommandsRemove all elements between the lexicographicalRange.- Specified by:
zRemRangeByLexin interfaceRedisZSetCommands- Parameters:
key- must not be null.range- must not be null.- Returns:
- the number of elements removed, or null when used in pipeline / transaction.
- See Also:
-
zRemRangeByScore
Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.Description copied from interface:RedisZSetCommandsRemove elements with scores betweenRange#minandRange#maxfrom sorted set withkey.- Specified by:
zRemRangeByScorein interfaceRedisZSetCommands- Parameters:
key- must not be null.range- must not be null.- Returns:
- null when used in pipeline / transaction.
- See Also:
-
zRemRangeByScore
Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.Description copied from interface:RedisZSetCommandsRemove elements with scores betweenminandmaxfrom sorted set withkey.- Specified by:
zRemRangeByScorein interfaceRedisZSetCommands- Parameters:
key- must not be null.- Returns:
- null when used in pipeline / transaction.
- See Also:
-
zRevRange
Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.Description copied from interface:RedisZSetCommandsGet elements in range fromstarttoendfrom sorted set ordered from high to low.- Specified by:
zRevRangein interfaceRedisZSetCommands- Parameters:
key- must not be null.- Returns:
- empty
Setwhen key does not exists or no members in range. null when used in pipeline / transaction. - See Also:
-
zRevRank
Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.Description copied from interface:RedisZSetCommandsDetermine the index of element withvaluein a sorted set when scored high to low.- Specified by:
zRevRankin interfaceRedisZSetCommands- Parameters:
key- must not be null.value- the value.- Returns:
- null when used in pipeline / transaction.
- See Also:
-
zScore
Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.Description copied from interface:RedisZSetCommandsGet the score of element withvaluefrom sorted set with keykey.- Specified by:
zScorein interfaceRedisZSetCommands- Parameters:
key- must not be null.value- the value.- Returns:
- null when used in pipeline / transaction.
- See Also:
-
zMScore
Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.Description copied from interface:RedisZSetCommandsGet the scores of elements withvaluesfrom sorted set with keykey.- Specified by:
zMScorein interfaceRedisZSetCommands- Parameters:
key- must not be null.values- the values.- Returns:
- null when used in pipeline / transaction.
- See Also:
-
zUnion
Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.Description copied from interface:RedisZSetCommandsUnion sortedsets.- Specified by:
zUnionin interfaceRedisZSetCommands- Parameters:
sets- must not be null.- Returns:
- null when used in pipeline / transaction.
- See Also:
-
zUnionWithScores
Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.Description copied from interface:RedisZSetCommandsUnion sortedsets.- Specified by:
zUnionWithScoresin interfaceRedisZSetCommands- Parameters:
aggregate- must not be null.weights- must not be null.sets- must not be null.- Returns:
- null when used in pipeline / transaction.
- See Also:
-
zUnionWithScores
@Deprecated default Set<Tuple> zUnionWithScores(Aggregate aggregate, Weights weights, byte[]... sets) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.Description copied from interface:RedisZSetCommandsUnion sortedsets.- Specified by:
zUnionWithScoresin interfaceRedisZSetCommands- Parameters:
aggregate- must not be null.weights- must not be null.sets- must not be null.- Returns:
- null when used in pipeline / transaction.
- See Also:
-
zUnionWithScores
Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.Description copied from interface:RedisZSetCommandsUnion sortedsets.- Specified by:
zUnionWithScoresin interfaceRedisZSetCommands- Parameters:
sets- must not be null.- Returns:
- null when used in pipeline / transaction.
- See Also:
-
zUnionStore
@Deprecated default Long zUnionStore(byte[] destKey, Aggregate aggregate, int[] weights, byte[]... sets) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.Description copied from interface:RedisZSetCommandsUnion sortedsetsand store result in destinationdestKey.- Specified by:
zUnionStorein interfaceRedisZSetCommands- Parameters:
destKey- must not be null.aggregate- must not be null.weights- must not be null.sets- must not be null.- Returns:
- null when used in pipeline / transaction.
- See Also:
-
zUnionStore
@Deprecated default Long zUnionStore(byte[] destKey, Aggregate aggregate, Weights weights, byte[]... sets) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.Description copied from interface:RedisZSetCommandsUnion sortedsetsand store result in destinationdestKey.- Specified by:
zUnionStorein interfaceRedisZSetCommands- Parameters:
destKey- must not be null.aggregate- must not be null.weights- must not be null.sets- must not be null.- Returns:
- null when used in pipeline / transaction.
- See Also:
-
zUnionStore
Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.Description copied from interface:RedisZSetCommandsUnion sortedsets.- Specified by:
zUnionStorein interfaceRedisZSetCommandssets- must not be null.- Returns:
- null when used in pipeline / transaction.
- See Also:
-
zScan
Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.Description copied from interface:RedisZSetCommandsUse aCursorto iterate over elements in sorted set atkey.- Specified by:
zScanin interfaceRedisZSetCommands- Parameters:
key- must not be null.options- must not be null.- Returns:
- See Also:
-
zRangeByScore
Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.Description copied from interface:RedisZSetCommandsGet elements where score is betweenminandmaxfrom sorted set.- Specified by:
zRangeByScorein interfaceRedisZSetCommands- Parameters:
key- must not be null.- Returns:
- null when used in pipeline / transaction.
- See Also:
-
zRangeByScore
@Deprecated default Set<byte[]> zRangeByScore(byte[] key, String min, String max, long offset, long count) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.Description copied from interface:RedisZSetCommandsGet elements in range fromstarttoendwhere score is betweenminandmaxfrom sorted set.- Specified by:
zRangeByScorein interfaceRedisZSetCommands- Parameters:
key- must not be null.min- must not be null.max- must not be null.- Returns:
- null when used in pipeline / transaction.
- See Also:
-
hSet
Deprecated.in favor ofRedisCommandsProvider.hashCommands()}.Description copied from interface:RedisHashCommandsSet thevalueof a hashfield.- Specified by:
hSetin interfaceRedisHashCommands- Parameters:
key- must not be null.field- must not be null.value- must not be null.- Returns:
- null when used in pipeline / transaction.
- See Also:
-
hSetNX
Deprecated.in favor ofRedisCommandsProvider.hashCommands()}.Description copied from interface:RedisHashCommandsSet thevalueof a hashfieldonly iffielddoes not exist.- Specified by:
hSetNXin interfaceRedisHashCommands- Parameters:
key- must not be null.field- must not be null.value- must not be null.- Returns:
- null when used in pipeline / transaction.
- See Also:
-
hDel
Deprecated.in favor ofRedisCommandsProvider.hashCommands()}.Description copied from interface:RedisHashCommandsDelete given hashfields.- Specified by:
hDelin interfaceRedisHashCommands- Parameters:
key- must not be null.fields- must not be empty.- Returns:
- null when used in pipeline / transaction.
- See Also:
-
hExists
Deprecated.in favor ofRedisCommandsProvider.hashCommands()}.Description copied from interface:RedisHashCommandsDetermine if given hashfieldexists.- Specified by:
hExistsin interfaceRedisHashCommands- Parameters:
key- must not be null.field- must not be null.- Returns:
- null when used in pipeline / transaction.
- See Also:
-
hGet
Deprecated.in favor ofRedisCommandsProvider.hashCommands()}.Description copied from interface:RedisHashCommandsGet value for givenfieldfrom hash atkey.- Specified by:
hGetin interfaceRedisHashCommands- Parameters:
key- must not be null.field- must not be null.- Returns:
- null when key or field do not exists or when used in pipeline / transaction.
- See Also:
-
hGetAll
Deprecated.in favor ofRedisCommandsProvider.hashCommands()}.Description copied from interface:RedisHashCommandsGet entire hash stored atkey.- Specified by:
hGetAllin interfaceRedisHashCommands- Parameters:
key- must not be null.- Returns:
- empty
Mapif key does not exist or null when used in pipeline / transaction. - See Also:
-
hIncrBy
Deprecated.in favor ofRedisCommandsProvider.hashCommands()}.Description copied from interface:RedisHashCommandsIncrementvalueof a hashfieldby the givendelta.- Specified by:
hIncrByin interfaceRedisHashCommands- Parameters:
key- must not be null.field- must not be null.- Returns:
- null when used in pipeline / transaction.
- See Also:
-
hIncrBy
Deprecated.in favor ofRedisCommandsProvider.hashCommands()}.Description copied from interface:RedisHashCommandsIncrementvalueof a hashfieldby the givendelta.- Specified by:
hIncrByin interfaceRedisHashCommands- Parameters:
key- must not be null.field- must not be null.- Returns:
- null when used in pipeline / transaction.
- See Also:
-
hRandField
Deprecated.in favor ofRedisCommandsProvider.hashCommands()}.Description copied from interface:RedisHashCommandsReturn a random field from the hash stored atkey.- Specified by:
hRandFieldin interfaceRedisHashCommands- Parameters:
key- must not be null.- Returns:
- null if key does not exist or when used in pipeline / transaction.
- See Also:
-
hRandFieldWithValues
Deprecated.in favor ofRedisCommandsProvider.hashCommands()}.Description copied from interface:RedisHashCommandsReturn a random field from the hash along with its value stored atkey.- Specified by:
hRandFieldWithValuesin interfaceRedisHashCommands- Parameters:
key- must not be null.- Returns:
- null if key does not exist or when used in pipeline / transaction.
- See Also:
-
hRandField
Deprecated.in favor ofRedisCommandsProvider.hashCommands()}.Description copied from interface:RedisHashCommandsReturn a random field from the hash stored atkey. If the providedcountargument is positive, return a list of distinct fields, capped either atcountor the hash size. Ifcountis negative, the behavior changes and the command is allowed to return the same field multiple times. In this case, the number of returned fields is the absolute value of the specified count.- Specified by:
hRandFieldin interfaceRedisHashCommands- Parameters:
key- must not be null.count- number of fields to return.- Returns:
- null if key does not exist or when used in pipeline / transaction.
- See Also:
-
hRandFieldWithValues
Deprecated.in favor ofRedisCommandsProvider.hashCommands()}.Description copied from interface:RedisHashCommandsReturn a random field from the hash along with its value stored atkey. If the providedcountargument is positive, return a list of distinct fields, capped either atcountor the hash size. Ifcountis negative, the behavior changes and the command is allowed to return the same field multiple times. In this case, the number of returned fields is the absolute value of the specified count.- Specified by:
hRandFieldWithValuesin interfaceRedisHashCommands- Parameters:
key- must not be null.count- number of fields to return.- Returns:
- null if key does not exist or when used in pipeline / transaction.
- See Also:
-
hKeys
Deprecated.in favor ofRedisCommandsProvider.hashCommands()}.Description copied from interface:RedisHashCommandsGet key set (fields) of hash atkey.- Specified by:
hKeysin interfaceRedisHashCommands- Parameters:
key- must not be null.- Returns:
- null when used in pipeline / transaction.
- See Also:
-
hLen
Deprecated.Description copied from interface:RedisHashCommandsGet size of hash atkey.- Specified by:
hLenin interfaceRedisHashCommands- Parameters:
key- must not be null.- Returns:
- null when used in pipeline / transaction.
- See Also:
-
hMGet
Deprecated.in favor ofRedisCommandsProvider.hashCommands()}.Description copied from interface:RedisHashCommandsGet values for givenfieldsfrom hash atkey. Values are in the order of the requested keys Absent field values are represented usingnullin the resultingList.- Specified by:
hMGetin interfaceRedisHashCommands- Parameters:
key- must not be null.fields- must not be empty.- Returns:
- empty
Listif key does not exist. null when used in pipeline / transaction. - See Also:
-
hMSet
Deprecated.in favor ofRedisCommandsProvider.hashCommands()}.Description copied from interface:RedisHashCommandsSet multiple hash fields to multiple values using data provided inhashes- Specified by:
hMSetin interfaceRedisHashCommands- Parameters:
key- must not be null.hashes- must not be null.- See Also:
-
hVals
Deprecated.in favor ofRedisCommandsProvider.hashCommands()}.Description copied from interface:RedisHashCommandsGet entry set (values) of hash atfield.- Specified by:
hValsin interfaceRedisHashCommands- Parameters:
key- must not be null.- Returns:
- empty
Listif key does not exist. null when used in pipeline / transaction. - See Also:
-
hScan
Deprecated.in favor ofRedisCommandsProvider.hashCommands()}.Description copied from interface:RedisHashCommandsUse aCursorto iterate over entries in hash atkey.- Specified by:
hScanin interfaceRedisHashCommands- Parameters:
key- must not be null.options- must not be null.- Returns:
- See Also:
-
hStrLen
Deprecated.in favor ofRedisCommandsProvider.hashCommands().Description copied from interface:RedisHashCommandsReturns the length of the value associated withfieldin the hash stored atkey. If thekeyor thefielddo not exist,0is returned.- Specified by:
hStrLenin interfaceRedisHashCommands- Parameters:
key- must not be null.field- must not be null.- Returns:
- null when used in pipeline / transaction.
- See Also:
-
geoAdd
Deprecated.in favor ofRedisCommandsProvider.geoCommands()}.Description copied from interface:RedisGeoCommandsAddPointwith given member name to key.- Specified by:
geoAddin interfaceRedisGeoCommands- Parameters:
key- must not be null.point- must not be null.member- must not be null.- Returns:
- Number of elements added. null when used in pipeline / transaction.
- See Also:
-
geoAdd
Deprecated.in favor ofRedisCommandsProvider.geoCommands()}.Description copied from interface:RedisGeoCommands- Specified by:
geoAddin interfaceRedisGeoCommands- Parameters:
key- must not be null.memberCoordinateMap- must not be null.- Returns:
- Number of elements added. null when used in pipeline / transaction.
- See Also:
-
geoAdd
@Deprecated default Long geoAdd(byte[] key, Iterable<RedisGeoCommands.GeoLocation<byte[]>> locations) Deprecated.in favor ofRedisCommandsProvider.geoCommands()}.Description copied from interface:RedisGeoCommandsAddRedisGeoCommands.GeoLocations to key- Specified by:
geoAddin interfaceRedisGeoCommands- Parameters:
key- must not be null.locations- must not be null.- Returns:
- Number of elements added. null when used in pipeline / transaction.
- See Also:
-
geoDist
Deprecated.in favor ofRedisCommandsProvider.geoCommands()}.Description copied from interface:RedisGeoCommandsGet theDistancebetween member1 and member2.- Specified by:
geoDistin interfaceRedisGeoCommands- Parameters:
key- must not be null.member1- must not be null.member2- must not be null.- Returns:
- can be null. null when used in pipeline / transaction.
- See Also:
-
geoDist
Deprecated.in favor ofRedisCommandsProvider.geoCommands()}.Description copied from interface:RedisGeoCommands- Specified by:
geoDistin interfaceRedisGeoCommands- Parameters:
key- must not be null.member1- must not be null.member2- must not be null.metric- must not be null.- Returns:
- can be null. null when used in pipeline / transaction.
- See Also:
-
geoHash
Deprecated.in favor ofRedisCommandsProvider.geoCommands()}.Description copied from interface:RedisGeoCommandsGet Geohash representation of the position for one or more members.- Specified by:
geoHashin interfaceRedisGeoCommands- Parameters:
key- must not be null.members- must not be null.- Returns:
- empty list when key or members do not exists. null when used in pipeline / transaction.
- See Also:
-
geoPos
Deprecated.in favor ofRedisCommandsProvider.geoCommands()}.Description copied from interface:RedisGeoCommandsGet thePointrepresentation of positions for one or more members.- Specified by:
geoPosin interfaceRedisGeoCommands- Parameters:
key- must not be null.members- must not be null.- Returns:
- empty
Listwhen key of members do not exist. null when used in pipeline / transaction. - See Also:
-
geoRadius
@Deprecated default GeoResults<RedisGeoCommands.GeoLocation<byte[]>> geoRadius(byte[] key, Circle within) Deprecated.in favor ofRedisCommandsProvider.geoCommands()}.Description copied from interface:RedisGeoCommandsGet the members within the boundaries of a givenCircle.- Specified by:
geoRadiusin interfaceRedisGeoCommands- Parameters:
key- must not be null.within- must not be null.- Returns:
- null when used in pipeline / transaction.
- See Also:
-
geoRadius
@Deprecated default GeoResults<RedisGeoCommands.GeoLocation<byte[]>> geoRadius(byte[] key, Circle within, RedisGeoCommands.GeoRadiusCommandArgs args) Deprecated.in favor ofRedisCommandsProvider.geoCommands()}.Description copied from interface:RedisGeoCommandsGet the members within the boundaries of a givenCircleapplyingRedisGeoCommands.GeoRadiusCommandArgs.- Specified by:
geoRadiusin interfaceRedisGeoCommands- Parameters:
key- must not be null.within- must not be null.args- must not be null.- Returns:
- null when used in pipeline / transaction.
- See Also:
-
geoRadiusByMember
@Deprecated default GeoResults<RedisGeoCommands.GeoLocation<byte[]>> geoRadiusByMember(byte[] key, byte[] member, Distance radius) Deprecated.in favor ofRedisCommandsProvider.geoCommands()}.Description copied from interface:RedisGeoCommandsGet the members within the circle defined by the members coordinates and givenDistance.- Specified by:
geoRadiusByMemberin interfaceRedisGeoCommands- Parameters:
key- must not be null.member- must not be null.radius- must not be null.- Returns:
- null when used in pipeline / transaction..
- See Also:
-
geoRadiusByMember
@Deprecated default GeoResults<RedisGeoCommands.GeoLocation<byte[]>> geoRadiusByMember(byte[] key, byte[] member, Distance radius, RedisGeoCommands.GeoRadiusCommandArgs args) Deprecated.in favor ofRedisCommandsProvider.geoCommands()}.Description copied from interface:RedisGeoCommandsGet the members within the circle defined by the members coordinates, givenDistanceandRedisGeoCommands.GeoRadiusCommandArgs.- Specified by:
geoRadiusByMemberin interfaceRedisGeoCommands- Parameters:
key- must not be null.member- must not be null.radius- must not be null.args- must not be null.- Returns:
- null when used in pipeline / transaction.
- See Also:
-
geoRemove
Deprecated.in favor ofRedisCommandsProvider.geoCommands()}.Description copied from interface:RedisGeoCommandsRemove the members.- Specified by:
geoRemovein interfaceRedisGeoCommands- Parameters:
key- must not be null.members- must not be null.- Returns:
- Number of elements removed. null when used in pipeline / transaction.
- See Also:
-
geoSearch
@Deprecated default GeoResults<RedisGeoCommands.GeoLocation<byte[]>> geoSearch(byte[] key, GeoReference<byte[]> reference, GeoShape predicate, RedisGeoCommands.GeoSearchCommandArgs args) Deprecated.in favor ofRedisCommandsProvider.geoCommands()}.Description copied from interface:RedisGeoCommandsReturn the members of a geo set which are within the borders of the area specified by a givenshape. The query's center point is provided byGeoReference.- Specified by:
geoSearchin interfaceRedisGeoCommands- Parameters:
key- must not be null.reference- must not be null.predicate- must not be null.args- must not be null.- Returns:
- null when used in pipeline / transaction.
- See Also:
-
geoSearchStore
@Deprecated default Long geoSearchStore(byte[] destKey, byte[] key, GeoReference<byte[]> reference, GeoShape predicate, RedisGeoCommands.GeoSearchStoreCommandArgs args) Deprecated.in favor ofRedisCommandsProvider.geoCommands()}.Description copied from interface:RedisGeoCommandsQuery the members of a geo set which are within the borders of the area specified by a givenshapeand store the result atdestKey. The query's center point is provided byGeoReference.- Specified by:
geoSearchStorein interfaceRedisGeoCommandskey- must not be null.reference- must not be null.predicate- must not be null.args- must not be null.- Returns:
- null when used in pipeline / transaction.
- See Also:
-
pfAdd
Deprecated.in favor ofRedisCommandsProvider.hyperLogLogCommands().Description copied from interface:RedisHyperLogLogCommandsAdds given values to the HyperLogLog stored at given key.- Specified by:
pfAddin interfaceRedisHyperLogLogCommands- Parameters:
key- must not be null.values- must not be null.- Returns:
- null when used in pipeline / transaction.
- See Also:
-
pfCount
Deprecated.in favor ofRedisCommandsProvider.hyperLogLogCommands().Description copied from interface:RedisHyperLogLogCommandsReturn the approximated cardinality of the structures observed by the HyperLogLog at key(s).- Specified by:
pfCountin interfaceRedisHyperLogLogCommands- Parameters:
keys- must not be null.- Returns:
- null when used in pipeline / transaction.
- See Also:
-
pfMerge
Deprecated.in favor ofRedisCommandsProvider.hyperLogLogCommands().Description copied from interface:RedisHyperLogLogCommandsMerge N different HyperLogLogs at sourceKeys into a single destinationKey.- Specified by:
pfMergein interfaceRedisHyperLogLogCommands- Parameters:
destinationKey- must not be null.sourceKeys- must not be null.- See Also:
-
bgReWriteAof
Deprecated.in favor ofRedisCommandsProvider.serverCommands().Description copied from interface:RedisServerCommandsStart an Append Only File rewrite process on server.- Specified by:
bgReWriteAofin interfaceRedisServerCommands- See Also:
-
bgSave
Deprecated.in favor ofRedisCommandsProvider.serverCommands().Description copied from interface:RedisServerCommandsStart background saving of db on server.- Specified by:
bgSavein interfaceRedisServerCommands- See Also:
-
lastSave
Deprecated.in favor ofRedisCommandsProvider.serverCommands().Description copied from interface:RedisServerCommandsGet time of lastRedisServerCommands.bgSave()operation in seconds.- Specified by:
lastSavein interfaceRedisServerCommands- Returns:
- null when used in pipeline / transaction.
- See Also:
-
save
Deprecated.in favor ofRedisCommandsProvider.serverCommands().Description copied from interface:RedisServerCommandsSynchronous save current db snapshot on server.- Specified by:
savein interfaceRedisServerCommands- See Also:
-
dbSize
Deprecated.in favor ofRedisCommandsProvider.serverCommands().Description copied from interface:RedisServerCommandsGet the total number of available keys in currently selected database.- Specified by:
dbSizein interfaceRedisServerCommands- Returns:
- null when used in pipeline / transaction.
- See Also:
-
flushDb
Deprecated.in favor ofRedisCommandsProvider.serverCommands().Description copied from interface:RedisServerCommandsDelete all keys of the currently selected database.- Specified by:
flushDbin interfaceRedisServerCommands- See Also:
-
flushDb
Deprecated.in favor ofRedisCommandsProvider.serverCommands().Description copied from interface:RedisServerCommandsDelete all keys of the currently selected database using the specifiedRedisServerCommands.FlushOption.- Specified by:
flushDbin interfaceRedisServerCommands- See Also:
-
flushAll
Deprecated.in favor ofRedisCommandsProvider.serverCommands().Description copied from interface:RedisServerCommandsDelete all all keys from all databases.- Specified by:
flushAllin interfaceRedisServerCommands- See Also:
-
flushAll
Deprecated.in favor ofRedisCommandsProvider.serverCommands().Description copied from interface:RedisServerCommandsDelete all all keys from all databases using the specifiedRedisServerCommands.FlushOption.- Specified by:
flushAllin interfaceRedisServerCommands- See Also:
-
info
Deprecated.in favor ofRedisCommandsProvider.serverCommands().Description copied from interface:RedisServerCommandsLoad default server information like- memory
- cpu utilization
- replication
- Specified by:
infoin interfaceRedisServerCommands- Returns:
- null when used in pipeline / transaction.
- See Also:
-
info
Deprecated.in favor ofRedisCommandsProvider.serverCommands().Description copied from interface:RedisServerCommandsLoad server information for givenselection.- Specified by:
infoin interfaceRedisServerCommands- Returns:
- null when used in pipeline / transaction.
- See Also:
-
shutdown
Deprecated.in favor ofRedisCommandsProvider.serverCommands().Description copied from interface:RedisServerCommandsShutdown server.- Specified by:
shutdownin interfaceRedisServerCommands- See Also:
-
shutdown
Deprecated.in favor ofRedisCommandsProvider.serverCommands().Description copied from interface:RedisServerCommandsShutdown server.- Specified by:
shutdownin interfaceRedisServerCommands- See Also:
-
getConfig
Deprecated.in favor ofRedisCommandsProvider.serverCommands().Description copied from interface:RedisServerCommandsLoad configuration parameters for givenpatternfrom server.- Specified by:
getConfigin interfaceRedisServerCommands- Parameters:
pattern- must not be null.- Returns:
- null when used in pipeline / transaction.
- See Also:
-
setConfig
Deprecated.in favor ofRedisCommandsProvider.serverCommands().Description copied from interface:RedisServerCommandsSet server configuration forparamtovalue.- Specified by:
setConfigin interfaceRedisServerCommands- Parameters:
param- must not be null.value- must not be null.- See Also:
-
resetConfigStats
Deprecated.in favor ofRedisCommandsProvider.serverCommands().Description copied from interface:RedisServerCommandsReset statistic counters on server.
Counters can be retrieved usingRedisServerCommands.info().- Specified by:
resetConfigStatsin interfaceRedisServerCommands- See Also:
-
rewriteConfig
Deprecated.in favor ofRedisCommandsProvider.serverCommands().Description copied from interface:RedisServerCommandsRewrites theredis.conffile.- Specified by:
rewriteConfigin interfaceRedisServerCommands- See Also:
-
time
Deprecated.in favor ofRedisCommandsProvider.serverCommands().Description copied from interface:RedisServerCommandsRequest server timestamp usingTIMEcommand inTimeUnit.MILLISECONDS.- Specified by:
timein interfaceRedisServerCommands- Returns:
- current server time in milliseconds or null when used in pipeline / transaction.
- See Also:
-
time
Deprecated.in favor ofRedisCommandsProvider.serverCommands().Description copied from interface:RedisServerCommandsRequest server timestamp usingTIMEcommand.- Specified by:
timein interfaceRedisServerCommands- Parameters:
timeUnit- target unit.- Returns:
- current server time in
TimeUnitor null when used in pipeline / transaction. - See Also:
-
killClient
Deprecated.in favor ofRedisCommandsProvider.serverCommands().Description copied from interface:RedisServerCommandsCloses a given client connection identified by host:port.- Specified by:
killClientin interfaceRedisServerCommands- Parameters:
host- of connection to close.port- of connection to close- See Also:
-
setClientName
Deprecated.in favor ofRedisCommandsProvider.serverCommands().Description copied from interface:RedisServerCommandsAssign given name to current connection.- Specified by:
setClientNamein interfaceRedisServerCommands- See Also:
-
getClientName
Deprecated.in favor ofRedisCommandsProvider.serverCommands().Description copied from interface:RedisServerCommandsReturns the name of the current connection.- Specified by:
getClientNamein interfaceRedisServerCommands- Returns:
- null when used in pipeline / transaction.
- See Also:
-
getClientList
Deprecated.in favor ofRedisCommandsProvider.serverCommands().Description copied from interface:RedisServerCommandsRequest information and statistics about connected clients.- Specified by:
getClientListin interfaceRedisServerCommands- Returns:
ListofRedisClientInfoobjects or null when used in pipeline / transaction.- See Also:
-
replicaOf
Deprecated.in favor ofRedisCommandsProvider.serverCommands().Description copied from interface:RedisServerCommandsChange redis replication setting to new master.- Specified by:
replicaOfin interfaceRedisServerCommands- Parameters:
host- must not be null.- See Also:
-
replicaOfNoOne
Deprecated.in favor ofRedisCommandsProvider.serverCommands().Description copied from interface:RedisServerCommandsChange server into master.- Specified by:
replicaOfNoOnein interfaceRedisServerCommands- See Also:
-
migrate
@Deprecated default void migrate(byte[] key, RedisNode target, int dbIndex, @Nullable RedisServerCommands.MigrateOption option) Deprecated.in favor ofRedisCommandsProvider.serverCommands().Description copied from interface:RedisServerCommandsAtomically transfer a key from a source Redis instance to a destination Redis instance. On success the key is deleted from the original instance and is guaranteed to exist in the target instance.- Specified by:
migratein interfaceRedisServerCommands- Parameters:
key- must not be null.target- must not be null.option- can be null. Defaulted toRedisServerCommands.MigrateOption.COPY.- See Also:
-
migrate
@Deprecated default void migrate(byte[] key, RedisNode target, int dbIndex, @Nullable RedisServerCommands.MigrateOption option, long timeout) Deprecated.in favor ofRedisCommandsProvider.serverCommands().Description copied from interface:RedisServerCommandsAtomically transfer a key from a source Redis instance to a destination Redis instance. On success the key is deleted from the original instance and is guaranteed to exist in the target instance.- Specified by:
migratein interfaceRedisServerCommands- Parameters:
key- must not be null.target- must not be null.option- can be null. Defaulted toRedisServerCommands.MigrateOption.COPY.- See Also:
-
scriptFlush
Deprecated.in favor ofRedisCommandsProvider.scriptingCommands().Description copied from interface:RedisScriptingCommandsFlush lua script cache.- Specified by:
scriptFlushin interfaceRedisScriptingCommands- See Also:
-
scriptKill
Deprecated.in favor ofRedisCommandsProvider.scriptingCommands().Description copied from interface:RedisScriptingCommandsKill current lua script execution.- Specified by:
scriptKillin interfaceRedisScriptingCommands- See Also:
-
scriptLoad
Deprecated.in favor ofRedisCommandsProvider.scriptingCommands().Description copied from interface:RedisScriptingCommandsLoad lua script into scripts cache, without executing it.
Execute the script by callingRedisScriptingCommands.evalSha(byte[], ReturnType, int, byte[]...).- Specified by:
scriptLoadin interfaceRedisScriptingCommands- Parameters:
script- must not be null.- Returns:
- null when used in pipeline / transaction.
- See Also:
-
scriptExists
Deprecated.in favor ofRedisCommandsProvider.scriptingCommands().Description copied from interface:RedisScriptingCommandsCheck if givenscriptShasexist in script cache.- Specified by:
scriptExistsin interfaceRedisScriptingCommands- Returns:
- one entry per given scriptSha in returned
Listor null when used in pipeline / transaction. - See Also:
-
eval
@Deprecated default <T> T eval(byte[] script, ReturnType returnType, int numKeys, byte[]... keysAndArgs) Deprecated.in favor ofRedisCommandsProvider.scriptingCommands().Description copied from interface:RedisScriptingCommandsEvaluate givenscript.- Specified by:
evalin interfaceRedisScriptingCommands- Parameters:
script- must not be null.returnType- must not be null.keysAndArgs- must not be null.- Returns:
- script result. null when used in pipeline / transaction.
- See Also:
-
evalSha
@Deprecated default <T> T evalSha(String scriptSha, ReturnType returnType, int numKeys, byte[]... keysAndArgs) Deprecated.in favor ofRedisCommandsProvider.scriptingCommands().Description copied from interface:RedisScriptingCommandsEvaluate givenscriptSha.- Specified by:
evalShain interfaceRedisScriptingCommands- Parameters:
scriptSha- must not be null.returnType- must not be null.keysAndArgs- must not be null.- Returns:
- script result. null when used in pipeline / transaction.
- See Also:
-
evalSha
@Deprecated default <T> T evalSha(byte[] scriptSha, ReturnType returnType, int numKeys, byte[]... keysAndArgs) Deprecated.in favor ofRedisCommandsProvider.scriptingCommands().Description copied from interface:RedisScriptingCommandsEvaluate givenscriptSha.- Specified by:
evalShain interfaceRedisScriptingCommands- Parameters:
scriptSha- must not be null.returnType- must not be null.keysAndArgs- must not be null.- Returns:
- script result. null when used in pipeline / transaction.
- See Also:
-
zRangeStoreByLex
@Deprecated default Long zRangeStoreByLex(byte[] dstKey, byte[] srcKey, Range<byte[]> range, Limit limit) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.Description copied from interface:RedisZSetCommandsThis command is like ZRANGE , but stores the result in the dstKey destination key.- Specified by:
zRangeStoreByLexin interfaceRedisZSetCommands- Parameters:
dstKey- must not be null.srcKey- must not be null.range- must not be null.limit- must not be null.- Returns:
- null when used in pipeline / transaction.
- See Also:
-
zRangeStoreRevByLex
@Deprecated default Long zRangeStoreRevByLex(byte[] dstKey, byte[] srcKey, Range<byte[]> range, Limit limit) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.Description copied from interface:RedisZSetCommandsThis command is like ZRANGE … REV , but stores the result in the dstKey destination key.- Specified by:
zRangeStoreRevByLexin interfaceRedisZSetCommands- Parameters:
dstKey- must not be null.srcKey- must not be null.range- must not be null.limit- must not be null.- Returns:
- null when used in pipeline / transaction.
- See Also:
-
zRangeStoreByScore
@Deprecated default Long zRangeStoreByScore(byte[] dstKey, byte[] srcKey, Range<? extends Number> range, Limit limit) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.Description copied from interface:RedisZSetCommandsThis command is like ZRANGE, but stores the result in the dstKey destination key.- Specified by:
zRangeStoreByScorein interfaceRedisZSetCommands- Parameters:
dstKey- must not be null.srcKey- must not be null.range- must not be null.limit- must not be null.- Returns:
- null when used in pipeline / transaction.
- See Also:
-
zRangeStoreRevByScore
@Deprecated default Long zRangeStoreRevByScore(byte[] dstKey, byte[] srcKey, Range<? extends Number> range, Limit limit) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.Description copied from interface:RedisZSetCommandsThis command is like ZRANGE … REV, but stores the result in the dstKey destination key.- Specified by:
zRangeStoreRevByScorein interfaceRedisZSetCommands- Parameters:
dstKey- must not be null.srcKey- must not be null.range- must not be null.limit- must not be null.- Returns:
- null when used in pipeline / transaction.
- See Also:
-
RedisCommandsProvider.stringCommands()}.