Package | Description |
---|---|
org.springframework.data.redis.connection |
Connection package providing low-level abstractions for interacting with the various Redis 'drivers'/libraries.
|
Modifier and Type | Method and Description |
---|---|
static RedisStreamCommands.XAddOptions |
RedisStreamCommands.XAddOptions.maxlen(long maxlen)
Limit the size of the stream to the given maximum number of elements.
|
static RedisStreamCommands.XAddOptions |
RedisStreamCommands.XAddOptions.none() |
Modifier and Type | Method and Description |
---|---|
RecordId |
DefaultStringRedisConnection.xAdd(MapRecord<byte[],byte[],byte[]> record,
RedisStreamCommands.XAddOptions options) |
default RecordId |
DefaultedRedisConnection.xAdd(MapRecord<byte[],byte[],byte[]> record,
RedisStreamCommands.XAddOptions options)
Deprecated.
in favor of
RedisConnection.streamCommands() }. |
RecordId |
RedisStreamCommands.xAdd(MapRecord<byte[],byte[],byte[]> record,
RedisStreamCommands.XAddOptions options)
Append the given
record to the stream stored at Record.getStream() . |
RecordId |
DefaultStringRedisConnection.xAdd(StringRecord record,
RedisStreamCommands.XAddOptions options) |
RecordId |
StringRedisConnection.xAdd(StringRecord record,
RedisStreamCommands.XAddOptions options)
Append the given
StringRecord to the stream stored at Record.getStream() . |
Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.