Package datahub.client
Interface Callback
public interface Callback
-
Method Summary
Modifier and TypeMethodDescriptionvoidonCompletion(MetadataWriteResponse response) Called when the client request has completed.voidCalled when the client request has thrown an exception before completion.
-
Method Details
-
onCompletion
Called when the client request has completed. Completion does not imply success. Inspect the response object to understand if this was a successfully processed request or not.- Parameters:
response-
-
onFailure
Called when the client request has thrown an exception before completion.- Parameters:
exception-
-