15 #ifndef IMPALA_SCHEDULING_REQUEST_POOL_SERVICE_H
16 #define IMPALA_SCHEDULING_REQUEST_POOL_SERVICE_H
20 #include "gen-cpp/ImpalaInternalService.h"
44 const std::string& user, TResolveRequestPoolResult* resolved_pool);
RequestPoolService(MetricGroup *metrics)
Status GetPoolConfig(const std::string &pool_name, TPoolConfigResult *pool_config)
jobject request_pool_service_
Instance of com.cloudera.impala.util.RequestPoolService.
int64_t default_pool_mem_limit_
MetricGroups may be organised hierarchically as a tree.
jmethodID get_pool_config_id_
StatsMetric< double > * resolve_pool_ms_metric_
Metric measuring the time ResolveRequestPool() takes, in milliseconds.
MetricGroup * metrics_
Metrics subsystem access.
jclass request_pool_service_class_
Status ResolveRequestPool(const std::string &requested_pool_name, const std::string &user, TResolveRequestPoolResult *resolved_pool)
jmethodID resolve_request_pool_id_