Module omix.api
Package omix.util.ui

Interface ThrowingBooleanSupplier<E extends Throwable>

Type Parameters:
E - any type of a possibly thrown Exception.
All Superinterfaces:
Serializable

public interface ThrowingBooleanSupplier<E extends Throwable>
extends Serializable
This interface must be implemented to perform an arbitrary action in a parallel thread.
Since:
Omix 2.0.0
Author:
Dr. Peter Droste, Omix Visualization
  • Method Summary

    Modifier and Type Method Description
    boolean get()
    This method is called inside of the EventLoopParallelAction#execute(ThrowingBooleanSupplier) method.
  • Method Details

    • get

      boolean get() throws E extends Throwable
      This method is called inside of the EventLoopParallelAction#execute(ThrowingBooleanSupplier) method.
      Returns:
      an arbitrary result
      Throws:
      Throwable - can throw any exception