Package com.nike.pdm.localstack.core
Interface Retry.RetryableFunction<T>
-
- Type Parameters:
T- return type of the wrapped function
- Enclosing class:
- Retry
- 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 static interface Retry.RetryableFunction<T>Function that adds retries with exponential backoff.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Texecute()Executes the wrapped function.
-
-
-
Method Detail
-
execute
T execute() throws java.lang.Exception
Executes the wrapped function.- Returns:
- result of the wrapped function
- Throws:
java.lang.Exception- exception
-
-