Package org.apache.jackrabbit.stats
Class RepositoryStatisticsImpl
- java.lang.Object
-
- org.apache.jackrabbit.stats.RepositoryStatisticsImpl
-
- All Implemented Interfaces:
Iterable<Map.Entry<String,TimeSeries>>
,RepositoryStatistics
public class RepositoryStatisticsImpl extends Object implements Iterable<Map.Entry<String,TimeSeries>>, RepositoryStatistics
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.jackrabbit.api.stats.RepositoryStatistics
RepositoryStatistics.Type
-
-
Constructor Summary
Constructors Constructor Description RepositoryStatisticsImpl()
RepositoryStatisticsImpl(ScheduledExecutorService executor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AtomicLong
getCounter(String type, boolean resetValueEachSecond)
AtomicLong
getCounter(RepositoryStatistics.Type type)
TimeSeries
getTimeSeries(String type, boolean resetValueEachSecond)
TimeSeries
getTimeSeries(RepositoryStatistics.Type type)
Iterator<Map.Entry<String,TimeSeries>>
iterator()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Constructor Detail
-
RepositoryStatisticsImpl
public RepositoryStatisticsImpl()
-
RepositoryStatisticsImpl
public RepositoryStatisticsImpl(ScheduledExecutorService executor)
-
-
Method Detail
-
iterator
public Iterator<Map.Entry<String,TimeSeries>> iterator()
- Specified by:
iterator
in interfaceIterable<Map.Entry<String,TimeSeries>>
-
getCounter
public AtomicLong getCounter(RepositoryStatistics.Type type)
-
getCounter
public AtomicLong getCounter(String type, boolean resetValueEachSecond)
-
getTimeSeries
public TimeSeries getTimeSeries(RepositoryStatistics.Type type)
- Specified by:
getTimeSeries
in interfaceRepositoryStatistics
-
getTimeSeries
public TimeSeries getTimeSeries(String type, boolean resetValueEachSecond)
- Specified by:
getTimeSeries
in interfaceRepositoryStatistics
-
-