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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void accept​(long value, int counterId, java.lang.String label)
      Accept the value for a counter.
    • Method Detail

      • accept

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