Package org.pipecraft.infra.concurrent
Interface FailableInterruptibleRunnable<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 FailableInterruptibleRunnable<E extends Exception>
A runnable that is interruptible and may also 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
-
-
-
Method Detail
-
run
void run() throws E extends Exception, InterruptedException
Runs the runnable's task- Throws:
E extends ExceptionInterruptedException
-
-