All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.tarantool.driver.api.retry.RequestRetryPolicyFactory Maven / Gradle / Ivy

Go to download

Tarantool Cartridge driver for Tarantool versions 1.10+ based on Netty framework

There is a newer version: 0.14.0
Show newest version
package io.tarantool.driver.api.retry;

/**
 * Manages instantiation of request retry policies. A policy contains an algorithm of deciding whether an exception
 * is retryable and settings for limiting the retry attempts
 *
 * @author Alexey Kuzin
 * @see RequestRetryPolicy
 */
public interface RequestRetryPolicyFactory {
    /**
     * Instantiate a new request retry policy instance. The policy may be either stateful or stateless, so depending on
     * that the policy may be either instantiated as a singleton or once per request.
     *
     * @return new policy instance
     */
    RequestRetryPolicy create();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy