public abstract class AbstractBoltClient extends AbstractLifeCycle implements BoltClient, ConfigurableInstance
| 构造器和说明 |
|---|
AbstractBoltClient() |
| 限定符和类型 | 方法和说明 |
|---|---|
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
|
<T> T |
option(BoltOption<T> option)
Get the option value.
|
<T> Configurable |
option(BoltOption<T> option,
T value)
Allow to specify a
BoltOption which is used for the Configurable instances once they got
created. |
GlobalSwitch |
switches()
get the global switch for current instance
|
ensureStarted, isStarted, shutdown, startupclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddConnectionEventProcessor, checkConnection, checkConnection, checkConnection, closeConnection, closeConnection, closeStandaloneConnection, createStandaloneConnection, createStandaloneConnection, disableConnectionMonitorSwitch, disableConnHeartbeat, disableConnHeartbeat, disableReconnectSwith, enableConnectionMonitorSwitch, enableConnHeartbeat, enableConnHeartbeat, enableReconnectSwitch, getAddressParser, getAllManagedConnections, getConnection, getConnection, getConnectionManager, invokeSync, invokeSync, invokeSync, invokeSync, invokeSync, invokeSync, invokeWithCallback, invokeWithCallback, invokeWithCallback, invokeWithCallback, invokeWithCallback, invokeWithCallback, invokeWithFuture, invokeWithFuture, invokeWithFuture, invokeWithFuture, invokeWithFuture, invokeWithFuture, isConnectionMonitorSwitchOn, isReconnectSwitchOn, oneway, oneway, oneway, oneway, oneway, oneway, registerUserProcessor, setAddressParser, setMonitorStrategypublic <T> T option(BoltOption<T> option)
Configurableoption 在接口中 Configurableoption - target optionpublic <T> Configurable option(BoltOption<T> option, T value)
ConfigurableBoltOption which is used for the Configurable instances once they got
created. Use a value of null to remove a previous set BoltOption.option 在接口中 Configurableoption - target optionvalue - option value, null to remove the previous optionpublic 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 © 2020. All rights reserved.