Class BatchedAckQueueConsumer<PK extends io.datarouter.model.key.primary.PrimaryKey<PK>,D extends io.datarouter.model.databean.Databean<PK,D>>
java.lang.Object
io.datarouter.storage.queue.consumer.BatchedAckQueueConsumer<PK,D>
public class BatchedAckQueueConsumer<PK extends io.datarouter.model.key.primary.PrimaryKey<PK>,D extends io.datarouter.model.databean.Databean<PK,D>>
extends Object
-
Constructor Summary
ConstructorsConstructorDescriptionBatchedAckQueueConsumer(Function<Config, QueueMessage<PK, D>> peekFunction, BiConsumer<Collection<QueueMessageKey>, Config> ackMultiConsumer) -
Method Summary
-
Constructor Details
-
BatchedAckQueueConsumer
public BatchedAckQueueConsumer(Function<Config, QueueMessage<PK, D>> peekFunction, BiConsumer<Collection<QueueMessageKey>, Config> ackMultiConsumer)
-
-
Method Details
-
peek
-
ackMulti
-