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()
AckReplyConsumerack in interface AckReplyConsumerpublic void nack()
AckReplyConsumernack in interface AckReplyConsumerCopyright © 2022 Google LLC. All rights reserved.