Uses of Class
org.springframework.data.redis.connection.RedisStreamCommands.TrimOptions
Packages that use RedisStreamCommands.TrimOptions
Package
Description
Connection package providing low-level abstractions for interacting with the various Redis 'drivers'/libraries.
-
Uses of RedisStreamCommands.TrimOptions in org.springframework.data.redis.connection
Methods in org.springframework.data.redis.connection that return RedisStreamCommands.TrimOptionsModifier and TypeMethodDescriptionRedisStreamCommands.TrimOptions.approximate()Use approximate trimming ("~").RedisStreamCommands.TrimOptions.deletionPolicy(RedisStreamCommands.StreamDeletionPolicy deletionPolicy) Set the deletion policy for trimming.RedisStreamCommands.TrimOptions.exact()Use exact trimming ("=").@Nullable RedisStreamCommands.TrimOptionsRedisStreamCommands.XAddOptions.getTrimOptions()RedisStreamCommands.XTrimOptions.getTrimOptions()RedisStreamCommands.TrimOptions.limit(long limit) Limit the maximum number of entries considered when trimming.RedisStreamCommands.TrimOptions.maxLen(long maxLen) Create trim options using the MAXLEN strategy with the given threshold.Create trim options using the MINID strategy with the given minimum id.RedisStreamCommands.TrimOptions.trim(RedisStreamCommands.TrimOperator trimOperator) Apply specified trim operator.Methods in org.springframework.data.redis.connection with parameters of type RedisStreamCommands.TrimOptionsModifier and TypeMethodDescriptionRedisStreamCommands.XTrimOptions.of(RedisStreamCommands.TrimOptions trimOptions) Backward-compatible factory alias for creatingRedisStreamCommands.XTrimOptionsfromRedisStreamCommands.TrimOptions.RedisStreamCommands.XAddOptions.trim(@Nullable RedisStreamCommands.TrimOptions trimOptions) RedisStreamCommands.XTrimOptions.trim(RedisStreamCommands.TrimOptions trimOptions)