Package io.aeron

Interface UnavailableCounterHandler

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 UnavailableCounterHandler
Interface for notification of Counters being removed via an Aeron client.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onUnavailableCounter(CountersReader countersReader, long registrationId, int counterId)
    Method called by Aeron to deliver notification of counter being removed.
  • Method Details

    • onUnavailableCounter

      void onUnavailableCounter(CountersReader countersReader, long registrationId, int counterId)
      Method called by Aeron to deliver notification of counter being removed.

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

      Parameters:
      countersReader - for more counter details.
      registrationId - for the counter.
      counterId - that is unavailable.