类 ProtocolConfig
- java.lang.Object
-
- com.alibaba.dubbo.config.AbstractConfig
-
- com.alibaba.dubbo.config.ProtocolConfig
-
- 所有已实现的接口:
Serializable
public class ProtocolConfig extends AbstractConfig
ProtocolConfig- 另请参阅:
- 序列化表格
-
-
构造器概要
构造器 构造器 说明 ProtocolConfig()
ProtocolConfig(String name)
ProtocolConfig(String name, int port)
-
方法概要
-
从类继承的方法 com.alibaba.dubbo.config.AbstractConfig
getId, setId, toString
-
-
-
-
方法详细资料
-
getName
@Parameter(excluded=true) public String getName()
-
setName
public void setName(String name)
-
getHost
@Parameter(excluded=true) public String getHost()
-
setHost
public void setHost(String host)
-
getPort
@Parameter(excluded=true) public Integer getPort()
-
setPort
public void setPort(Integer port)
-
getPath
@Deprecated @Parameter(excluded=true) public String getPath()
已过时。
-
setPath
@Deprecated public void setPath(String path)
已过时。
-
getContextpath
@Parameter(excluded=true) public String getContextpath()
-
setContextpath
public void setContextpath(String contextpath)
-
getThreadpool
public String getThreadpool()
-
setThreadpool
public void setThreadpool(String threadpool)
-
getThreads
public Integer getThreads()
-
setThreads
public void setThreads(Integer threads)
-
getIothreads
public Integer getIothreads()
-
setIothreads
public void setIothreads(Integer iothreads)
-
getQueues
public Integer getQueues()
-
setQueues
public void setQueues(Integer queues)
-
getAccepts
public Integer getAccepts()
-
setAccepts
public void setAccepts(Integer accepts)
-
getCodec
public String getCodec()
-
setCodec
public void setCodec(String codec)
-
getSerialization
public String getSerialization()
-
setSerialization
public void setSerialization(String serialization)
-
getCharset
public String getCharset()
-
setCharset
public void setCharset(String charset)
-
getPayload
public Integer getPayload()
-
setPayload
public void setPayload(Integer payload)
-
getBuffer
public Integer getBuffer()
-
setBuffer
public void setBuffer(Integer buffer)
-
getHeartbeat
public Integer getHeartbeat()
-
setHeartbeat
public void setHeartbeat(Integer heartbeat)
-
getServer
public String getServer()
-
setServer
public void setServer(String server)
-
getClient
public String getClient()
-
setClient
public void setClient(String client)
-
getAccesslog
public String getAccesslog()
-
setAccesslog
public void setAccesslog(String accesslog)
-
getTelnet
public String getTelnet()
-
setTelnet
public void setTelnet(String telnet)
-
getPrompt
@Parameter(escaped=true) public String getPrompt()
-
setPrompt
public void setPrompt(String prompt)
-
getStatus
public String getStatus()
-
setStatus
public void setStatus(String status)
-
isRegister
public Boolean isRegister()
-
setRegister
public void setRegister(Boolean register)
-
getTransporter
public String getTransporter()
-
setTransporter
public void setTransporter(String transporter)
-
getExchanger
public String getExchanger()
-
setExchanger
public void setExchanger(String exchanger)
-
getDispather
@Deprecated @Parameter(excluded=true) public String getDispather()
已过时。typo, switch to usegetDispatcher()
-
setDispather
@Deprecated public void setDispather(String dispather)
typo, switch to usegetDispatcher()
-
getDispatcher
public String getDispatcher()
-
setDispatcher
public void setDispatcher(String dispatcher)
-
getNetworker
public String getNetworker()
-
setNetworker
public void setNetworker(String networker)
-
isDefault
public Boolean isDefault()
-
setDefault
public void setDefault(Boolean isDefault)
-
getKeepAlive
public Boolean getKeepAlive()
-
setKeepAlive
public void setKeepAlive(Boolean keepAlive)
-
getOptimizer
public String getOptimizer()
-
setOptimizer
public void setOptimizer(String optimizer)
-
getExtension
public String getExtension()
-
setExtension
public void setExtension(String extension)
-
destroy
public void destroy()
-
-