java.lang.Object
org.neo4j.driver.internal.retry.ExponentialBackoffRetryLogic
- All Implemented Interfaces:
RetryLogic
-
Constructor Summary
ConstructorsConstructorDescriptionExponentialBackoffRetryLogic(RetrySettings settings, io.netty.util.concurrent.EventExecutorGroup eventExecutorGroup, Clock clock, Logging logging) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleancanRetryOn(Throwable error) <T> T<T> CompletionStage<T>retryAsync(Supplier<CompletionStage<T>> work) <T> org.reactivestreams.Publisher<T>retryRx(org.reactivestreams.Publisher<T> work)
-
Constructor Details
-
ExponentialBackoffRetryLogic
public ExponentialBackoffRetryLogic(RetrySettings settings, io.netty.util.concurrent.EventExecutorGroup eventExecutorGroup, Clock clock, Logging logging)
-
-
Method Details
-
retry
- Specified by:
retryin interfaceRetryLogic
-
retryAsync
- Specified by:
retryAsyncin interfaceRetryLogic
-
retryRx
public <T> org.reactivestreams.Publisher<T> retryRx(org.reactivestreams.Publisher<T> work) - Specified by:
retryRxin interfaceRetryLogic
-
canRetryOn
-