Interface UsageTracker.UsageRegistrar

All Superinterfaces:
Serializable
Enclosing class:
UsageTracker
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 UsageTracker.UsageRegistrar extends Serializable
Receives notifications about signal usage events.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Called when a usage event occurs.
  • Method Details

    • register

      void register(UsageTracker.Usage usage)
      Called when a usage event occurs.
      Parameters:
      usage - the usage instance, not null