@Test public void testReset() { assertPublishedMetrics(overAllQueryMetrics.publish(), numParallelScans, queryTimeouts, queryFailures, cacheRefreshesDueToSplits, 0L); overAllQueryMetrics.reset(); assertPublishedMetrics(overAllQueryMetrics.publish(), 0L, 0L, 0L, 0L, 0L); }
public void reset() { numParallelScans.reset(); wallClockTimeMS.reset(); resultSetTimeMS.reset(); queryTimedOut.reset(); queryFailed.reset(); cacheRefreshedDueToSplits.reset(); queryWatch.stop(); resultSetWatch.stop(); }
OverAllQueryMetrics { public void reset() { numParallelScans.reset(); wallClockTimeMS.reset(); resultSetTimeMS.reset(); queryTimedOut.reset(); queryFailed.reset(); cacheRefreshedDueToSplits.reset(); queryWatch.stop(); resultSetWatch.stop(); } }
OverAllQueryMetrics { public void reset() { numParallelScans.reset(); wallClockTimeMS.reset(); resultSetTimeMS.reset(); queryTimedOut.reset(); queryFailed.reset(); cacheRefreshedDueToSplits.reset(); queryWatch.stop(); resultSetWatch.stop(); } OverAllQueryMetrics(boolean isRequestMetricsEnabled, LogLevel connectionLogLevel); }
OverAllQueryMetrics { public void reset() { numParallelScans.reset(); wallClockTimeMS.reset(); resultSetTimeMS.reset(); queryTimedOut.reset(); queryFailed.reset(); cacheRefreshedDueToSplits.reset(); queryWatch.stop(); resultSetWatch.stop(); } OverAllQueryMetrics(boolean isRequestMetricsEnabled, LogLevel connectionLogLevel); void updateNumParallelScans(long numParallelScans); void queryTimedOut(); void queryFailed(); void cacheRefreshedDueToSplits(); void startQuery(); void endQuery(); void startResultSetWatch(); void stopResultSetWatch(); Map<MetricType, Long> publish(); void reset(); OverAllQueryMetrics combine(OverAllQueryMetrics metric); }
OverAllQueryMetrics { public void reset() { numParallelScans.reset(); wallClockTimeMS.reset(); resultSetTimeMS.reset(); queryTimedOut.reset(); queryFailed.reset(); cacheRefreshedDueToSplits.reset(); queryWatch.stop(); resultSetWatch.stop(); } OverAllQueryMetrics(boolean isRequestMetricsEnabled, LogLevel connectionLogLevel); void updateNumParallelScans(long numParallelScans); void queryTimedOut(); void queryFailed(); void cacheRefreshedDueToSplits(); void startQuery(); void endQuery(); void startResultSetWatch(); void stopResultSetWatch(); Map<MetricType, Long> publish(); void reset(); OverAllQueryMetrics combine(OverAllQueryMetrics metric);  }