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

io.signpath.signpathclient.ClientSettings Maven / Gradle / Ivy

package io.signpath.signpathclient;

/**
 *
 * @author volodymyr.bobko
 */
public class ClientSettings {
    private final int serviceUnavailableTimeoutInSeconds;
    private final int uploadAndDownloadRequestTimeoutInSeconds;
    private final int waitForCompletionTimeoutInSeconds;
    private final int waitBetweenReadinessChecksInSeconds;
    
    public ClientSettings(int serviceUnavailableTimeoutInSeconds,
                            int uploadAndDownloadRequestTimeoutInSeconds,
                            int waitForCompletionTimeoutInSeconds,
                            int waitBetweenReadinessChecksInSeconds) {
        this.serviceUnavailableTimeoutInSeconds = serviceUnavailableTimeoutInSeconds;
        this.uploadAndDownloadRequestTimeoutInSeconds = uploadAndDownloadRequestTimeoutInSeconds;
        this.waitForCompletionTimeoutInSeconds = waitForCompletionTimeoutInSeconds;
        this.waitBetweenReadinessChecksInSeconds = waitBetweenReadinessChecksInSeconds;
    }
    
    public int getServiceUnavailableTimeoutInSeconds() {
        return serviceUnavailableTimeoutInSeconds;
    }

    public int getUploadAndDownloadRequestTimeoutInSeconds() {
        return uploadAndDownloadRequestTimeoutInSeconds;
    }

    public int getWaitForCompletionTimeoutInSeconds() {
        return waitForCompletionTimeoutInSeconds;
    }
    
    public int getWaitBetweenReadinessChecksInSeconds() {
        return waitBetweenReadinessChecksInSeconds;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy