admin 管理员组文章数量: 887021
2023年12月25日发(作者:计算机编程程序代码)
private Boolean isDefault;
public ProtocolConfig() { }
public ProtocolConfig(String name) { setName(name); } public ProtocolConfig(String name, int port) { setName(name); setPort(port); }
@Parameter(excluded = true) public String getName() { return name; } public void setName(String name) { checkName("name", name); = name; if (id == null || () == 0) { id = name; } } @Parameter(excluded = true) public String getHost() { return host; } public void setHost(String host) { checkName("host", host); = host; } @Parameter(excluded = true) public Integer getPort() { return port; } public void setPort(Integer port) { = port; } @Deprecated @Parameter(excluded = true) public String getPath() { return getContextpath(); } @Deprecated public void setPath(String path) { setContextpath(path); } @Parameter(excluded = true) public String getContextpath() { return contextpath; } public void setContextpath(String contextpath) { checkPathName("contextpath", contextpath); tpath = contextpath; } public String getThreadpool() { return threadpool; } public void setThreadpool(String threadpool) { checkExtension(, "threadpool", threadpool); pool = threadpool; } public Integer getThreads() { return threads; } public void setThreads(Integer threads) { s = threads; }
public Integer getIothreads() { return iothreads; } public void setIothreads(Integer iothreads) { ads = iothreads; } public Integer getQueues() { return queues; }
public void setQueues(Integer queues) { = queues; }
public Integer getAccepts() { return accepts; }
public void setAccepts(Integer accepts) { s = accepts; } public String getCodec() { return codec; } public void setCodec(String codec) { if ("dubbo".equals(name)) { checkMultiExtension(, "codec", codec); } = codec; } public String getSerialization() { return serialization; }
public void setSerialization(String serialization) { if ("dubbo".equals(name)) { checkMultiExtension(, "serialization", serialization); } ization = serialization; } public String getCharset() { return charset; } public void setCharset(String charset) { t = charset; } public Integer getPayload() { return payload; } public void setPayload(Integer payload) { d = payload; } public Integer getBuffer() { return buffer; } public void setBuffer(Integer buffer) { = buffer; } public Integer getHeartbeat() { return heartbeat; } public void setHeartbeat(Integer heartbeat) { eat = heartbeat; } public String getServer() { return server; } public void setServer(String server) { if ("dubbo".equals(name)) {
} catch (Throwable t) { (sage(), t); } } }}View Code
版权声明:本文标题:【DUBBO】Dubbo:protocol的配置项 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.freenas.com.cn/jishu/1703453047h452042.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论