DecayRpcScheduler, DefaultRpcSchedulerpublic interface RpcScheduler
| Modifier and Type | Method | Description |
|---|---|---|
default void |
addResponseTime(java.lang.String name,
int priorityLevel,
int queueTime,
int processingTime) |
Deprecated.
|
default void |
addResponseTime(java.lang.String callName,
Schedulable schedulable,
ProcessingDetails details) |
Store a processing time value for an RPC call into this scheduler.
|
int |
getPriorityLevel(Schedulable obj) |
|
boolean |
shouldBackOff(Schedulable obj) |
|
void |
stop() |
int getPriorityLevel(Schedulable obj)
obj - input obj.boolean shouldBackOff(Schedulable obj)
@Deprecated
default void addResponseTime(java.lang.String name,
int priorityLevel,
int queueTime,
int processingTime)
name - input name.priorityLevel - input priorityLevel.queueTime - input queueTime.processingTime - input processingTime.java.lang.UnsupportedOperationException - the requested operation is not supported.default void addResponseTime(java.lang.String callName,
Schedulable schedulable,
ProcessingDetails details)
callName - The name of the call.schedulable - The schedulable representing the incoming call.details - The details of processing time.void stop()
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.