Package io.confluent.license
Class LicenseStore.ConsumeCallback
java.lang.Object
io.confluent.license.LicenseStore.ConsumeCallback
- All Implemented Interfaces:
Callback<org.apache.kafka.clients.consumer.ConsumerRecord<io.confluent.command.record.Command.CommandKey,io.confluent.command.record.Command.CommandMessage>>
- Enclosing class:
LicenseStore
-
Method Summary
Modifier and TypeMethodDescriptionvoidonCompletion(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.
-
Method Details
-
onCompletion
public void onCompletion(Throwable error, org.apache.kafka.clients.consumer.ConsumerRecord<io.confluent.command.record.Command.CommandKey, io.confluent.command.record.Command.CommandMessage> record) Description copied from interface:CallbackInvoked upon completion of the operation.- Specified by:
onCompletionin interfaceCallback<org.apache.kafka.clients.consumer.ConsumerRecord<io.confluent.command.record.Command.CommandKey,io.confluent.command.record.Command.CommandMessage>> - Parameters:
error- the error that caused the operation to fail, or null if no error occurredrecord- the return value, or null if the operation failed
-