@InterfaceAudience.LimitedPrivate(value={"Coprocesssor","Phoenix"}) @InterfaceStability.Evolving public interface PriorityFunction
| Modifier and Type | Method and Description |
|---|---|
long |
getDeadline(RPCProtos.RequestHeader header,
com.google.protobuf.Message param)
Returns the deadline of the specified request.
|
int |
getPriority(RPCProtos.RequestHeader header,
com.google.protobuf.Message param)
Returns the 'priority type' of the specified request.
|
int getPriority(RPCProtos.RequestHeader header, com.google.protobuf.Message param)
header - param - long getDeadline(RPCProtos.RequestHeader header, com.google.protobuf.Message param)
header - param - Copyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.