Interface Counter

All Superinterfaces:
Metric

public interface Counter extends Metric
Counters monitor monotonically increasing values.
  • Nested Class Summary

    Nested classes/interfaces inherited from interface com.mendix.metrics.Metric

    Metric.Builder<M extends Metric>
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Increases the counter by one.
    void
    increment(double amount)
    Increases the counter by the amount.
  • Method Details

    • increment

      void increment()
      Increases the counter by one.
    • increment

      void increment(double amount)
      Increases the counter by the amount.
      Parameters:
      amount - Amount to add to the counter