- Type Parameters:
T
- any type of the return value.E
- any type of a possibly thrown Exception.
- All Superinterfaces:
Serializable
public interface ThrowingSupplier<T,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 T
get()
This method is called inside of theEventLoopParallelAction.execute(ThrowingSupplier)
method.
-
Method Details
-
get
This method is called inside of theEventLoopParallelAction.execute(ThrowingSupplier)
method.- Returns:
- an arbitrary result
- Throws:
Throwable
- can throw any exception
-