public class BatchJobLogger extends Object
| Modifier and Type | Method and Description |
|---|---|
<O,E,R extends BatchJobMutateResultInterface<O,E>> |
logDownload(String downloadUrl,
BatchJobMutateResponseInterface<O,E,R> response,
Throwable throwable)
Logs a batch job results download.
|
void |
logUpload(String uploadContents,
URI uploadUri,
BatchJobUploadResponse batchJobUploadResponse,
Throwable throwable)
Logs a batch job operations upload.
|
public void logUpload(String uploadContents, URI uploadUri, @Nullable BatchJobUploadResponse batchJobUploadResponse, @Nullable Throwable throwable)
uploadContents - the contents of the upload.uploadUri - the URI for the upload.batchJobUploadResponse - the upload response.throwable - the throwable that occurred during upload, or null if the upload
succeeded.public <O,E,R extends BatchJobMutateResultInterface<O,E>> void logDownload(String downloadUrl, @Nullable BatchJobMutateResponseInterface<O,E,R> response, @Nullable Throwable throwable)
downloadUrl - the download URL for the batch job.response - the response - only not null if the download succeeded.throwable - the throwable that occurred during download, or null if the download
succeeded.Copyright © 2020. All Rights Reserved.