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

org.hertsstack.rpcclient.GrpcClientOption Maven / Gradle / Ivy

The newest version!
package org.hertsstack.rpcclient;

/**
 * Herts core client gRPC option
 * Supported options.
 * - idleTimeoutMilliSec
 * - keepaliveMilliSec
 * - keepaliveTimeoutMilliSec
 *
 * @author Herts Contributer
 */
public class GrpcClientOption {
    private Long idleTimeoutMilliSec;
    public void setIdleTimeoutMilliSec(long idleTimeoutMilliSec) {
        this.idleTimeoutMilliSec = idleTimeoutMilliSec;
    }

    public Long getIdleTimeoutMilliSec() {
        return idleTimeoutMilliSec;
    }

    private Long keepaliveMilliSec;
    public Long getKeepaliveMilliSec() {
        return keepaliveMilliSec;
    }

    public void setKeepaliveMilliSec(long keepaliveMilliSec) {
        this.keepaliveMilliSec = keepaliveMilliSec;
    }

    private Long keepaliveTimeoutMilliSec;
    public Long getKeepaliveTimeoutMilliSec() {
        return keepaliveTimeoutMilliSec;
    }

    public void setKeepaliveTimeoutMilliSec(long keepaliveTimeoutMilliSec) {
        this.keepaliveTimeoutMilliSec = keepaliveTimeoutMilliSec;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy