クラス ReactiveStreamCommands.TrimCommand
java.lang.ObjectSE
org.springframework.data.redis.connection.ReactiveRedisConnection.KeyCommand
org.springframework.data.redis.connection.ReactiveStreamCommands.TrimCommand
- 実装されているすべてのインターフェース:
ReactiveRedisConnection.Command
- 含まれているインターフェース:
- ReactiveStreamCommands
XTRIM コマンドパラメーター。- 関連事項:
メソッドのサマリー
修飾子と型メソッド説明おおよそのトリミングを適用します。approximate(boolean approximateTrimming) approximateTrimmingを適用します。getCount()booleanstream(ByteBufferSE key) keySE を指定して新しいReactiveStreamCommands.TrimCommandを作成します。to(long count) 数値カウントを適用します。クラス org.springframework.data.redis.connection.ReactiveRedisConnection.KeyCommand から継承されたメソッド
getKeyクラス java.lang.ObjectSE から継承されたメソッド
clone, equalsSE, finalize, getClass, hashCode, notify, notifyAll, toString, wait, waitSE, waitSEインターフェース org.springframework.data.redis.connection.ReactiveRedisConnection.Command から継承されたメソッド
getName
メソッドの詳細
stream
keySE を指定して新しいReactiveStreamCommands.TrimCommandを作成します。- パラメーター:
key- null であってはなりません。- 戻り値:
keySE 用の新しいReactiveStreamCommands.TrimCommand。
to
数値カウントを適用します。以前に構成されたすべてのプロパティを使用して、新しいコマンドインスタンスを構築します。- パラメーター:
count-- 戻り値:
- カウントが適用された新しい
ReactiveStreamCommands.TrimCommand。
approximate
おおよそのトリミングを適用します。以前に構成されたすべてのプロパティを使用して、新しいコマンドインスタンスを構築します。- 戻り値:
- approximateTrimming が適用された新しい
ReactiveStreamCommands.TrimCommand。 - 導入:
- 2.4
approximate
approximateTrimmingを適用します。以前に構成されたすべてのプロパティを使用して、新しいコマンドインスタンスを構築します。- パラメーター:
approximateTrimming-- 戻り値:
- approximateTrimming が適用された新しい
ReactiveStreamCommands.TrimCommand。 - 導入:
- 2.4
getCount
- 戻り値:
- null でもかまいません。
isApproximateTrimming
public boolean isApproximateTrimming()