クラスの使用
org.springframework.data.redis.connection.RedisStreamCommands.XAddOptions
RedisStreamCommands.XAddOptions を使用するパッケージ
パッケージ
説明
さまざまな Redis ' ドライバー '/libraries と対話するための低レベルの抽象化を提供する接続パッケージ。
Redis を Spring の概念と統合するためのコアパッケージ。
org.springframework.data.redis.connection 内の RedisStreamCommands.XAddOptions 使用
修飾子と型メソッド説明RedisStreamCommands.XAddOptions.approximateTrimming
(boolean approximateTrimming) ~
フラグを使用して、上限のあるストリームに効率的なトリミングを適用します。RedisStreamCommands.XAddOptions.makeNoStream()
ストリームがまだ存在しない場合は、ストリームの作成を無効にします。RedisStreamCommands.XAddOptions.makeNoStream
(boolean makeNoStream) ストリームがまだ存在しない場合は、ストリームの作成を無効にします。RedisStreamCommands.XAddOptions.maxlen
(long maxlen) ストリームのサイズを指定された最大要素数に制限します。指定された ID よりも低い ID を持つエントリを削除するMINID
トリミング戦略を適用します。RedisStreamCommands.XAddOptions.none()
型 RedisStreamCommands.XAddOptions のパラメーターを持つ org.springframework.data.redis.connection のメソッド修飾子と型メソッド説明default RecordId
DefaultedRedisConnection.xAdd
(MapRecord<byte[], byte[], byte[]> record, RedisStreamCommands.XAddOptions options) 使用すべきではありません。DefaultStringRedisConnection.xAdd
(MapRecord<byte[], byte[], byte[]> record, RedisStreamCommands.XAddOptions options) DefaultStringRedisConnection.xAdd
(StringRecord record, RedisStreamCommands.XAddOptions options) default reactor.core.publisher.Mono<RecordId>
ReactiveStreamCommands.xAdd
(ByteBufferRecord record, RedisStreamCommands.XAddOptions xAddOptions) 指定されたオプションでストリームレコードを追加します。RedisStreamCommands.xAdd
(MapRecord<byte[], byte[], byte[]> record, RedisStreamCommands.XAddOptions options) 指定されたrecord
をRecord#getStream
に保存されているストリームに追加します。StringRedisConnection.xAdd
(StringRecord record, RedisStreamCommands.XAddOptions options) 指定されたStringRecord
をRecord.getStream()
に保存されているストリームに追加します。org.springframework.data.redis.core 内の RedisStreamCommands.XAddOptions 使用
型 RedisStreamCommands.XAddOptions のパラメーターを持つ org.springframework.data.redis.core のメソッド修飾子と型メソッド説明BoundStreamOperations.add
(MapSE<HK, HV> content, RedisStreamCommands.XAddOptions xAddOptions) 指定されたオプションを使用して、ストリームkey
にレコードを追加します。default reactor.core.publisher.Mono<RecordId>
ReactiveStreamOperations.add
(K key, MapSE<? extends HK, ? extends HV> content, RedisStreamCommands.XAddOptions xAddOptions) 指定されたオプションを使用して、ストリームkey
にレコードを追加します。default reactor.core.publisher.Mono<RecordId>
ReactiveStreamOperations.add
(MapRecord<K, ? extends HK, ? extends HV> record, RedisStreamCommands.XAddOptions xAddOptions) 指定されたオプションを使用して、フィールド / 値のペアを保持するMap
SE によってサポートされるレコードをストリームに追加します。reactor.core.publisher.Mono<RecordId>
ReactiveStreamOperations.add
(Record<K, ?> record, RedisStreamCommands.XAddOptions xAddOptions) 指定された値に基づくレコードを、指定されたオプションを使用してストリームに追加します。default RecordId
StreamOperations.add
(K key, MapSE<? extends HK, ? extends HV> content, RedisStreamCommands.XAddOptions xAddOptions) 指定されたオプションを使用して、ストリームkey
にレコードを追加します。default RecordId
StreamOperations.add
(MapRecord<K, ? extends HK, ? extends HV> record, RedisStreamCommands.XAddOptions xAddOptions) 指定されたオプションを使用して、フィールド / 値のペアを保持するMap
SE によってサポートされるレコードをストリームに追加します。StreamOperations.add
(Record<K, ?> record, RedisStreamCommands.XAddOptions xAddOptions) 指定された値に基づくレコードを、指定されたオプションを使用してストリームに追加します。
RedisCommandsProvider.streamCommands()
を推奨。