| Package | Description |
|---|---|
| org.apache.pulsar.broker |
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
|
| org.apache.pulsar.broker.loadbalance |
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
|
| org.apache.pulsar.broker.loadbalance.impl |
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,BundleData> |
BrokerData.getPreallocatedBundleData() |
| Modifier and Type | Method and Description |
|---|---|
void |
TimeAverageBrokerData.reset(Set<String> bundles,
Map<String,BundleData> data,
org.apache.pulsar.policies.data.loadbalancer.NamespaceBundleStats defaultStats)
Reuse this TimeAverageBrokerData using new data.
|
void |
BrokerData.setPreallocatedBundleData(Map<String,BundleData> preallocatedBundleData) |
| Constructor and Description |
|---|
TimeAverageBrokerData(Set<String> bundles,
Map<String,BundleData> data,
org.apache.pulsar.policies.data.loadbalancer.NamespaceBundleStats defaultStats)
Initialize a TimeAverageBrokerData.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,BundleData> |
LoadData.getBundleData() |
| Modifier and Type | Method and Description |
|---|---|
void |
BrokerFilter.filter(Set<String> brokers,
BundleData bundleToAssign,
LoadData loadData,
ServiceConfiguration conf)
From the given set of available broker candidates, filter those using the load data.
|
Optional<String> |
ModularLoadManagerStrategy.selectBroker(Set<String> candidates,
BundleData bundleToAssign,
LoadData loadData,
ServiceConfiguration conf)
Find a suitable broker to assign the given bundle to.
|
| Modifier and Type | Method and Description |
|---|---|
void |
BrokerVersionFilter.filter(Set<String> brokers,
BundleData bundleToAssign,
LoadData loadData,
ServiceConfiguration conf)
From the given set of available broker candidates, filter those using the version numbers.
|
Optional<String> |
LeastLongTermMessageRate.selectBroker(Set<String> candidates,
BundleData bundleToAssign,
LoadData loadData,
ServiceConfiguration conf)
Find a suitable broker to assign the given bundle to.
|
Copyright © 2017–2021 Apache Software Foundation. All rights reserved.