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

tech.ytsaurus.client.rpc.DefaultRpcFailoverPolicy Maven / Gradle / Ivy

The newest version!
package tech.ytsaurus.client.rpc;

/**
 * @author aozeritsky
 */
public class DefaultRpcFailoverPolicy implements RpcFailoverPolicy {
    @Override
    public boolean onError(Throwable error) {
        return false;
    }

    @Override
    public boolean onTimeout() {
        return true;
    }

    @Override
    public boolean randomizeDcs() {
        return false;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy