[[["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 webpage provides documentation for the \u003ccode\u003eNumericThreshold\u003c/code\u003e class, which is part of the Google API Client Libraries for Java (gax) and specifically related to batching operations.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eNumericThreshold\u003c/code\u003e is a concrete implementation of the \u003ccode\u003eBatchingThreshold\u003c/code\u003e interface, designed to accumulate a count based on an \u003ccode\u003eElementCounter\u003c/code\u003e and trigger events when a predefined threshold is reached.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eNumericThreshold\u003c/code\u003e class constructor takes a \u003ccode\u003elong\u003c/code\u003e threshold value and an \u003ccode\u003eElementCounter\u003c/code\u003e object, which is responsible for extracting the numeric value from the provided objects.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation includes the \u003ccode\u003eaccumulate()\u003c/code\u003e method, which allows elements to be presented to the threshold, the \u003ccode\u003ecopyWithZeroedValue()\u003c/code\u003e method to copy a threshold with the counter reset, and \u003ccode\u003eisThresholdReached()\u003c/code\u003e to verify if a threshold has been met.\u003c/p\u003e\n"],["\u003cp\u003eThe page lists various available versions of the \u003ccode\u003eNumericThreshold\u003c/code\u003e class, ranging from the latest 2.63.1 down to 2.7.1, along with links to the respective documentation for each specific version.\u003c/p\u003e\n"]]],[],null,[]]