Uses of Class
org.springframework.data.redis.connection.stream.ReadOffset
Package
Description
Connection package providing low-level abstractions for interacting with the various Redis 'drivers'/libraries.
Data structures and interfaces to interact with Redis Streams.
Core package for integrating Redis with Spring concepts.
-
Uses of ReadOffset in org.springframework.data.redis.connection
Modifier and TypeMethodDescriptionReactiveStreamCommands.GroupCommand.at
(ReadOffset offset) default String
DefaultedRedisConnection.xGroupCreate
(byte[] key, String groupName, ReadOffset readOffset) Deprecated.default String
DefaultedRedisConnection.xGroupCreate
(byte[] key, String groupName, ReadOffset readOffset, boolean mkStream) Deprecated.in favor ofRedisCommandsProvider.streamCommands()
}.DefaultStringRedisConnection.xGroupCreate
(byte[] key, String groupName, ReadOffset readOffset) DefaultStringRedisConnection.xGroupCreate
(byte[] key, String groupName, ReadOffset readOffset, boolean mkStream) DefaultStringRedisConnection.xGroupCreate
(String key, ReadOffset readOffset, String group) DefaultStringRedisConnection.xGroupCreate
(String key, ReadOffset readOffset, String group, boolean mkStream) default reactor.core.publisher.Mono<String>
ReactiveStreamCommands.xGroupCreate
(ByteBuffer key, String groupName, ReadOffset readOffset) Create a consumer group.default reactor.core.publisher.Mono<String>
ReactiveStreamCommands.xGroupCreate
(ByteBuffer key, String groupName, ReadOffset readOffset, boolean mkStream) Create a consumer group.RedisStreamCommands.xGroupCreate
(byte[] key, String groupName, ReadOffset readOffset) Create a consumer group.RedisStreamCommands.xGroupCreate
(byte[] key, String groupName, ReadOffset readOffset, boolean mkStream) Create a consumer group.StringRedisConnection.xGroupCreate
(String key, ReadOffset readOffset, String group) Create a consumer group.StringRedisConnection.xGroupCreate
(String key, ReadOffset readOffset, String group, boolean mkStream) Create a consumer group.ModifierConstructorDescriptionGroupCommand
(ByteBuffer key, ReactiveStreamCommands.GroupCommand.GroupCommandAction action, String groupName, String consumerName, ReadOffset offset) GroupCommand
(ByteBuffer key, ReactiveStreamCommands.GroupCommand.GroupCommandAction action, String groupName, String consumerName, ReadOffset offset, boolean mkStream) -
Uses of ReadOffset in org.springframework.data.redis.connection.stream
Modifier and TypeMethodDescriptionstatic ReadOffset
Read all arriving elements from the stream starting atoffset
.static ReadOffset
Read all arriving elements from the stream starting atRecordId
.StreamOffset.getOffset()
static ReadOffset
ReadOffset.lastConsumed()
Read all new arriving elements with ids greater than the last one consumed by the consumer group.static ReadOffset
ReadOffset.latest()
Read from the latest offset.Modifier and TypeMethodDescriptionstatic <K> StreamOffset<K>
StreamOffset.create
(K stream, ReadOffset readOffset) -
Uses of ReadOffset in org.springframework.data.redis.core
Modifier and TypeMethodDescriptionBoundStreamOperations.createGroup
(ReadOffset readOffset, String group) Create a consumer group.reactor.core.publisher.Mono<String>
ReactiveStreamOperations.createGroup
(K key, ReadOffset readOffset, String group) Create a consumer group.StreamOperations.createGroup
(K key, ReadOffset readOffset, String group) Create a consumer group.BoundStreamOperations.read
(Consumer consumer, ReadOffset readOffset) Read records starting fromReadOffset
. using a consumer group.BoundStreamOperations.read
(Consumer consumer, StreamReadOptions readOptions, ReadOffset readOffset) Read records starting fromReadOffset
. using a consumer group.BoundStreamOperations.read
(ReadOffset readOffset) Read records fromReadOffset
.BoundStreamOperations.read
(StreamReadOptions readOptions, ReadOffset readOffset) Read records starting fromReadOffset
.
RedisCommandsProvider.streamCommands()
}.