public static class LicenseStore.ConsumeCallback extends Object implements Callback<org.apache.kafka.clients.consumer.ConsumerRecord<io.confluent.command.record.Command.CommandKey,io.confluent.command.record.Command.CommandMessage>>
| Modifier and Type | Method and Description |
|---|---|
void |
onCompletion(Throwable error,
org.apache.kafka.clients.consumer.ConsumerRecord<io.confluent.command.record.Command.CommandKey,io.confluent.command.record.Command.CommandMessage> record)
Invoked upon completion of the operation.
|
public void onCompletion(Throwable error, org.apache.kafka.clients.consumer.ConsumerRecord<io.confluent.command.record.Command.CommandKey,io.confluent.command.record.Command.CommandMessage> record)
CallbackonCompletion in interface Callback<org.apache.kafka.clients.consumer.ConsumerRecord<io.confluent.command.record.Command.CommandKey,io.confluent.command.record.Command.CommandMessage>>error - the error that caused the operation to fail, or null if no error occurredrecord - the return value, or null if the operation failed