public class PollingBulkOperationTracker<TStatus> extends Object implements BulkOperationTracker<TStatus>
Modifier and Type | Field and Description |
---|---|
protected int |
lastProgressReported |
Constructor and Description |
---|
PollingBulkOperationTracker(BulkOperationStatusProvider<TStatus> statusProvider,
ServiceClient<IBulkService> serviceClient,
Progress<BulkOperationProgressInfo> progress,
int statusCheckIntervalInMs) |
Modifier and Type | Method and Description |
---|---|
void |
pollOperationStatus() |
Future<BulkOperationStatus<TStatus>> |
trackResultFileAsync(AsyncCallback<BulkOperationStatus<TStatus>> callback) |
public PollingBulkOperationTracker(BulkOperationStatusProvider<TStatus> statusProvider, ServiceClient<IBulkService> serviceClient, Progress<BulkOperationProgressInfo> progress, int statusCheckIntervalInMs)
public void pollOperationStatus()
public Future<BulkOperationStatus<TStatus>> trackResultFileAsync(AsyncCallback<BulkOperationStatus<TStatus>> callback)
trackResultFileAsync
in interface BulkOperationTracker<TStatus>
Copyright © 2024. All rights reserved.