|
29 | 29 | import static org.apache.dubbo.common.constants.CommonConstants.APPLICATION_KEY; |
30 | 30 | import static org.apache.dubbo.common.constants.CommonConstants.DUMP_DIRECTORY; |
31 | 31 | import static org.apache.dubbo.common.constants.ConfigConstants.ACCEPT_FOREIGN_IP; |
| 32 | +import static org.apache.dubbo.common.constants.ConfigConstants.QOS_ENABLE; |
| 33 | +import static org.apache.dubbo.common.constants.ConfigConstants.QOS_PORT; |
| 34 | +import static org.apache.dubbo.common.constants.ConfigConstants.SHUTDOWN_WAIT_KEY; |
32 | 35 | import static org.apache.dubbo.config.Constants.ARCHITECTURE; |
33 | 36 | import static org.apache.dubbo.config.Constants.DEVELOPMENT_ENVIRONMENT; |
34 | 37 | import static org.apache.dubbo.config.Constants.ENVIRONMENT; |
35 | 38 | import static org.apache.dubbo.config.Constants.NAME; |
36 | 39 | import static org.apache.dubbo.config.Constants.ORGANIZATION; |
37 | 40 | import static org.apache.dubbo.config.Constants.OWNER; |
38 | 41 | import static org.apache.dubbo.config.Constants.PRODUCTION_ENVIRONMENT; |
39 | | -import static org.apache.dubbo.common.constants.ConfigConstants.QOS_ENABLE; |
40 | | -import static org.apache.dubbo.common.constants.ConfigConstants.QOS_PORT; |
41 | | -import static org.apache.dubbo.common.constants.ConfigConstants.SHUTDOWN_WAIT_KEY; |
42 | 42 | import static org.apache.dubbo.config.Constants.TEST_ENVIRONMENT; |
43 | 43 |
|
44 | 44 |
|
@@ -317,6 +317,39 @@ public void setQosAcceptForeignIp(Boolean qosAcceptForeignIp) { |
317 | 317 | this.qosAcceptForeignIp = qosAcceptForeignIp; |
318 | 318 | } |
319 | 319 |
|
| 320 | + @Deprecated |
| 321 | + @Parameter(key = "qos.enable", excluded = true) |
| 322 | + public Boolean getQosEnableDeprecated() { |
| 323 | + return getQosEnable(); |
| 324 | + } |
| 325 | + |
| 326 | + @Deprecated |
| 327 | + public void setQosEnableDeprecated(Boolean qosEnable) { |
| 328 | + setQosEnable(qosEnable); |
| 329 | + } |
| 330 | + |
| 331 | + @Deprecated |
| 332 | + @Parameter(key = "qos.port", excluded = true) |
| 333 | + public Integer getQosPortDeprecated() { |
| 334 | + return getQosPort(); |
| 335 | + } |
| 336 | + |
| 337 | + @Deprecated |
| 338 | + public void setQosPortDeprecated(Integer qosPort) { |
| 339 | + this.setQosPort(qosPort); |
| 340 | + } |
| 341 | + |
| 342 | + @Deprecated |
| 343 | + @Parameter(key = "qos.accept.foreign.ip", excluded = true) |
| 344 | + public Boolean getQosAcceptForeignIpDeprecated() { |
| 345 | + return this.getQosAcceptForeignIp(); |
| 346 | + } |
| 347 | + |
| 348 | + @Deprecated |
| 349 | + public void setQosAcceptForeignIpDeprecated(Boolean qosAcceptForeignIp) { |
| 350 | + this.setQosAcceptForeignIp(qosAcceptForeignIp); |
| 351 | + } |
| 352 | + |
320 | 353 | public Map<String, String> getParameters() { |
321 | 354 | return parameters; |
322 | 355 | } |
|
0 commit comments