Interface BulkHandle
public interface BulkHandle
A running bulk operation.
Not designed for host implementation; methods may be added in minor releases.
- Since:
- 0.9.0
-
Method Details
-
report
CompletableFuture<BulkReport> report()Returns the future holding the report, completed when the run ends however it ends.It completes normally for a cancelled or early-stopped run too — those are outcomes the report describes, not failures of the call. It completes after the run's last
BulkProgresscallback,BulkProgress.finished(BulkReport), has returned (or thrown).- Returns:
- the run's report
- Since:
- 0.9.0
-
cancel
void cancel()Stops the run from starting any further entries.Entries already in flight are allowed to finish and appear in the report. Abandoning them would leave a half-completed authentication behind — and for an import, an account that was resolved and stored but never reported.
- Since:
- 0.9.0
-