@InterfaceAudience.Private public class MasterAnnotationReadingPriorityFunction extends AnnotationReadingPriorityFunction
Modifier and Type | Field and Description |
---|---|
static int |
META_TRANSITION_QOS |
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(org.apache.hadoop.hbase.shaded.protobuf.generated.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 static final int META_TRANSITION_QOS
public MasterAnnotationReadingPriorityFunction(RSRpcServices rpcServices)
public MasterAnnotationReadingPriorityFunction(RSRpcServices rpcServices, Class<? extends RSRpcServices> clz)
public int getPriority(org.apache.hadoop.hbase.shaded.protobuf.generated.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–2020 The Apache Software Foundation. All rights reserved.