Package org.pipecraft.infra.concurrent
Interface FailableRunnable<E extends Exception>
-
- 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 FailableRunnable<E extends Exception>
A runnable that may fail with a checked exception during the execution of the run() method.- Author:
- Eyal Schneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidrun()Runs the runnable's task
-