Package org.hertsstack.rpc
Class GrpcServerOption
- java.lang.Object
-
- org.hertsstack.rpc.GrpcServerOption
-
public class GrpcServerOption extends java.lang.Object
GrpcServerOption for server Supported options - handshakeTimeoutMilliSec - keepaliveTimeoutMilliSec - keepaliveTimeMilliSec - maxConnectionIdleMilliSec - maxConnectionAgeMilliSec - maxInboundMessageSize
-
-
Constructor Summary
Constructors Constructor Description GrpcServerOption()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Long
getHandshakeTimeoutMilliSec()
java.lang.Long
getKeepaliveTimeMilliSec()
java.lang.Long
getKeepaliveTimeoutMilliSec()
java.lang.Long
getMaxConnectionAgeMilliSec()
java.lang.Long
getMaxConnectionIdleMilliSec()
int
getMaxInboundMessageSize()
int
getPort()
void
setHandshakeTimeoutMilliSec(long timeout)
void
setKeepAliveTimeMilliSec(long timeout)
void
setKeepAliveTimeoutMilliSec(long timeout)
void
setMaxConnectionAgeMilliSec(long timeout)
void
setMaxConnectionIdleMilliSec(long timeout)
void
setMaxInboundMessageSize(int bytes)
void
setPort(int port)
-
-
-
Method Detail
-
setPort
public void setPort(int port)
-
getPort
public int getPort()
-
setHandshakeTimeoutMilliSec
public void setHandshakeTimeoutMilliSec(long timeout)
-
getHandshakeTimeoutMilliSec
public java.lang.Long getHandshakeTimeoutMilliSec()
-
setKeepAliveTimeoutMilliSec
public void setKeepAliveTimeoutMilliSec(long timeout)
-
getKeepaliveTimeoutMilliSec
public java.lang.Long getKeepaliveTimeoutMilliSec()
-
setKeepAliveTimeMilliSec
public void setKeepAliveTimeMilliSec(long timeout)
-
getKeepaliveTimeMilliSec
public java.lang.Long getKeepaliveTimeMilliSec()
-
setMaxConnectionIdleMilliSec
public void setMaxConnectionIdleMilliSec(long timeout)
-
getMaxConnectionIdleMilliSec
public java.lang.Long getMaxConnectionIdleMilliSec()
-
setMaxConnectionAgeMilliSec
public void setMaxConnectionAgeMilliSec(long timeout)
-
getMaxConnectionAgeMilliSec
public java.lang.Long getMaxConnectionAgeMilliSec()
-
setMaxInboundMessageSize
public void setMaxInboundMessageSize(int bytes)
-
getMaxInboundMessageSize
public int getMaxInboundMessageSize()
-
-