Package dev.failsafe.function
Interface ContextualRunnable<R>
-
- Type Parameters:
R
- result type
- 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 ContextualRunnable<R>
A Runnable that provides execution context.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
run(ExecutionContext<R> context)
-
-
-
Method Detail
-
run
void run(ExecutionContext<R> context) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-