public interface AsyncHandler<REQUEST extends AmazonWebServiceRequest,RESULT>
Modifier and Type | Method | 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)
void onSuccess(REQUEST request, RESULT result)
request
- The initial request created by the callerresult
- The successful result of the executed operation.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.