Package com.simplj.flows.core
Class RetryableExecutor<I,O>
- java.lang.Object
-
- com.simplj.flows.core.RetryableExecutor<I,O>
-
- All Implemented Interfaces:
Executable<I,O>
public class RetryableExecutor<I,O> extends Object implements Executable<I,O>
-
-
Method Summary
Modifier and Type Method Description O
execute(I input)
static <I,O>
RetryableExecutor<I,O>lift(RetryContext context, Executable<I,O> executable)
static <I,O>
RetryableExecutor<I,O>lift(String name, RetryContext context, Executable<I,O> executable)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.simplj.flows.functions.Executable
compose, map
-
-
-
-
Method Detail
-
lift
public static <I,O> RetryableExecutor<I,O> lift(RetryContext context, Executable<I,O> executable)
-
lift
public static <I,O> RetryableExecutor<I,O> lift(String name, RetryContext context, Executable<I,O> executable)
-
-