public static interface Incrementor.MaxCountExceededCallback
trigger method should usually throw an exception.| Modifier and Type | Method | 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 © 2003–2017 The Apache Software Foundation. All rights reserved.