public class ProtocolConfig extends AbstractConfig
| 限定符和类型 | 字段和说明 |
|---|---|
protected Integer |
acceptConnections |
protected Boolean |
async |
protected String |
cluster |
protected String |
endpointFactory |
protected String |
filter |
protected String |
haStrategy |
protected Boolean |
lazyInit |
protected String |
loadbalance |
protected Integer |
maxClientConnection |
protected Integer |
maxContentLength |
protected Integer |
maxServerConnection |
protected Integer |
maxWorkerThread |
protected Integer |
minClientConnection |
protected Integer |
minWorkerThread |
protected Boolean |
poolLifo |
protected String |
proxy |
protected Integer |
requestTimeout |
protected Integer |
retries |
protected Integer |
workerQueueSize |
id| 构造器和说明 |
|---|
ProtocolConfig() |
appendConfigParams, appendConfigParams, collectConfigParams, collectMethodConfigParams, getId, setId, toStringprotected Integer requestTimeout
protected Integer minClientConnection
protected Integer maxClientConnection
protected Integer minWorkerThread
protected Integer maxWorkerThread
protected Integer maxContentLength
protected Integer maxServerConnection
protected Boolean poolLifo
protected Boolean lazyInit
protected String endpointFactory
protected String cluster
protected String loadbalance
protected String haStrategy
protected Integer workerQueueSize
protected Integer acceptConnections
protected String proxy
protected String filter
protected Integer retries
protected Boolean async
@ConfigDesc(key="protocol", required=true) public String getName()
public void setName(String name)
public String getSerialization()
public void setSerialization(String serialization)
public Integer getIothreads()
public void setIothreads(Integer iothreads)
public String getCodec()
public void setCodec(String codec)
public Boolean getIsDefault()
public void setIsDefault(Boolean isDefault)
public Integer getRequestTimeout()
public void setRequestTimeout(Integer requestTimeout)
public Integer getMinClientConnection()
public void setMinClientConnection(Integer minClientConnection)
public Integer getMaxClientConnection()
public void setMaxClientConnection(Integer maxClientConnection)
public Integer getMinWorkerThread()
public void setMinWorkerThread(Integer minWorkerThread)
public Integer getMaxWorkerThread()
public void setMaxWorkerThread(Integer maxWorkerThread)
public Integer getMaxContentLength()
public void setMaxContentLength(Integer maxContentLength)
public Integer getMaxServerConnection()
public void setMaxServerConnection(Integer maxServerConnection)
public Boolean getPoolLifo()
public void setPoolLifo(Boolean poolLifo)
public Boolean getLazyInit()
public void setLazyInit(Boolean lazyInit)
public String getEndpointFactory()
public void setEndpointFactory(String endpointFactory)
public String getCluster()
public void setCluster(String cluster)
public String getLoadbalance()
public void setLoadbalance(String loadbalance)
public String getHaStrategy()
public void setHaStrategy(String haStrategy)
public Integer getWorkerQueueSize()
public void setWorkerQueueSize(Integer workerQueueSize)
public Integer getAcceptConnections()
public void setAcceptConnections(Integer acceptConnections)
public String getProxy()
public void setProxy(String proxy)
public String getFilter()
public void setFilter(String filter)
public Integer getRetries()
public void setRetries(Integer retries)
public Boolean getAsync()
public void setAsync(Boolean async)
public void setDefault(boolean isDefault)
public Boolean isDefault()
Copyright © 2017. All rights reserved.