@InterfaceAudience.Private public class MasterAnnotationReadingPriorityFunction extends AnnotationReadingPriorityFunction
annotatedQos, SCAN_VTIME_WEIGHT_CONF_KEY
Constructor and Description |
---|
MasterAnnotationReadingPriorityFunction(RSRpcServices rpcServices) |
MasterAnnotationReadingPriorityFunction(RSRpcServices rpcServices,
Class<? extends RSRpcServices> clz) |
Modifier and Type | Method and Description |
---|---|
int |
getPriority(RPCProtos.RequestHeader header,
org.apache.hbase.thirdparty.com.google.protobuf.Message param,
User user)
Returns a 'priority' based on the request type.
|
getAnnotatedPriority, getBasePriority, getDeadline
public MasterAnnotationReadingPriorityFunction(RSRpcServices rpcServices)
public MasterAnnotationReadingPriorityFunction(RSRpcServices rpcServices, Class<? extends RSRpcServices> clz)
public int getPriority(RPCProtos.RequestHeader header, org.apache.hbase.thirdparty.com.google.protobuf.Message param, User user)
AnnotationReadingPriorityFunction
getPriority
in interface PriorityFunction
getPriority
in class AnnotationReadingPriorityFunction
Copyright © 2007–2019 Cloudera. All rights reserved.