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


本文标签: 计算机 编程 程序代码 作者