Interface EventNotifier<E>

Type Parameters:
E - type of event being notified
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 EventNotifier<E>
Notify about the occurrence of an event
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    notifyEvent(E event)
     
  • Method Details

    • notifyEvent

      void notifyEvent(E event) throws Exception
      Parameters:
      event - The event
      Throws:
      Exception - If failed to process the event notification