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.

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

    Modifier and Type
    Method
    Description
    void
    run(I invocation)
    Invoked by scheduler in defined interval.
  • Method Details

    • run

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