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(org.apache.hadoop.hbase.protobuf.generated.RPCProtos.RequestHeader header,
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(org.apache.hadoop.hbase.protobuf.generated.RPCProtos.RequestHeader header, com.google.protobuf.Message param, User user)
AnnotationReadingPriorityFunction
getPriority
in interface PriorityFunction
getPriority
in class AnnotationReadingPriorityFunction
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.