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
    int decrementValue()  
    int getValue()  
    int incrementValue()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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