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

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

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

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

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy