- Type Parameters:
E
- any type of a possibly thrown Exception.
- All Superinterfaces:
Serializable
public interface ThrowingFunction2<R,A,B,E extends Throwable> extends Serializable
This interface can be implemented to perform an arbitrary action taking argument
in a parallel thread.
- Since:
- Omix 2.0.0
- Author:
- Dr. Peter Droste, Omix Visualization
-
Method Summary
Modifier and Type Method Description R
apply(A a, B b)
This method is called inside ofEventLoopParallelAction
orThreadAffineUtility
.
-
Method Details
-
apply
This method is called inside ofEventLoopParallelAction
orThreadAffineUtility
.- Returns:
- an arbitrary result
- Throws:
Throwable
- can throw any exception
-