The value must not be negative. To help with distributions with long tails, if the given
value is greater than or equal toendValue, the valueendValue-1is 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-09-04 UTC."],[[["\u003cp\u003eThis page provides documentation for the \u003ccode\u003eDistribution\u003c/code\u003e class in the \u003ccode\u003ecom.google.api.gax.core\u003c/code\u003e package, including its constructors, methods, and inherited members across multiple versions.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDistribution\u003c/code\u003e class is designed to record values from 0 up to a specified \u003ccode\u003eendValue\u003c/code\u003e, and compute percentiles, with the ability to handle concurrent method calls.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDistribution\u003c/code\u003e class has a constructor \u003ccode\u003eDistribution(int endValue)\u003c/code\u003e, which takes an integer to determine the exclusive upper limit of the recorded values.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes methods like \u003ccode\u003egetNthPercentile(double percentile)\u003c/code\u003e, \u003ccode\u003egetPercentile(double percentile)\u003c/code\u003e to obtain percentile values and \u003ccode\u003erecord(int value)\u003c/code\u003e to add data points, with all methods using Java primitive types as parameters.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available is 2.63.1, with documentation provided for a range of versions between that and version 2.7.1.\u003c/p\u003e\n"]]],[],null,[]]