Interface Synchronizer.ThrowingRunnable<E extends Exception>

Type Parameters:
E - the type of exception that may be thrown
Enclosing class:
Synchronizer
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

Functional interface for runnable tasks that can throw exceptions.

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    run()
    Executes the operation.
  • Method Details

    • run

      void run() throws E
      Executes the operation.
      Throws:
      E - if an exception occurs during the operation