### YamlMime:JavaType uid: "com.azure.storage.common.ProgressReporter" fullName: "com.azure.storage.common.ProgressReporter" name: "ProgressReporter" nameWithType: "ProgressReporter" summary: "`ProgressReporter` offers a convenient way to add progress tracking to a given Flux." deprecatedTag: "Use " inheritances: - "" inheritedClassMethods: - classRef: "java.lang.Object" methodsRef: - "clone" - "equals" - "finalize" - "getClass" - "hashCode" - "notify" - "notifyAll" - "toString" - "wait" - "wait" - "wait" syntax: "@Deprecated
public final class **ProgressReporter**" constructors: - uid: "com.azure.storage.common.ProgressReporter.ProgressReporter()" fullName: "com.azure.storage.common.ProgressReporter.ProgressReporter()" name: "ProgressReporter()" nameWithType: "ProgressReporter.ProgressReporter()" summary: "Creates a new instance of ." syntax: "public ProgressReporter()" desc: "Creates a new instance of ." methods: - uid: "com.azure.storage.common.ProgressReporter.addParallelProgressReporting(reactor.core.publisher.Flux,com.azure.storage.common.ProgressReceiver,java.util.concurrent.locks.Lock,java.util.concurrent.atomic.AtomicLong)" fullName: "com.azure.storage.common.ProgressReporter.addParallelProgressReporting(Flux data, ProgressReceiver progressReceiver, Lock lock, AtomicLong totalProgress)" name: "addParallelProgressReporting(Flux data, ProgressReceiver progressReceiver, Lock lock, AtomicLong totalProgress)" nameWithType: "ProgressReporter.addParallelProgressReporting(Flux data, ProgressReceiver progressReceiver, Lock lock, AtomicLong totalProgress)" summary: "Adds parallel progress reporting functionality to the given `Flux`." deprecatedTag: "Use " modifiers: - "static" parameters: - description: "The data whose transfer progress is to be tracked." name: "data" type: "Flux<ByteBuffer>" - description: "" name: "progressReceiver" type: "" - description: "This lock will be instantiated by the operation initiating the whole transfer to coordinate each\n ProgressReporterImpl." name: "lock" type: "Lock" - description: "We need an AtomicLong to be able to update the value referenced. Because we are already\n synchronizing with the lock, we don't incur any additional performance hit here by the synchronization." name: "totalProgress" type: "AtomicLong" syntax: "@Deprecated
public static Flux addParallelProgressReporting(Flux data, ProgressReceiver progressReceiver, Lock lock, AtomicLong totalProgress)" desc: "Adds parallel progress reporting functionality to the given `Flux`. Each subscription (and therefore each retry) will rewind the progress reported so as not to over-report. The data reported will be the total amount of data emitted so far, or the \"current position\" of the Flux in parallel." hasDeprecatedTag: true returns: description: "A Flux that emits the same data as the source but calls a callback to report the total amount of\n data emitted so far." type: "Flux<ByteBuffer>" - uid: "com.azure.storage.common.ProgressReporter.addProgressReporting(reactor.core.publisher.Flux,com.azure.storage.common.ProgressReceiver)" fullName: "com.azure.storage.common.ProgressReporter.addProgressReporting(Flux data, ProgressReceiver progressReceiver)" name: "addProgressReporting(Flux data, ProgressReceiver progressReceiver)" nameWithType: "ProgressReporter.addProgressReporting(Flux data, ProgressReceiver progressReceiver)" summary: "Adds progress reporting functionality to the given `Flux`." deprecatedTag: "Use " modifiers: - "static" parameters: - description: "The data whose transfer progress is to be tracked." name: "data" type: "Flux<ByteBuffer>" - description: "" name: "progressReceiver" type: "" syntax: "@Deprecated
public static Flux addProgressReporting(Flux data, ProgressReceiver progressReceiver)" desc: "Adds progress reporting functionality to the given `Flux`. Each subscription (and therefore each retry) will rewind the progress reported so as not to over-report. The data reported will be the total amount of data emitted so far, or the \"current position\" of the Flux." hasDeprecatedTag: true returns: description: "A Flux that emits the same data as the source but calls a callback to report the total amount of\n data emitted so far." type: "Flux<ByteBuffer>" type: "class" desc: "`ProgressReporter` offers a convenient way to add progress tracking to a given Flux." hasDeprecatedTag: true metadata: {} package: "com.azure.storage.common" artifact: com.azure:azure-storage-common:12.26.1