Uses of Class
org.elasticsearch.action.bulk.BackoffPolicy
-
Packages that use BackoffPolicy Package Description org.elasticsearch.action.bulk org.elasticsearch.index.reindex -
-
Uses of BackoffPolicy in org.elasticsearch.action.bulk
Methods in org.elasticsearch.action.bulk that return BackoffPolicy Modifier and Type Method Description static BackoffPolicyBackoffPolicy. constantBackoff(TimeValue delay, int maxNumberOfRetries)Creates an new constant backoff policy with the provided configuration.static BackoffPolicyBackoffPolicy. exponentialBackoff()Creates an new exponential backoff policy with a default configuration of 50 ms initial wait period and 8 retries taking roughly 5.1 seconds in total.static BackoffPolicyBackoffPolicy. exponentialBackoff(TimeValue initialDelay, int maxNumberOfRetries)Creates an new exponential backoff policy with the provided configuration.static BackoffPolicyBackoffPolicy. noBackoff()Creates a backoff policy that will not allow any backoff, i.e.static BackoffPolicyBackoffPolicy. wrap(BackoffPolicy delegate, Runnable onBackoff)Wraps the backoff policy in one that calls a method every time a new backoff is taken from the policy.Methods in org.elasticsearch.action.bulk with parameters of type BackoffPolicy Modifier and Type Method Description static BackoffPolicyBackoffPolicy. wrap(BackoffPolicy delegate, Runnable onBackoff)Wraps the backoff policy in one that calls a method every time a new backoff is taken from the policy. -
Uses of BackoffPolicy in org.elasticsearch.index.reindex
Fields in org.elasticsearch.index.reindex declared as BackoffPolicy Modifier and Type Field Description protected BackoffPolicyScrollableHitSource. backoffPolicyConstructors in org.elasticsearch.index.reindex with parameters of type BackoffPolicy Constructor Description ScrollableHitSource(org.apache.logging.log4j.Logger logger, BackoffPolicy backoffPolicy, ThreadPool threadPool, Runnable countSearchRetry, Consumer<ScrollableHitSource.AsyncResponse> onResponse, Consumer<Exception> fail)
-