public class RepositoryStatisticsImpl extends Object implements Iterable<Map.Entry<String,TimeSeries>>, RepositoryStatistics
RepositoryStatistics.Type
Constructor and Description |
---|
RepositoryStatisticsImpl() |
RepositoryStatisticsImpl(ScheduledExecutorService executor) |
Modifier and Type | Method and Description |
---|---|
AtomicLong |
getCounter(RepositoryStatistics.Type type) |
AtomicLong |
getCounter(String type,
boolean resetValueEachSecond) |
TimeSeries |
getTimeSeries(RepositoryStatistics.Type type) |
TimeSeries |
getTimeSeries(String type,
boolean resetValueEachSecond) |
Iterator<Map.Entry<String,TimeSeries>> |
iterator() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public RepositoryStatisticsImpl()
public RepositoryStatisticsImpl(ScheduledExecutorService executor)
public Iterator<Map.Entry<String,TimeSeries>> iterator()
iterator
in interface Iterable<Map.Entry<String,TimeSeries>>
public AtomicLong getCounter(RepositoryStatistics.Type type)
public AtomicLong getCounter(String type, boolean resetValueEachSecond)
public TimeSeries getTimeSeries(RepositoryStatistics.Type type)
getTimeSeries
in interface RepositoryStatistics
public TimeSeries getTimeSeries(String type, boolean resetValueEachSecond)
getTimeSeries
in interface RepositoryStatistics
Copyright © 2004–2022 The Apache Software Foundation. All rights reserved.