Uses of Class
com.azure.core.util.ProgressReporter
Packages that use ProgressReporter
Package
Description
Package containing core utility classes.
Package containing APIs for IO operations.
-
Uses of ProgressReporter in com.azure.core.util
Methods in com.azure.core.util that return ProgressReporterModifier and TypeMethodDescriptionProgressReporter.createChild()Creates childProgressReporterthat can be used to track sub-progress when tracked activity spans across concurrent processes.Contexts.getHttpRequestProgressReporter()Retrieves request'sProgressReporterfrom theContext.static ProgressReporterProgressReporter.withProgressListener(ProgressListener progressListener) Creates aProgressReporterthat notifiesProgressListener.Methods in com.azure.core.util with parameters of type ProgressReporterModifier and TypeMethodDescriptionstatic Flux<ByteBuffer> FluxUtil.addProgressReporting(Flux<ByteBuffer> flux, ProgressReporter progressReporter) Adds progress reporting to the providedFluxofByteBuffer.Contexts.setHttpRequestProgressReporter(ProgressReporter progressReporter) Adds request'sProgressReporterinstance to theContext. -
Uses of ProgressReporter in com.azure.core.util.io
Methods in com.azure.core.util.io with parameters of type ProgressReporterModifier and TypeMethodDescriptionIOUtils.transferStreamResponseToAsynchronousByteChannel(AsynchronousByteChannel targetChannel, StreamResponse sourceResponse, BiFunction<Throwable, Long, Mono<StreamResponse>> onErrorResume, ProgressReporter progressReporter, int maxRetries) Transfers theStreamResponsecontent toAsynchronousByteChannel.