Uses of Class
org.springframework.data.redis.connection.ReactiveStreamCommands.TrimCommand
Packages that use ReactiveStreamCommands.TrimCommand
Package
Description
Connection package providing low-level abstractions for interacting with the various Redis 'drivers'/libraries.
-
Uses of ReactiveStreamCommands.TrimCommand in org.springframework.data.redis.connection
Methods in org.springframework.data.redis.connection that return ReactiveStreamCommands.TrimCommandModifier and TypeMethodDescriptionReactiveStreamCommands.TrimCommand.approximate()Deprecated.since 4.0: do not toggle the trim operator in isolation.ReactiveStreamCommands.TrimCommand.approximate(boolean approximateTrimming) Deprecated.since 4.0: do not toggle the trim operator in isolation.ReactiveStreamCommands.TrimCommand.options(RedisStreamCommands.XTrimOptions options) Apply the givenRedisStreamCommands.XTrimOptionsto configure the XTRIM command.ReactiveStreamCommands.TrimCommand.stream(ByteBuffer key) Deprecated.since 4.0, preferstream(ByteBuffer, XTrimOptions)instead.ReactiveStreamCommands.TrimCommand.stream(ByteBuffer key, RedisStreamCommands.XTrimOptions options) ReactiveStreamCommands.TrimCommand.to(long threshold) Deprecated.since 4.0: specify a concrete trim strategy (MAXLEN or MINID) viaRedisStreamCommands.XTrimOptionsandRedisStreamCommands.TrimOptionsinstead of using this method.Method parameters in org.springframework.data.redis.connection with type arguments of type ReactiveStreamCommands.TrimCommandModifier and TypeMethodDescriptionReactiveStreamCommands.xTrim(Publisher<ReactiveStreamCommands.TrimCommand> commands) Trims the stream tocountelements.