Package org.apache.pulsar.broker
Class BrokerData
- java.lang.Object
-
- org.apache.pulsar.broker.BrokerData
-
public class BrokerData extends java.lang.ObjectData 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).
-
-
Constructor Summary
Constructors Constructor Description BrokerData(org.apache.pulsar.policies.data.loadbalancer.LocalBrokerData localData)Initialize this BrokerData using the most recent local data.
-