com.yandex.cloud.kms.providers.tink.config.RetryConfig Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of kms-provider-tink Show documentation
Show all versions of kms-provider-tink Show documentation
Provider that enables usage of Yandex Cloud KMS from Google Tink cryptographic library
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;
}
}