类的使用
org.apache.pulsar.policies.data.loadbalancer.BrokerUsage
使用BrokerUsage的程序包
程序包
说明
Classes to define policies for the load distribution.
-
org.apache.pulsar.policies.data.loadbalancer中BrokerUsage的使用
修饰符和类型方法说明static BrokerUsageBrokerUsage.populateFrom(Map<String, Object> metrics) Factory method that returns an instance of this class populated from metrics we expect the keys that we are looking there's no explicit type checked object which guarantees that we have a specific type of metrics.