Uses of Interface
com.rabbitmq.stream.ConsumerFlowStrategy
-
Packages that use ConsumerFlowStrategy Package Description com.rabbitmq.stream Main API for RabbitMQ Stream Java Client. -
-
Uses of ConsumerFlowStrategy in com.rabbitmq.stream
Classes in com.rabbitmq.stream that implement ConsumerFlowStrategy Modifier and Type Class Description static classConsumerFlowStrategy.CreditEveryNthChunkConsumerFlowStrategyStrategy that provides the specified number of initial credits andncredits everynchunks.static classConsumerFlowStrategy.CreditOnChunkArrivalConsumerFlowStrategyStrategy that provides the specified number of initial credits and a credit on each new chunk.static classConsumerFlowStrategy.MessageCountConsumerFlowStrategyStrategy 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 ConsumerFlowStrategy Modifier and Type Method Description static ConsumerFlowStrategyConsumerFlowStrategy. creditEveryNthChunk(int initialCredits, int n)Strategy that provides the specified number of initial credits andncredits everynchunks.static ConsumerFlowStrategyConsumerFlowStrategy. creditOnChunkArrival()Strategy that provides 1 initial credit and a credit on each new chunk.static ConsumerFlowStrategyConsumerFlowStrategy. creditOnChunkArrival(int initialCredits)Strategy that provides the specified number of initial credits and a credit on each new chunk.static ConsumerFlowStrategyConsumerFlowStrategy. 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 ConsumerFlowStrategyConsumerFlowStrategy. creditWhenHalfMessagesProcessed()Strategy that provides 10 initial credits and a credit when half of the chunk messages are processed.static ConsumerFlowStrategyConsumerFlowStrategy. 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 ConsumerFlowStrategy Modifier and Type Method Description ConsumerBuilder.FlowConfigurationConsumerBuilder.FlowConfiguration. strategy(ConsumerFlowStrategy strategy)Flow strategy to use
-