Uses of Class
org.springframework.data.redis.connection.RedisStreamCommands.XAddOptions
Packages that use 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
Methods in org.springframework.data.redis.connection that return RedisStreamCommands.XAddOptionsModifier 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.ApplyMINIDtrimming strategy, that evicts entries with IDs lower than the one specified.RedisStreamCommands.XAddOptions.none()Methods in org.springframework.data.redis.connection with parameters of type RedisStreamCommands.XAddOptionsModifier and TypeMethodDescriptiondefault RecordIdDefaultedRedisConnection.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) ReactiveStreamCommands.xAdd(ByteBufferRecord record, RedisStreamCommands.XAddOptions xAddOptions) Add stream record with the specified options.RedisStreamCommands.xAdd(MapRecord<byte[], byte[], byte[]> record, @NonNull RedisStreamCommands.XAddOptions options) Append the givenrecordto the stream stored atRecord#getStream.StringRedisConnection.xAdd(@NonNull StringRecord record, @NonNull RedisStreamCommands.XAddOptions options) Append the givenStringRecordto the stream stored atRecord.getStream(). -
Uses of RedisStreamCommands.XAddOptions in org.springframework.data.redis.core
Methods in org.springframework.data.redis.core with parameters of type RedisStreamCommands.XAddOptionsModifier and TypeMethodDescriptionBoundStreamOperations.add(@NonNull Map<@NonNull HK, HV> content, @NonNull RedisStreamCommands.XAddOptions xAddOptions) Append a record to the streamkeywith the specified options.ReactiveStreamOperations.add(@NonNull K key, @NonNull Map<? extends HK, ? extends HV> content, @NonNull RedisStreamCommands.XAddOptions xAddOptions) Append a record to the streamkeywith the specified options.ReactiveStreamOperations.add(@NonNull MapRecord<K, ? extends HK, ? extends HV> record, @NonNull RedisStreamCommands.XAddOptions xAddOptions) Append a record, backed by aMapholding the field/value pairs, to the stream with the specified options.ReactiveStreamOperations.add(@NonNull Record<K, ?> record, @NonNull RedisStreamCommands.XAddOptions xAddOptions) Append the record, backed by the given value, to the stream with the specified options.default RecordIdStreamOperations.add(@NonNull K key, @NonNull Map<? extends @NonNull HK, ? extends HV> content, @NonNull RedisStreamCommands.XAddOptions xAddOptions) Append a record to the streamkeywith the specified options.default RecordIdStreamOperations.add(@NonNull MapRecord<K, ? extends HK, ? extends HV> record, @NonNull RedisStreamCommands.XAddOptions xAddOptions) Append a record, backed by aMapholding the field/value pairs, to the stream with the specified options.StreamOperations.add(@NonNull Record<K, ?> record, @NonNull RedisStreamCommands.XAddOptions xAddOptions) Append the record, backed by the given value, to the stream with the specified options.
RedisCommandsProvider.streamCommands()}.