REQUEST
- the request type.RESULT
- the result type.public interface AsyncHandler<REQUEST extends AmazonWebServiceRequest,RESULT>
Modifier and Type | Method and Description |
---|---|
void |
onError(java.lang.Exception exception)
Invoked after an asynchronous request
|
void |
onSuccess(REQUEST request,
RESULT result)
Invoked after an asynchronous request has completed successfully.
|
void onError(java.lang.Exception exception)
exception
- the exception.void onSuccess(REQUEST request, RESULT result)
request
- The initial request created by the callerresult
- The successful result of the executed operation.Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.