Class Counter
java.lang.Object
kieker.monitoring.probe.aspectj.beforeafter.onlycallee.Counter
public class Counter
extends java.lang.Object
- Since:
- 1.13
-
Constructor Summary
Constructors Constructor Description Counter()Creates a new counter. -
Method Summary
Modifier and Type Method Description intdecrementValue()intgetValue()intincrementValue()
-
Constructor Details
-
Counter
public Counter()Creates a new counter.
-
-
Method Details
-
getValue
public int getValue()- Returns:
- the current value
-
incrementValue
public int incrementValue()- Returns:
- the value before incrementing (starting with 0)
-
decrementValue
public int decrementValue()- Returns:
- the value before decrementing
-