クラス RedisStreamCommands.MaxLenTrimStrategy
java.lang.ObjectSE
org.springframework.data.redis.connection.RedisStreamCommands.MaxLenTrimStrategy
- 実装済みのインターフェース一覧:
RedisStreamCommands.TrimStrategy
- 含まれているインターフェース:
RedisStreamCommands
public static final class RedisStreamCommands.MaxLenTrimStrategy
extends ObjectSE
implements RedisStreamCommands.TrimStrategy
ストリームの長さが指定されたしきい値を超えている限り、エントリを削除するトリミング戦略。
- 導入:
- 4.1
- 作成者:
- Mark Paluch, Christoph Strobl, Tugdual Grall, Dengliming, Mark John Moreno, Jeonggyu Choi, Viktoriya Kutsarova
- 関連事項:
方法の概要
方法の詳細
threshold
public long threshold()ストリームで許可されるエントリの最大数。- 戻り値:
- ストリームで許可されるエントリの非負数