Package org.apache.jackrabbit.stats
Class RepositoryStatisticsImpl
- java.lang.Object
-
- org.apache.jackrabbit.stats.RepositoryStatisticsImpl
-
- All Implemented Interfaces:
java.lang.Iterable<java.util.Map.Entry<java.lang.String,TimeSeries>>
,RepositoryStatistics
public class RepositoryStatisticsImpl extends java.lang.Object implements java.lang.Iterable<java.util.Map.Entry<java.lang.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(java.util.concurrent.ScheduledExecutorService executor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.concurrent.atomic.AtomicLong
getCounter(java.lang.String type, boolean resetValueEachSecond)
java.util.concurrent.atomic.AtomicLong
getCounter(RepositoryStatistics.Type type)
TimeSeries
getTimeSeries(java.lang.String type, boolean resetValueEachSecond)
TimeSeries
getTimeSeries(RepositoryStatistics.Type type)
java.util.Iterator<java.util.Map.Entry<java.lang.String,TimeSeries>>
iterator()
-
-
-
Method Detail
-
iterator
public java.util.Iterator<java.util.Map.Entry<java.lang.String,TimeSeries>> iterator()
- Specified by:
iterator
in interfacejava.lang.Iterable<java.util.Map.Entry<java.lang.String,TimeSeries>>
-
getCounter
public java.util.concurrent.atomic.AtomicLong getCounter(RepositoryStatistics.Type type)
-
getCounter
public java.util.concurrent.atomic.AtomicLong getCounter(java.lang.String type, boolean resetValueEachSecond)
-
getTimeSeries
public TimeSeries getTimeSeries(RepositoryStatistics.Type type)
- Specified by:
getTimeSeries
in interfaceRepositoryStatistics
-
getTimeSeries
public TimeSeries getTimeSeries(java.lang.String type, boolean resetValueEachSecond)
- Specified by:
getTimeSeries
in interfaceRepositoryStatistics
-
-