526527528529530531532
return new RefreshStats(refreshMetric.count(), TimeUnit.NANOSECONDS.toMillis(refreshMetric.sum())); } @Override public FlushStats flushStats() { return new FlushStats(flushMetric.count(), TimeUnit.NANOSECONDS.toMillis(flushMetric.sum())); }
8283848586878889909192
break; case Refresh: refresh = new RefreshStats(); break; case Flush: flush = new FlushStats(); break; case Warmer: warmer = new WarmerStats(); break; case FilterCache:
299300301302303304305306307308309
} else { refresh.add(stats.getRefresh()); } if (flush == null) { if (stats.getFlush() != null) { flush = new FlushStats(); flush.add(stats.getFlush()); } } else { flush.add(stats.getFlush()); }