类 BrokerData
java.lang.Object
org.apache.pulsar.policies.data.loadbalancer.BrokerData
Data class containing three components comprising all the data available for the leader broker about other brokers: -
The local broker data which is written to ZooKeeper by each individual broker (LocalBrokerData). - The time average
bundle data which is written to ZooKeeper by the leader broker (TimeAverageBrokerData). - The preallocated bundles
which are not written to ZooKeeper but are maintained by the leader broker (Map<String, BundleData>).
-
构造器概要
构造器构造器说明BrokerData(LocalBrokerData localData) Initialize this BrokerData using the most recent local data. -
方法概要
-
构造器详细资料
-
BrokerData
Initialize this BrokerData using the most recent local data.- 参数:
localData- The data local for the broker.
-