Package io.aeron

Interface AvailableCounterHandler

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 interface AvailableCounterHandler
Interface for notification ofCounters becoming available via a Aeron client.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onAvailableCounter(CountersReader countersReader, long registrationId, int counterId)
    Method called by Aeron to deliver notification of a Counter being available.
  • Method Details

    • onAvailableCounter

      void onAvailableCounter(CountersReader countersReader, long registrationId, int counterId)
      Method called by Aeron to deliver notification of a Counter being available.

      Within this callback reentrant calls to the Aeron client are not permitted and will result in undefined behaviour.

      Parameters:
      countersReader - for more detail on the counter.
      registrationId - for the counter.
      counterId - that is available.