Class ReplicatorProgress

java.lang.Object
com.couchbase.lite.ReplicatorProgress

public final class ReplicatorProgress extends Object
Progress of a replicator. If `total` is zero, the progress is indeterminate; otherwise, dividing the two will produce a fraction that can be used to draw a progress bar. The quotient is highly volatile and may be slightly inaccurate by the time it is returned.
  • Method Details

    • getCompleted

      public long getCompleted()
      The number of completed changes processed.
    • getTotal

      public long getTotal()
      The total number of changes to be processed.
    • toString

      @NonNull public String toString()
      Overrides:
      toString in class Object