public void resetWmMetrics() {
    wmTotalGuaranteedCount.set(0);
    wmUnusedGuaranteedCount.set(0);
    wmGuaranteedCount.incr(-wmGuaranteedCount.value());
    wmSpeculativeCount.incr(-wmSpeculativeCount.value());
    wmGuaranteedPendingCount.incr(-wmGuaranteedPendingCount.value());
    wmSpeculativePendingCount.incr(-wmSpeculativePendingCount.value());
  }
Metrics about the llap task scheduler.
llap-tez/src/java/org/apache/hadoop/hive/llap/tezplugins/metrics/LlapTaskSchedulerMetrics.java