Class UpdatesPending
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.cloud.cloudant.v1.model.UpdatesPending
- All Implemented Interfaces:
ObjectModel
Schema for information about pending updates for an index, calculated across all available copies of all shards.
-
Method Summary
Modifier and TypeMethodDescriptionGets the copies.Gets the copiesExpected.Gets the maximum.Gets the minimum.Gets the preferred.getTotal()Gets the total.Methods inherited from class GenericModel
equals, hashCode, toString
-
Method Details
-
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
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
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
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
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
Gets the total. The total backlog across all shard copies.- Returns:
- the total
-