Interface ScheduledConsumer<I extends Invocation>

  • Type Parameters:
    I - Invocation metadata
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    public interface ScheduledConsumer<I extends Invocation>
    Consumer invoked by scheduler in defined interval.
    • Method Detail

      • run

        void run​(I invocation)
          throws Throwable
        Invoked by scheduler in defined interval.
        invocation - invocation metadata
        Throwable - all exceptions are going to be logged