Class BrokerData


  • public class BrokerData
    extends java.lang.Object
    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).
    • Constructor Summary

      Constructors 
      Constructor Description
      BrokerData​(org.apache.pulsar.policies.data.loadbalancer.LocalBrokerData localData)
      Initialize this BrokerData using the most recent local data.
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • BrokerData

        public BrokerData​(org.apache.pulsar.policies.data.loadbalancer.LocalBrokerData localData)
        Initialize this BrokerData using the most recent local data.
        Parameters:
        localData - The data local for the broker.