类 RuntimeConnectionEjector
- java.lang.Object
-
- com.alibaba.nacos.core.remote.RuntimeConnectionEjector
-
- 直接已知子类:
NacosRuntimeConnectionEjector
public abstract class RuntimeConnectionEjector extends java.lang.Objectruntime connection ejector.- 作者:
- shiyiyue
-
-
字段概要
字段 修饰符和类型 字段 说明 protected ConnectionManagerconnectionManagerstatic longKEEP_ALIVE_TIME4 times of client keep alive.private intloadClientcurrent loader adjust count,only effective once,use to re balance.(专用程序包) java.lang.StringredirectAddress
-
构造器概要
构造器 构造器 说明 RuntimeConnectionEjector()
-
方法概要
所有方法 实例方法 抽象方法 具体方法 修饰符和类型 方法 说明 abstract voiddoEject()eject runtime connection.ConnectionManagergetConnectionManager()intgetLoadClient()abstract java.lang.StringgetName()get name.java.lang.StringgetRedirectAddress()voidsetConnectionManager(ConnectionManager connectionManager)voidsetLoadClient(int loadClient)voidsetRedirectAddress(java.lang.String redirectAddress)
-
-
-
字段详细资料
-
KEEP_ALIVE_TIME
public static final long KEEP_ALIVE_TIME
4 times of client keep alive.- 另请参阅:
- 常量字段值
-
loadClient
private int loadClient
current loader adjust count,only effective once,use to re balance.
-
redirectAddress
java.lang.String redirectAddress
-
connectionManager
protected ConnectionManager connectionManager
-
-
方法详细资料
-
getConnectionManager
public ConnectionManager getConnectionManager()
-
setConnectionManager
public void setConnectionManager(ConnectionManager connectionManager)
-
doEject
public abstract void doEject()
eject runtime connection.
-
getLoadClient
public int getLoadClient()
-
setLoadClient
public void setLoadClient(int loadClient)
-
getRedirectAddress
public java.lang.String getRedirectAddress()
-
setRedirectAddress
public void setRedirectAddress(java.lang.String redirectAddress)
-
getName
public abstract java.lang.String getName()
get name.- 返回:
-
-