The value must not be negative. To help with distributions with long tails, if the given
value is greater than or equal to endValue, the value endValue-1 is recorded
instead.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-04-02 UTC."],[[["The latest version of the Distribution class is 2.63.1, and it is accessible at `/java/docs/reference/gax/latest/com.google.api.gax.core.Distribution`, with many previous versions listed as well."],["The `Distribution` class records values from 0 up to `endValue` and calculates their percentiles, while allowing methods to be called concurrently."],["The class offers functionality to record integer values using the `record(int value)` method, get the percentile of recorded values using `getPercentile(double percentile)`, and get the Nth percentile using the `getNthPercentile(double percentile)` method."],["The constructor of `Distribution` requires an integer `endValue` to define the upper limit of recorded values."],["Values recorded that are greater than or equal to `endValue` are recorded as `endValue - 1`."]]],[]]