类 ExternalBrokerClientLoadBalanced
java.lang.Object
com.iohao.game.bolt.broker.server.balanced.ExternalBrokerClientLoadBalanced
- 所有已实现的接口:
BrokerClientLoadBalanced
对外服的管理器
- 作者:
- 渔民小镇
- 日期:
- 2022-05-14
-
构造器概要
-
方法概要
修饰符和类型方法说明boolean
contains
(int externalId) int
count()
get
(int externalId) 所有的对外服void
register
(BrokerClientProxy brokerClientProxy) 注册逻辑服void
remove
(BrokerClientProxy brokerClientProxy) 删除逻辑服
-
构造器详细资料
-
ExternalBrokerClientLoadBalanced
public ExternalBrokerClientLoadBalanced()
-
-
方法详细资料
-
register
从接口复制的说明:BrokerClientLoadBalanced
注册逻辑服- 指定者:
register
在接口中BrokerClientLoadBalanced
- 参数:
brokerClientProxy
- brokerClientProxy
-
remove
从接口复制的说明:BrokerClientLoadBalanced
删除逻辑服- 指定者:
remove
在接口中BrokerClientLoadBalanced
- 参数:
brokerClientProxy
- brokerClientProxy
-
get
-
contains
public boolean contains(int externalId) -
listBrokerClientProxy
所有的对外服- 返回:
- 对外服列表
-
count
public int count()
-