org.hertsstack.rpcclient.GrpcClientOption Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of herts-rpc-client Show documentation
Show all versions of herts-rpc-client Show documentation
Herts real time framework for RpcClient
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