Class UpdatesPending

java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.cloud.cloudant.v1.model.UpdatesPending
All Implemented Interfaces:
ObjectModel

public class UpdatesPending extends GenericModel
Schema for information about pending updates for an index, calculated across all available copies of all shards.
  • Method Details

    • getCopies

      public Long getCopies()
      Gets the copies. The number of shard copies that reported an answer. Copies that are unreachable or in maintenance mode are not included. Compare with the `copies_expected` value.
      Returns:
      the copies
    • getCopiesExpected

      public Long getCopiesExpected()
      Gets the copiesExpected. The expected number of shard copy responses. If `copies` is less than this value, the results might be partial and `maximum` might not represent the true backlog.
      Returns:
      the copiesExpected
    • getMaximum

      public Long getMaximum()
      Gets the maximum. The backlog of the least up-to-date copy of each shard range. A value of `0` means the index is fully built on every copy.
      Returns:
      the maximum
    • getMinimum

      public Long getMinimum()
      Gets the minimum. The backlog of the most up-to-date copy of each shard range. A value of `0` means that at least one complete copy exists for every shard range.
      Returns:
      the minimum
    • getPreferred

      public Long getPreferred()
      Gets the preferred. The backlog of the preferred shard copies, which are the copies that queries are routed to by default.
      Returns:
      the preferred
    • getTotal

      public Long getTotal()
      Gets the total. The total backlog across all shard copies.
      Returns:
      the total