public class OverloadShedder extends Object implements LoadSheddingStrategy
| Constructor and Description |
|---|
OverloadShedder() |
| Modifier and Type | Method and Description |
|---|---|
com.google.common.collect.Multimap<String,String> |
findBundlesForUnloading(LoadData loadData,
ServiceConfiguration conf)
Attempt to shed some bundles off every broker which is overloaded.
|
public com.google.common.collect.Multimap<String,String> findBundlesForUnloading(LoadData loadData, ServiceConfiguration conf)
findBundlesForUnloading in interface LoadSheddingStrategyloadData - The load data to used to make the unloading decision.conf - The service configuration.Copyright © 2017–2021 Apache Software Foundation. All rights reserved.