Package com.ibm.cloud.cloudant.v1.model
Class UpdatesPending
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.cloud.cloudant.v1.model.UpdatesPending
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class UpdatesPending
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Schema for an ability to tell if view is up-to-date without querying it.
-
Method Summary
Modifier and TypeMethodDescriptionGets the minimum.Gets the preferred.getTotal()
Gets the total.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Method Details
-
getMinimum
Gets the minimum. Sum of shard copies with the least amount of work to do.- Returns:
- the minimum
-
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
Gets the total. Sum of all shard copies.- Returns:
- the total
-