| Package | Description |
|---|---|
| org.apache.pulsar.common.util |
Common utils.
|
| org.apache.pulsar.policies.data.loadbalancer |
Classes to define policies for the load distribution.
|
| Constructor and Description |
|---|
NamespaceBundleStatsComparator(Map<String,NamespaceBundleStats> map,
SystemResourceUsage.ResourceType resType) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,NamespaceBundleStats> |
LoadReport.getBundleStats() |
Map<String,NamespaceBundleStats> |
LocalBrokerData.getBundleStats() |
Map<String,NamespaceBundleStats> |
LoadManagerReport.getBundleStats() |
Map<String,NamespaceBundleStats> |
LocalBrokerData.getLastStats() |
TreeMap<String,NamespaceBundleStats> |
LoadReport.getSortedBundleStats(SystemResourceUsage.ResourceType resType) |
| Modifier and Type | Method and Description |
|---|---|
int |
NamespaceBundleStats.compareByBandwidthIn(NamespaceBundleStats other) |
int |
NamespaceBundleStats.compareByBandwidthOut(NamespaceBundleStats other) |
int |
NamespaceBundleStats.compareByCacheSize(NamespaceBundleStats other) |
int |
NamespaceBundleStats.compareByMsgRate(NamespaceBundleStats other) |
int |
NamespaceBundleStats.compareByTopicConnections(NamespaceBundleStats other) |
int |
NamespaceBundleStats.compareTo(NamespaceBundleStats other) |
| Modifier and Type | Method and Description |
|---|---|
void |
LoadReport.setBundleStats(Map<String,NamespaceBundleStats> stats) |
void |
LocalBrokerData.setLastStats(Map<String,NamespaceBundleStats> lastStats) |
void |
LocalBrokerData.update(SystemResourceUsage systemResourceUsage,
Map<String,NamespaceBundleStats> bundleStats)
Using the system resource usage and bundle stats acquired from the Pulsar client, update this LocalBrokerData.
|
Copyright © 2017–2021 Apache Software Foundation. All rights reserved.