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.
-
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) 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()
.
RedisCommandsProvider.streamCommands()
}.