Package com.azure.storage.common
Interface ProgressReceiver
-
public interface ProgressReceiver
AProgressReceiver
is an object that can be used to report progress on network transfers. When specified on transfer operations, thereportProgress
method will be called periodically with the total number of bytes transferred. The user may configure this method to report progress in whatever format desired. It is recommended that this type be used in conjunction withProgressReporter.addProgressReporting(Flux, ProgressReceiver)
to enable reporting on sequential transfers. Note that any method accepting aParallelTransferOptions
will use theProgressReceiver
specified there and will handle the logic to coordinate the reporting between parallel operations.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
reportProgress(long bytesTransferred)
The callback function invoked as progress is reported.
-