public class MasterAnnotationReadingPriorityFunction extends AnnotationReadingPriorityFunction
annotatedQos, SCAN_VTIME_WEIGHT_CONF_KEY| Constructor and Description |
|---|
MasterAnnotationReadingPriorityFunction(RSRpcServices rpcServices) |
MasterAnnotationReadingPriorityFunction(RSRpcServices rpcServices,
java.lang.Class<? extends RSRpcServices> clz) |
| Modifier and Type | Method and Description |
|---|---|
int |
getPriority(RPCProtos.RequestHeader header,
Message param,
User user)
Returns a 'priority' based on the request type.
|
getAnnotatedPriority, getBasePriority, getDeadlinepublic MasterAnnotationReadingPriorityFunction(RSRpcServices rpcServices)
public MasterAnnotationReadingPriorityFunction(RSRpcServices rpcServices, java.lang.Class<? extends RSRpcServices> clz)
public int getPriority(RPCProtos.RequestHeader header,
Message param,
User user)
AnnotationReadingPriorityFunctiongetPriority in interface PriorityFunctiongetPriority in class AnnotationReadingPriorityFunction