| Package | Description |
|---|---|
| org.apache.pulsar.policies.data.loadbalancer |
Classes to define policies for the load distribution.
|
| Modifier and Type | Method and Description |
|---|---|
SystemResourceUsage |
LoadReport.getSystemResourceUsage() |
| Modifier and Type | Method and Description |
|---|---|
static long |
ResourceUnitRanking.calculateBrokerMaxCapacity(SystemResourceUsage systemResourceUsage,
ResourceQuota defaultQuota)
Estimate the maximum number namespace bundles a ResourceUnit is able to handle with all resource.
|
void |
LoadReport.setSystemResourceUsage(SystemResourceUsage systemResourceUsage) |
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.
|
| Constructor and Description |
|---|
ResourceUnitRanking(SystemResourceUsage systemResourceUsage,
Set<String> loadedBundles,
ResourceQuota allocatedQuota,
Set<String> preAllocatedBundles,
ResourceQuota preAllocatedQuota) |
Copyright © 2017–2022 Apache Software Foundation. All rights reserved.