Class GroupQueueConsumer<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.GroupQueueConsumer<PK,D>
public class GroupQueueConsumer<PK extends io.datarouter.model.key.primary.PrimaryKey<PK>,D extends io.datarouter.model.databean.Databean<PK,D>>
extends Object
-
Constructor Summary
ConstructorsConstructorDescriptionGroupQueueConsumer(Function<Config, GroupQueueMessage<PK, D>> peekFunction, Consumer<QueueMessageKey> ackConsumer) -
Method Summary
-
Constructor Details
-
GroupQueueConsumer
public GroupQueueConsumer(Function<Config, GroupQueueMessage<PK, D>> peekFunction, Consumer<QueueMessageKey> ackConsumer)
-
-
Method Details
-
peek
-
ack
-