Uses of Class
com.rabbitmq.stream.OffsetSpecification
-
Packages that use OffsetSpecification Package Description com.rabbitmq.stream Main API for RabbitMQ Stream Java Client.com.rabbitmq.stream.impl Implementation-specific, non-public interfaces and classes of the RabbitMQ Stream Java Client. -
-
Uses of OffsetSpecification in com.rabbitmq.stream
Methods in com.rabbitmq.stream that return OffsetSpecification Modifier and Type Method Description static OffsetSpecificationOffsetSpecification. first()The first available offset in the stream.static OffsetSpecificationOffsetSpecification. last()The last chunk of messages in the stream.static OffsetSpecificationOffsetSpecification. next()The next offset to be written, that is the end of the stream.static OffsetSpecificationOffsetSpecification. none()When the offset specification is not relevant.static OffsetSpecificationOffsetSpecification. offset(long offset)A specific offset in the stream.OffsetSpecificationSubscriptionListener.SubscriptionContext. offsetSpecification()The offset specification computed by the library.static OffsetSpecificationOffsetSpecification. timestamp(long timestamp)Offset of messages stored after the specified timestamp.OffsetSpecificationConsumerUpdateListener. update(ConsumerUpdateListener.Context context)Callback when the consumer status change.Methods in com.rabbitmq.stream with parameters of type OffsetSpecification Modifier and Type Method Description ConsumerBuilderConsumerBuilder. offset(OffsetSpecification offsetSpecification)The offset to start consuming from.voidSubscriptionListener.SubscriptionContext. offsetSpecification(OffsetSpecification offsetSpecification)Set the offset specification to use for the subscription. -
Uses of OffsetSpecification in com.rabbitmq.stream.impl
Methods in com.rabbitmq.stream.impl that return OffsetSpecification Modifier and Type Method Description OffsetSpecificationClient.ConsumerUpdateListener. handle(Client client, byte subscriptionId, boolean active)Methods in com.rabbitmq.stream.impl with parameters of type OffsetSpecification Modifier and Type Method Description voidClient. consumerUpdateResponse(int correlationId, short responseCode, OffsetSpecification offsetSpecification)Client.ResponseClient. subscribe(byte subscriptionId, String stream, OffsetSpecification offsetSpecification, int credit)Subscribe to receive messages from a stream.Client.ResponseClient. subscribe(byte subscriptionId, String stream, OffsetSpecification offsetSpecification, int initialCredits, Map<String,String> properties)Subscribe to receive messages from a stream.
-