Uses of Class
org.springframework.data.redis.connection.stream.StreamOffset
Packages that use StreamOffset
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 StreamOffset in org.springframework.data.redis.connection
Methods in org.springframework.data.redis.connection that return types with arguments of type StreamOffsetMethods in org.springframework.data.redis.connection with parameters of type StreamOffsetModifier and TypeMethodDescriptionReactiveStreamCommands.ReadCommand.from(StreamOffset<ByteBuffer> streamOffset) Creates a newReactiveStreamCommands.ReadCommandgiven aStreamOffset.ReactiveStreamCommands.ReadCommand.from(StreamOffset<ByteBuffer>... streamOffsets) Creates a newReactiveStreamCommands.ReadCommandgiven aStreamOffsets.default List<ByteRecord>DefaultedRedisConnection.xRead(StreamOffset<byte[]>... streams) Deprecated.default List<ByteRecord>DefaultedRedisConnection.xRead(StreamReadOptions readOptions, StreamOffset<byte[]>... streams) Deprecated.in favor ofRedisCommandsProvider.streamCommands()}.DefaultStringRedisConnection.xRead(StreamReadOptions readOptions, StreamOffset<byte[]>... streams) default Flux<ByteBufferRecord>ReactiveStreamCommands.xRead(StreamOffset<ByteBuffer>... streams) Read records from one or moreStreamOffsets.default Flux<ByteBufferRecord>ReactiveStreamCommands.xRead(StreamReadOptions readOptions, StreamOffset<ByteBuffer>... streams) Read records from one or moreStreamOffsets.List<@NonNull ByteRecord>RedisStreamCommands.xRead(@NonNull StreamReadOptions readOptions, @NonNull StreamOffset<byte[]> @NonNull ... streams) Read records from one or moreStreamOffsets.default List<@NonNull ByteRecord>RedisStreamCommands.xRead(StreamOffset<byte @NonNull []> @NonNull ... streams) Read records from one or moreStreamOffsets.DefaultStringRedisConnection.xReadAsString(StreamReadOptions readOptions, StreamOffset<String>... streams) default List<StringRecord>StringRedisConnection.xReadAsString(@NonNull StreamOffset<String> stream) Read records from one or moreStreamOffsets.default List<StringRecord>StringRedisConnection.xReadAsString(@NonNull StreamOffset<String>... streams) Read records from one or moreStreamOffsets.default List<StringRecord>StringRedisConnection.xReadAsString(@NonNull StreamReadOptions readOptions, @NonNull StreamOffset<String> stream) Read records from one or moreStreamOffsets.StringRedisConnection.xReadAsString(@NonNull StreamReadOptions readOptions, @NonNull StreamOffset<String>... streams) Read records from one or moreStreamOffsets.default List<ByteRecord>DefaultedRedisConnection.xReadGroup(Consumer consumer, StreamOffset<byte[]>... streams) Deprecated.in favor ofRedisCommandsProvider.streamCommands()}.default List<ByteRecord>DefaultedRedisConnection.xReadGroup(Consumer consumer, StreamReadOptions readOptions, StreamOffset<byte[]>... streams) Deprecated.in favor ofRedisCommandsProvider.streamCommands()}.DefaultStringRedisConnection.xReadGroup(Consumer consumer, StreamReadOptions readOptions, StreamOffset<byte[]>... streams) default Flux<ByteBufferRecord>ReactiveStreamCommands.xReadGroup(Consumer consumer, StreamOffset<ByteBuffer>... streams) Read records from one or moreStreamOffsets using a consumer group.default Flux<ByteBufferRecord>ReactiveStreamCommands.xReadGroup(Consumer consumer, StreamReadOptions readOptions, StreamOffset<ByteBuffer>... streams) Read records from one or moreStreamOffsets using a consumer group.default List<@NonNull ByteRecord>RedisStreamCommands.xReadGroup(@NonNull Consumer consumer, @NonNull StreamOffset<byte[]> @NonNull ... streams) Read records from one or moreStreamOffsets using a consumer group.List<@NonNull ByteRecord>RedisStreamCommands.xReadGroup(@NonNull Consumer consumer, @NonNull StreamReadOptions readOptions, @NonNull StreamOffset<byte[]> @NonNull ... streams) Read records from one or moreStreamOffsets using a consumer group.DefaultStringRedisConnection.xReadGroupAsString(Consumer consumer, StreamReadOptions readOptions, StreamOffset<String>... streams) default List<StringRecord>StringRedisConnection.xReadGroupAsString(@NonNull Consumer consumer, @NonNull StreamOffset<String> stream) Read records from one or moreStreamOffsets using a consumer group.default List<StringRecord>StringRedisConnection.xReadGroupAsString(@NonNull Consumer consumer, @NonNull StreamOffset<String> @NonNull ... streams) Read records from one or moreStreamOffsets using a consumer group.default List<StringRecord>StringRedisConnection.xReadGroupAsString(@NonNull Consumer consumer, @NonNull StreamReadOptions readOptions, @NonNull StreamOffset<String> stream) Read records from one or moreStreamOffsets using a consumer group.StringRedisConnection.xReadGroupAsString(@NonNull Consumer consumer, @NonNull StreamReadOptions readOptions, @NonNull StreamOffset<String> @NonNull ... streams) Read records from one or moreStreamOffsets using a consumer group.Constructor parameters in org.springframework.data.redis.connection with type arguments of type StreamOffsetModifierConstructorDescriptionReadCommand(List<StreamOffset<ByteBuffer>> streamOffsets, @Nullable StreamReadOptions readOptions, @Nullable Consumer consumer) -
Uses of StreamOffset in org.springframework.data.redis.connection.stream
Methods in org.springframework.data.redis.connection.stream that return StreamOffsetModifier and TypeMethodDescriptionstatic <K> StreamOffset<K>StreamOffset.create(K stream, ReadOffset readOffset) static <K> StreamOffset<K>static <K> StreamOffset<K>StreamOffset.fromStart(K stream) static <K> StreamOffset<K>StreamOffset.latest(K stream) -
Uses of StreamOffset in org.springframework.data.redis.core
Methods in org.springframework.data.redis.core with parameters of type StreamOffsetModifier and TypeMethodDescriptiondefault <V> Flux<ObjectRecord<K,V>> ReactiveStreamOperations.read(@NonNull Class<V> targetType, @NonNull Consumer consumer, @NonNull StreamOffset<K> @NonNull ... streams) Read records from one or moreStreamOffsets using a consumer group asObjectRecord.default <V> Flux<ObjectRecord<K,V>> ReactiveStreamOperations.read(@NonNull Class<V> targetType, @NonNull Consumer consumer, @NonNull StreamReadOptions readOptions, @NonNull StreamOffset<K> @NonNull ... streams) Read records from one or moreStreamOffsets using a consumer group asObjectRecord.default <V> Flux<ObjectRecord<K,V>> ReactiveStreamOperations.read(@NonNull Class<V> targetType, @NonNull StreamOffset<K> stream) Read records from aStreamOffsetasObjectRecord.default <V> Flux<ObjectRecord<K,V>> ReactiveStreamOperations.read(@NonNull Class<V> targetType, @NonNull StreamOffset<K>... streams) Read records from one or moreStreamOffsets asObjectRecord.default <V> Flux<ObjectRecord<K,V>> ReactiveStreamOperations.read(@NonNull Class<V> targetType, @NonNull StreamReadOptions readOptions, @NonNull StreamOffset<K> @NonNull ... streams) Read records from one or moreStreamOffsets asObjectRecord.ReactiveStreamOperations.read(@NonNull Consumer consumer, @NonNull StreamOffset<K> @NonNull ... streams) Read records from one or moreStreamOffsets using a consumer group.ReactiveStreamOperations.read(@NonNull Consumer consumer, @NonNull StreamReadOptions readOptions, @NonNull StreamOffset<K>... streams) Read records from one or moreStreamOffsets using a consumer group.ReactiveStreamOperations.read(@NonNull StreamOffset<K> stream) Read records from aStreamOffsetasObjectRecord.ReactiveStreamOperations.read(@NonNull StreamOffset<K>... streams) Read records from one or moreStreamOffsets.ReactiveStreamOperations.read(@NonNull StreamReadOptions readOptions, @NonNull StreamOffset<K> @NonNull ... streams) Read records from one or moreStreamOffsets.default <V> List<ObjectRecord<K,V>> StreamOperations.read(@NonNull Class<V> targetType, @NonNull Consumer consumer, @NonNull StreamReadOptions readOptions, StreamOffset<@NonNull K> @NonNull ... streams) Read records from one or moreStreamOffsets using a consumer group asObjectRecord.default <V> List<ObjectRecord<K,V>> StreamOperations.read(@NonNull Class<V> targetType, @NonNull Consumer consumer, StreamOffset<@NonNull K> @NonNull ... streams) Read records from one or moreStreamOffsets using a consumer group asObjectRecord.default <V> List<@NonNull ObjectRecord<K,V>> StreamOperations.read(@NonNull Class<V> targetType, @NonNull StreamReadOptions readOptions, StreamOffset<@NonNull K> @NonNull ... streams) Read records from one or moreStreamOffsets asObjectRecord.default <V> List<@NonNull ObjectRecord<K,V>> StreamOperations.read(@NonNull Class<V> targetType, StreamOffset<@NonNull K> @NonNull ... streams) Read records from one or moreStreamOffsets asObjectRecord.StreamOperations.read(@NonNull Consumer consumer, @NonNull StreamReadOptions readOptions, StreamOffset<@NonNull K> @NonNull ... streams) Read records from one or moreStreamOffsets using a consumer group.StreamOperations.read(@NonNull Consumer consumer, StreamOffset<@NonNull K> @NonNull ... streams) Read records from one or moreStreamOffsets using a consumer group.StreamOperations.read(@NonNull StreamReadOptions readOptions, StreamOffset<@NonNull K> @NonNull ... streams) Read records from one or moreStreamOffsets.StreamOperations.read(StreamOffset<@NonNull K> @NonNull ... streams) Read records from one or moreStreamOffsets. -
Uses of StreamOffset in org.springframework.data.redis.stream
Methods in org.springframework.data.redis.stream that return StreamOffsetModifier and TypeMethodDescriptionStreamMessageListenerContainer.StreamReadRequest.getStreamOffset()Methods in org.springframework.data.redis.stream with parameters of type StreamOffsetModifier and TypeMethodDescriptionstatic <K> StreamMessageListenerContainer.StreamReadRequestBuilder<K>StreamMessageListenerContainer.StreamReadRequest.builder(StreamOffset<K> offset) default SubscriptionStreamMessageListenerContainer.receive(Consumer consumer, StreamOffset<K> streamOffset, StreamListener<K, V> listener) Register a new subscription for a Redis Stream.default SubscriptionStreamMessageListenerContainer.receive(StreamOffset<K> streamOffset, StreamListener<K, V> listener) Register a new subscription for a Redis Stream.StreamReceiver.receive(Consumer consumer, StreamOffset<K> streamOffset) StreamReceiver.receive(StreamOffset<K> streamOffset) default SubscriptionStreamMessageListenerContainer.receiveAutoAck(Consumer consumer, StreamOffset<K> streamOffset, StreamListener<K, V> listener) Register a new subscription for a Redis Stream.StreamReceiver.receiveAutoAck(Consumer consumer, StreamOffset<K> streamOffset)
RedisCommandsProvider.streamCommands()}.