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 an ability to tell if view is up-to-date without querying it.
  • Method Details

    • getMinimum

      public Long getMinimum()
      Gets the minimum. Sum of shard copies with the least amount of work to do.
      Returns:
      the minimum
    • getPreferred

      public Long getPreferred()
      Gets the preferred. Sum of unique shards. This value is zero when at least one copy of every shard range is up-to-date and the view is able to answer a query without index building delays.
      Returns:
      the preferred
    • getTotal

      public Long getTotal()
      Gets the total. Sum of all shard copies.
      Returns:
      the total