DefaultCostProvider, WeightedTimeCostProviderpublic interface CostProvider
DecayRpcScheduler to get the cost of users' operations. This
is configurable using
CommonConfigurationKeys.IPC_COST_PROVIDER_KEY.| Modifier and Type | Method | Description |
|---|---|---|
long |
getCost(ProcessingDetails details) |
Get cost from
ProcessingDetails which will be used in scheduler. |
void |
init(java.lang.String namespace,
Configuration conf) |
Initialize this provider using the given configuration, examining only
ones which fall within the provided namespace.
|
void init(java.lang.String namespace,
Configuration conf)
namespace - The namespace to use when looking up configurations.conf - The configurationlong getCost(ProcessingDetails details)
ProcessingDetails which will be used in scheduler.details - Process detailsCopyright © 2008–2025 Apache Software Foundation. All rights reserved.