| Package | Description |
|---|---|
| org.apache.hadoop.ipc |
Tools to help define network clients and servers.
|
| Modifier and Type | Method | Description |
|---|---|---|
ProcessingDetails |
Server.Call.getProcessingDetails() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
DecayRpcScheduler.addResponseTime(java.lang.String callName,
Schedulable schedulable,
ProcessingDetails details) |
|
void |
DefaultRpcScheduler.addResponseTime(java.lang.String callName,
Schedulable schedulable,
ProcessingDetails details) |
|
default void |
RpcScheduler.addResponseTime(java.lang.String callName,
Schedulable schedulable,
ProcessingDetails details) |
Store a processing time value for an RPC call into this scheduler.
|
long |
CostProvider.getCost(ProcessingDetails details) |
Get cost from
ProcessingDetails which will be used in scheduler. |
long |
DefaultCostProvider.getCost(ProcessingDetails details) |
Returns 1, regardless of the processing details.
|
long |
WeightedTimeCostProvider.getCost(ProcessingDetails details) |
Calculates a weighted sum of the times stored on the provided processing
details to be used as the cost in
DecayRpcScheduler. |
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.