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

com.yandex.cloud.kms.providers.tink.config.RetryConfig Maven / Gradle / Ivy

Go to download

Provider that enables usage of Yandex Cloud KMS from Google Tink cryptographic library

There is a newer version: 2.7
Show newest version
package com.yandex.cloud.kms.providers.tink.config;

public class RetryConfig {
    private int maxRetry = 3;
    private int delay = 2;
    private int maxDelay = 4;

    public RetryConfig(int maxRetry, int delay, int maxDelay) {
        this.delay = delay;
        this.maxRetry = maxRetry;
        this.maxDelay = maxDelay;
    }

    public RetryConfig() {
    }

    public int getDelay() {
        return delay;
    }

    public int getMaxRetry() {
        return maxRetry;
    }

    public int getMaxDelay() {
        return maxDelay;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy