クラス 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()
boolean
stream
(ByteBufferSE key) key
SE を指定して新しい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
key
SE を指定して新しいReactiveStreamCommands.TrimCommand
を作成します。- パラメーター:
key
- null であってはなりません。- 戻り値:
key
SE 用の新しい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()