public static interface Incrementor.MaxCountExceededCallback
trigger
method should usually throw an exception.Modifier and Type | Method and Description |
---|---|
void |
trigger(int maximalCount)
Function called when the maximal count has been reached.
|
void trigger(int maximalCount) throws MathIllegalStateException
maximalCount
- Maximal count.MathIllegalStateException
- at counter exhaustionCopyright © 2016-2021 CS GROUP. All rights reserved.