@InterfaceAudience.LimitedPrivate(value={"Coprocesssor","Phoenix"}) @InterfaceStability.Evolving public interface PriorityFunction
| Modifier and Type | Method and Description |
|---|---|
long |
getDeadline(RPCProtos.RequestHeader header,
Message param)
Returns the deadline of the specified request.
|
int |
getPriority(RPCProtos.RequestHeader header,
Message param)
Returns the 'priority type' of the specified request.
|
int getPriority(RPCProtos.RequestHeader header, Message param)
header - param - long getDeadline(RPCProtos.RequestHeader header, Message param)
header - param -