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 MaxCountExceededException
maximalCount - Maximal count.MaxCountExceededException - at counter exhaustionCopyright (c) 2003-2015 Apache Software Foundation