java.lang.Object
org.neo4j.driver.internal.retry.ExponentialBackoffRetryLogic
- All Implemented Interfaces:
RetryLogic
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionExponentialBackoffRetryLogic(long maxTransactionRetryTime, 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)
-
Field Details
-
DEFAULT_MAX_RETRY_TIME_MS
public static final long DEFAULT_MAX_RETRY_TIME_MS
-
-
Constructor Details
-
ExponentialBackoffRetryLogic
-
-
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
-