Interface Handler<C extends Configuration,​E extends Event>

    • Method Detail

      • open

        default void open​(C configuration)
                   throws java.lang.Exception
        Throws:
        java.lang.Exception
      • close

        default void close()
                    throws java.lang.Exception
        Throws:
        java.lang.Exception
      • onEvent

        void onEvent​(E event)
              throws java.lang.Exception
        Throws:
        java.lang.Exception
      • onEvent

        default void onEvent​(java.util.List<E> events)
                      throws java.lang.Exception
        Throws:
        java.lang.Exception