[[["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 details the \u003ccode\u003eNumericThreshold\u003c/code\u003e class within the Google API Client Library for Java, specifically the \u003ccode\u003ecom.google.api.gax.batching\u003c/code\u003e package, and its implementation as a \u003ccode\u003eBatchingThreshold\u003c/code\u003e to count elements.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eNumericThreshold\u003c/code\u003e class has undergone various updates, with version 2.63.1 being the latest, and it offers a historical list of versions down to 2.7.1 each with its specific link to the documentation.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eNumericThreshold\u003c/code\u003e is designed to accumulate a count based on a provided \u003ccode\u003eElementCounter\u003c/code\u003e, with the capability to specify a threshold that triggers an event when reached.\u003c/p\u003e\n"],["\u003cp\u003eThe class allows for accumulation of elements via the \u003ccode\u003eaccumulate(E e)\u003c/code\u003e method and provides a \u003ccode\u003ecopyWithZeroedValue()\u003c/code\u003e method to create a copy with a reset count, and \u003ccode\u003eisThresholdReached()\u003c/code\u003e to check the state.\u003c/p\u003e\n"],["\u003cp\u003eThe constructor of the class has two parameters to be passed in, the \u003ccode\u003ethreshold\u003c/code\u003e, and the \u003ccode\u003eextractor\u003c/code\u003e, which are the value that an event can happen at, and the Object that extracts the numeric values from the value object respectively.\u003c/p\u003e\n"]]],[],null,[]]