@InterfaceAudience.LimitedPrivate(value={"Coprocesssor","Phoenix"})
@InterfaceStability.Evolving
public interface PriorityFunction
Modifier and Type | Method and Description |
---|---|
long |
getDeadline(RPCProtos.RequestHeader header,
org.apache.hbase.thirdparty.com.google.protobuf.Message param)
Returns the deadline of the specified request.
|
int |
getPriority(RPCProtos.RequestHeader header,
org.apache.hbase.thirdparty.com.google.protobuf.Message param,
User user)
Returns the 'priority type' of the specified request.
|
int getPriority(RPCProtos.RequestHeader header, org.apache.hbase.thirdparty.com.google.protobuf.Message param, User user)
header
- param
- user
- long getDeadline(RPCProtos.RequestHeader header, org.apache.hbase.thirdparty.com.google.protobuf.Message param)
header
- param
- Copyright © 2007–2019 Cloudera. All rights reserved.