Class RedisStreamCommands.MinIdTrimStrategy
java.lang.Object
org.springframework.data.redis.connection.RedisStreamCommands.MinIdTrimStrategy
- All Implemented Interfaces:
RedisStreamCommands.TrimStrategy
- Enclosing interface:
- RedisStreamCommands
public static final class RedisStreamCommands.MinIdTrimStrategy
extends Object
implements RedisStreamCommands.TrimStrategy
Trimming strategy that evicts entries with IDs lower than the specified threshold.
- Since:
- 4.1
- See Also:
-
Method Summary
-
Method Details
-
threshold
The lowest stream ID allowed in the stream - all entries whose IDs are less than threshold are trimmed.- Returns:
- the lowest stream ID allowed in the stream
-