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