Uses of Class
org.springframework.data.redis.connection.RedisStreamCommands.XAddOptions
Package
Description
Connection package providing low-level abstractions for interacting with the various Redis 'drivers'/libraries.
Core package for integrating Redis with Spring concepts.
-
Uses of RedisStreamCommands.XAddOptions in org.springframework.data.redis.connection
Modifier and TypeMethodDescriptionRedisStreamCommands.XAddOptions.approximateTrimming
(boolean approximateTrimming) Apply efficient trimming for capped streams using the~
flag.RedisStreamCommands.XAddOptions.makeNoStream()
Disable creation of stream if it does not already exist.RedisStreamCommands.XAddOptions.makeNoStream
(boolean makeNoStream) Disable creation of stream if it does not already exist.RedisStreamCommands.XAddOptions.maxlen
(long maxlen) Limit the size of the stream to the given maximum number of elements.ApplyMINID
trimming strategy, that evicts entries with IDs lower than the one specified.RedisStreamCommands.XAddOptions.none()
Modifier and TypeMethodDescriptiondefault RecordId
DefaultedRedisConnection.xAdd
(MapRecord<byte[], byte[], byte[]> record, RedisStreamCommands.XAddOptions options) Deprecated.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) Add stream record with the specified options.RedisStreamCommands.xAdd
(MapRecord<byte[], byte[], byte[]> record, RedisStreamCommands.XAddOptions options) Append the givenrecord
to the stream stored atRecord#getStream
.StringRedisConnection.xAdd
(StringRecord record, RedisStreamCommands.XAddOptions options) Append the givenStringRecord
to the stream stored atRecord.getStream()
. -
Uses of RedisStreamCommands.XAddOptions in org.springframework.data.redis.core
Modifier and TypeMethodDescriptionBoundStreamOperations.add
(Map<HK, HV> content, RedisStreamCommands.XAddOptions xAddOptions) Append a record to the streamkey
with the specified options.default reactor.core.publisher.Mono<RecordId>
ReactiveStreamOperations.add
(K key, Map<? extends HK, ? extends HV> content, RedisStreamCommands.XAddOptions xAddOptions) Append a record to the streamkey
with the specified options.default reactor.core.publisher.Mono<RecordId>
ReactiveStreamOperations.add
(MapRecord<K, ? extends HK, ? extends HV> record, RedisStreamCommands.XAddOptions xAddOptions) Append a record, backed by aMap
holding the field/value pairs, to the stream with the specified options.reactor.core.publisher.Mono<RecordId>
ReactiveStreamOperations.add
(Record<K, ?> record, RedisStreamCommands.XAddOptions xAddOptions) Append the record, backed by the given value, to the stream with the specified options.default RecordId
StreamOperations.add
(K key, Map<? extends HK, ? extends HV> content, RedisStreamCommands.XAddOptions xAddOptions) Append a record to the streamkey
with the specified options.default RecordId
StreamOperations.add
(MapRecord<K, ? extends HK, ? extends HV> record, RedisStreamCommands.XAddOptions xAddOptions) Append a record, backed by aMap
holding the field/value pairs, to the stream with the specified options.StreamOperations.add
(Record<K, ?> record, RedisStreamCommands.XAddOptions xAddOptions) Append the record, backed by the given value, to the stream with the specified options.
RedisCommandsProvider.streamCommands()
}.