public interface AsyncHandler<REQUEST extends AmazonWebServiceRequest,RESULT>
Modifier and Type | Method and Description |
---|---|
void |
onError(Exception exception)
Invoked after an asynchronous request
|
void |
onSuccess(REQUEST request,
RESULT result)
Invoked after an asynchronous request has completed successfully.
|
void onError(Exception exception)
exception
- void onSuccess(REQUEST request, RESULT result)
request
- The initial request created by the callerresult
- The successful result of the executed operation.Copyright © 2017. All rights reserved.