public class AbstractConfigurableInstance extends Object implements ConfigurableInstance
| 限定符 | 构造器和说明 |
|---|---|
protected |
AbstractConfigurableInstance(ConfigType configType) |
| 限定符和类型 | 方法和说明 |
|---|---|
ConfigContainer |
conf()
get the config container for current instance
|
void |
initWriteBufferWaterMark(int low,
int high)
Initialize netty write buffer water mark for remoting instance.
|
int |
netty_buffer_high_watermark()
get the high water mark for netty write buffer
|
int |
netty_buffer_low_watermark()
get the low water mark for netty write buffer
|
GlobalSwitch |
switches()
get the global switch for current instance
|
protected AbstractConfigurableInstance(ConfigType configType)
public ConfigContainer conf()
ConfigurableInstanceconf 在接口中 ConfigurableInstancepublic GlobalSwitch switches()
ConfigurableInstanceswitches 在接口中 ConfigurableInstancepublic void initWriteBufferWaterMark(int low,
int high)
NettyConfigureNotice: This api should be called before init remoting instance.
initWriteBufferWaterMark 在接口中 NettyConfigurelow - [0, high]high - [high, Integer.MAX_VALUE)public int netty_buffer_low_watermark()
NettyConfigurenetty_buffer_low_watermark 在接口中 NettyConfigurepublic int netty_buffer_high_watermark()
NettyConfigurenetty_buffer_high_watermark 在接口中 NettyConfigureCopyright © 2021. All rights reserved.