- Result<T,E extends Throwable> - Class in io.buybrain.util
-
Type that can be used to encode the result of a function, which can succeed or fail.
- rethrow(ThrowingRunnable) - Static method in class io.buybrain.util.Exceptions
-
Try to run a runnable, rethrowing any exception wrapped in a RuntimeException
- rethrow(ThrowingConsumer<T>) - Static method in class io.buybrain.util.Exceptions
-
Transform a throwing consumer into a non throwing consumer by wrapping exceptions in RuntimeExceptions
- rethrowR(ThrowingSupplier<T>) - Static method in class io.buybrain.util.Exceptions
-
Try to get a value from the given supplier, rethrowing any exception wrapped in a RuntimeException
- rethrowR(ThrowingFunction<T, R>) - Static method in class io.buybrain.util.Exceptions
-
Transform a throwing function into a non throwing function by wrapping exceptions in RuntimeExceptions
- Retryer - Class in io.buybrain.util
-
Utility for retrying a job until it succeeds.
- Retryer() - Constructor for class io.buybrain.util.Retryer
-
- Retryer.RunnableRetryer - Class in io.buybrain.util
-
- Retryer.SupplierRetryer<T> - Class in io.buybrain.util
-
- run() - Method in interface io.buybrain.util.function.ThrowingRunnable
-
- run() - Method in class io.buybrain.util.Retryer.RunnableRetryer
-
- run() - Method in class io.buybrain.util.Retryer.SupplierRetryer
-
- RunnableRetryer() - Constructor for class io.buybrain.util.Retryer.RunnableRetryer
-