Uses of Interface
com.rabbitmq.stream.ConsumerFlowStrategy
Packages that use ConsumerFlowStrategy
-
Uses of ConsumerFlowStrategy in com.rabbitmq.stream
Classes in com.rabbitmq.stream that implement ConsumerFlowStrategyModifier and TypeClassDescriptionstatic final class
Strategy that provides the specified number of initial credits andn
credits everyn
chunks.static final class
Strategy that provides the specified number of initial credits and a credit on each new chunk.static final class
Strategy that provides the specified number of initial credits and a credit when the specified ratio of the chunk messages are processed.Methods in com.rabbitmq.stream that return ConsumerFlowStrategyModifier and TypeMethodDescriptionstatic ConsumerFlowStrategy
ConsumerFlowStrategy.creditEveryNthChunk
(int initialCredits, int n) Strategy that provides the specified number of initial credits andn
credits everyn
chunks.static ConsumerFlowStrategy
ConsumerFlowStrategy.creditOnChunkArrival()
Strategy that provides 1 initial credit and a credit on each new chunk.static ConsumerFlowStrategy
ConsumerFlowStrategy.creditOnChunkArrival
(int initialCredits) Strategy that provides the specified number of initial credits and a credit on each new chunk.static ConsumerFlowStrategy
ConsumerFlowStrategy.creditOnProcessedMessageCount
(int initialCredits, double ratio) Strategy that provides the specified number of initial credits and a credit when the specified ratio of the chunk messages are processed.static ConsumerFlowStrategy
ConsumerFlowStrategy.creditWhenHalfMessagesProcessed()
Strategy that provides 10 initial credits and a credit when half of the chunk messages are processed.static ConsumerFlowStrategy
ConsumerFlowStrategy.creditWhenHalfMessagesProcessed
(int initialCredits) Strategy that provides the specified number of initial credits and a credit when half of the chunk messages are processed.Methods in com.rabbitmq.stream with parameters of type ConsumerFlowStrategyModifier and TypeMethodDescriptionConsumerBuilder.FlowConfiguration.strategy
(ConsumerFlowStrategy strategy) Flow strategy to use