public class AckReplyConsumerImpl extends Object implements AckReplyConsumer
Constructor and Description |
---|
AckReplyConsumerImpl(com.google.api.core.SettableApiFuture<MessageDispatcher.AckReply> ackReplySettableApiFuture) |
Modifier and Type | Method and Description |
---|---|
void |
ack()
Acknowledges that the message has been successfully processed.
|
void |
nack()
Signals that the message has not been successfully processed.
|
public AckReplyConsumerImpl(com.google.api.core.SettableApiFuture<MessageDispatcher.AckReply> ackReplySettableApiFuture)
public void ack()
AckReplyConsumer
ack
in interface AckReplyConsumer
public void nack()
AckReplyConsumer
nack
in interface AckReplyConsumer
Copyright © 2023 Google LLC. All rights reserved.