[[["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 documents the \u003ccode\u003eNumericThreshold\u003c/code\u003e class, which is a concrete implementation of the \u003ccode\u003eBatchingThreshold\u003c/code\u003e interface, specifically designed to manage batching based on a numeric count.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eNumericThreshold\u003c/code\u003e class is designed to accumulate a count based on an \u003ccode\u003eElementCounter\u003c/code\u003e, enabling events to occur when a certain numeric value, defined by the provided threshold, is reached.\u003c/p\u003e\n"],["\u003cp\u003eIt offers methods to accumulate elements (\u003ccode\u003eaccumulate(E e)\u003c/code\u003e), to create copies with a reset accumulated value (\u003ccode\u003ecopyWithZeroedValue()\u003c/code\u003e), and to check if the numeric threshold has been met (\u003ccode\u003eisThresholdReached()\u003c/code\u003e).\u003c/p\u003e\n"],["\u003cp\u003eThis page also provides a historical list of versions, ranging from 2.63.1 down to 2.7.1, with 2.63.1 being the most recent, showing the evolution of the \u003ccode\u003eNumericThreshold\u003c/code\u003e class across different releases.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eNumericThreshold\u003c/code\u003e constructor requires two parameters, a long called \u003ccode\u003ethreshold\u003c/code\u003e that specifies when an event happens and an \u003ccode\u003eElementCounter\u003c/code\u003e object named \u003ccode\u003eextractor\u003c/code\u003e which is used to pull a numeric value from an object.\u003c/p\u003e\n"]]],[],null,[]]