Interface CountersReader.CounterConsumer

Enclosing class:
CountersReader
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface CountersReader.CounterConsumer
Callback function for consuming basic counter details and value.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    accept(long value, int counterId, String label)
    Accept the value for a counter.
  • Method Details

    • accept

      void accept(long value, int counterId, String label)
      Accept the value for a counter.
      Parameters:
      value - of the counter.
      counterId - of the counter
      label - for the counter.