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() |
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-2020 The Apache Software Foundation. All Rights Reserved.