public class NetworkOption extends Object
| 构造器和说明 |
|---|
NetworkOption() |
public List<InetSocketAddress> getSocketAddressList()
public void setSocketAddressList(List<InetSocketAddress> socketAddressList)
public CodecType getCodecType()
public void setCodecType(CodecType codecType)
public NetworkType getNetworkType()
public void setNetworkType(NetworkType networkType)
public Boolean getEnableCompress()
public void setEnableCompress(Boolean enableCompress)
public Integer getCompressSizeLimit()
public void setCompressSizeLimit(Integer compressSizeLimit)
public Integer getMaxMessageSize()
public void setMaxMessageSize(Integer maxMessageSize)
public Integer getConnectTimeoutMs()
public void setConnectTimeoutMs(Integer connectTimeoutMs)
public Integer getHeartbeatIntervalMs()
public void setHeartbeatIntervalMs(Integer heartbeatIntervalMs)
public Integer getRetryHeartbeatTimes()
public void setRetryHeartbeatTimes(Integer retryHeartbeatTimes)
public Integer getRetryConnectTimes()
public void setRetryConnectTimes(Integer retryConnectTimes)
public Integer getCoreThreadPoolSize()
public void setCoreThreadPoolSize(Integer coreThreadPoolSize)
public Integer getThreadPoolQueueSize()
public void setThreadPoolQueueSize(Integer threadPoolQueueSize)
public SessionFlag getSessionFlag()
public void setSessionFlag(SessionFlag sessionFlag)
public OptimalNetworkLinkOption getOptimalNetworkLinkOption()
public void setOptimalNetworkLinkOption(OptimalNetworkLinkOption optimalNetworkLinkOption)
public LoadBalanceOption getLoadBalanceOption()
public void setLoadBalanceOption(LoadBalanceOption loadBalanceOption)
public ChainIdOption getChainIdOption()
public void setChainIdOption(ChainIdOption chainIdOption)
public Integer getConnectionRetryDelayMs()
public void setConnectionRetryDelayMs(Integer connectionRetryDelayMs)
public Integer getMaxConnectionRetryDelayFactor()
public void setMaxConnectionRetryDelayFactor(Integer maxConnectionRetryDelayFactor)
Copyright © 2022. All rights reserved.