R
- The type of the result.public interface OfflineCallback<R>
AbstractOfflineCatalog
asynchronous
methodsModifier and Type | Method and Description |
---|---|
void |
onFailure(java.lang.Throwable throwable)
Called when an error has happened while executing the operation.
|
void |
onSuccess(R result)
Called when the operation has completed successfully.
|
void onSuccess(R result)
result
- The result of the operation.void onFailure(java.lang.Throwable throwable)
throwable
- Error returned to specify the reason of the failure.