| Package | Description |
|---|---|
| org.spf4j.aspects | |
| org.spf4j.failsafe |
This package contains operation retry utilities.
|
| org.spf4j.jdbc | |
| org.spf4j.recyclable |
| Modifier and Type | Method and Description |
|---|---|
static RetryPolicy |
RetryAspect.registerRetryPolicy(String name,
RetryPolicy policy) |
| Modifier and Type | Method and Description |
|---|---|
static RetryPolicy |
RetryAspect.registerRetryPolicy(String name,
RetryPolicy policy) |
| Modifier and Type | Method and Description |
|---|---|
RetryPolicy<T,C> |
RetryPolicy.Builder.build() |
static <T,C extends Callable<? extends T>> |
RetryPolicy.defaultPolicy() |
static <T,C extends Callable<? extends T>> |
RetryPolicy.noRetryPolicy() |
| Constructor and Description |
|---|
JdbcTemplate(DataSource dataSource,
RetryPolicy<Object,Callable<? extends Object>> retryPolicy) |
| Modifier and Type | Method and Description |
|---|---|
static <T,R,E extends Exception> |
Template.doOnSupplied(HandlerNano<T,R,E> handler,
long timeout,
TimeUnit tu,
RecyclingSupplier<T> pool,
RetryPolicy<R,Callable<? extends R>> retryPolicy,
Class<E> exClass) |
| Constructor and Description |
|---|
Template(RecyclingSupplier<T> pool,
RetryPolicy<R,Callable<? extends R>> retryPolicy,
Class<E> exClass) |
Copyright © 2018 SPF4J. All rights reserved.