Package org.apache.jackrabbit.oak.stats
Class RepositoryStats
- java.lang.Object
-
- javax.management.StandardMBean
-
- org.apache.jackrabbit.oak.commons.jmx.AnnotatedStandardMBean
-
- org.apache.jackrabbit.oak.stats.RepositoryStats
-
- All Implemented Interfaces:
DynamicMBean
,MBeanRegistration
,RepositoryStatsMBean
public class RepositoryStats extends AnnotatedStandardMBean implements RepositoryStatsMBean
-
-
Field Summary
-
Fields inherited from interface org.apache.jackrabbit.oak.api.jmx.RepositoryStatsMBean
TYPE
-
-
Constructor Summary
Constructors Constructor Description RepositoryStats(RepositoryStatistics repoStats, TimeSeries maxQueueLength)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CompositeData
getObservationEventAverage()
Seeorg.apache.jackrabbit.api.stats.RepositoryStatistics.Type#OBSERVATION_EVENT_AVERAGE
CompositeData
getObservationEventCount()
Seeorg.apache.jackrabbit.api.stats.RepositoryStatistics.Type#OBSERVATION_EVENT_COUNTER
CompositeData
getObservationEventDuration()
Seeorg.apache.jackrabbit.api.stats.RepositoryStatistics.Type#OBSERVATION_EVENT_DURATION
CompositeData
getObservationQueueMaxLength()
Maximum length of observation queue in the respective time period.CompositeData
getQueryAverage()
Seeorg.apache.jackrabbit.api.stats.RepositoryStatistics.Type#QUERY_AVERAGE
CompositeData
getQueryCount()
Seeorg.apache.jackrabbit.api.stats.RepositoryStatistics.Type#QUERY_COUNT
CompositeData
getQueryDuration()
Seeorg.apache.jackrabbit.api.stats.RepositoryStatistics.Type#QUERY_DURATION
CompositeData
getSessionCount()
Seeorg.apache.jackrabbit.api.stats.RepositoryStatistics.Type#SESSION_COUNT
CompositeData
getSessionLogin()
Seeorg.apache.jackrabbit.api.stats.RepositoryStatistics.Type#SESSION_LOGIN_COUNTER
CompositeData
getSessionReadAverage()
Seeorg.apache.jackrabbit.api.stats.RepositoryStatistics.Type#SESSION_READ_AVERAGE
CompositeData
getSessionReadCount()
Seeorg.apache.jackrabbit.api.stats.RepositoryStatistics.Type#SESSION_READ_COUNTER
CompositeData
getSessionReadDuration()
Seeorg.apache.jackrabbit.api.stats.RepositoryStatistics.Type#SESSION_READ_DURATION
CompositeData
getSessionWriteAverage()
Seeorg.apache.jackrabbit.api.stats.RepositoryStatistics.Type#SESSION_WRITE_AVERAGE
CompositeData
getSessionWriteCount()
Seeorg.apache.jackrabbit.api.stats.RepositoryStatistics.Type#SESSION_WRITE_COUNTER
CompositeData
getSessionWriteDuration()
Seeorg.apache.jackrabbit.api.stats.RepositoryStatistics.Type#SESSION_READ_DURATION
-
Methods inherited from class org.apache.jackrabbit.oak.commons.jmx.AnnotatedStandardMBean
getDescription, getDescription, getDescription, getDescription, getImpact, getParameterName
-
Methods inherited from class javax.management.StandardMBean
cacheMBeanInfo, getAttribute, getAttributes, getCachedMBeanInfo, getClassName, getConstructors, getDescription, getDescription, getDescription, getImplementation, getImplementationClass, getMBeanInfo, getMBeanInterface, getParameterName, invoke, postDeregister, postRegister, preDeregister, preRegister, setAttribute, setAttributes, setImplementation
-
-
-
-
Constructor Detail
-
RepositoryStats
public RepositoryStats(RepositoryStatistics repoStats, TimeSeries maxQueueLength)
-
-
Method Detail
-
getSessionCount
public CompositeData getSessionCount()
Description copied from interface:RepositoryStatsMBean
Seeorg.apache.jackrabbit.api.stats.RepositoryStatistics.Type#SESSION_COUNT
- Specified by:
getSessionCount
in interfaceRepositoryStatsMBean
-
getSessionLogin
public CompositeData getSessionLogin()
Description copied from interface:RepositoryStatsMBean
Seeorg.apache.jackrabbit.api.stats.RepositoryStatistics.Type#SESSION_LOGIN_COUNTER
- Specified by:
getSessionLogin
in interfaceRepositoryStatsMBean
-
getSessionReadCount
public CompositeData getSessionReadCount()
Description copied from interface:RepositoryStatsMBean
Seeorg.apache.jackrabbit.api.stats.RepositoryStatistics.Type#SESSION_READ_COUNTER
- Specified by:
getSessionReadCount
in interfaceRepositoryStatsMBean
-
getSessionReadDuration
public CompositeData getSessionReadDuration()
Description copied from interface:RepositoryStatsMBean
Seeorg.apache.jackrabbit.api.stats.RepositoryStatistics.Type#SESSION_READ_DURATION
- Specified by:
getSessionReadDuration
in interfaceRepositoryStatsMBean
-
getSessionReadAverage
public CompositeData getSessionReadAverage()
Description copied from interface:RepositoryStatsMBean
Seeorg.apache.jackrabbit.api.stats.RepositoryStatistics.Type#SESSION_READ_AVERAGE
- Specified by:
getSessionReadAverage
in interfaceRepositoryStatsMBean
-
getSessionWriteCount
public CompositeData getSessionWriteCount()
Description copied from interface:RepositoryStatsMBean
Seeorg.apache.jackrabbit.api.stats.RepositoryStatistics.Type#SESSION_WRITE_COUNTER
- Specified by:
getSessionWriteCount
in interfaceRepositoryStatsMBean
-
getSessionWriteDuration
public CompositeData getSessionWriteDuration()
Description copied from interface:RepositoryStatsMBean
Seeorg.apache.jackrabbit.api.stats.RepositoryStatistics.Type#SESSION_READ_DURATION
- Specified by:
getSessionWriteDuration
in interfaceRepositoryStatsMBean
-
getSessionWriteAverage
public CompositeData getSessionWriteAverage()
Description copied from interface:RepositoryStatsMBean
Seeorg.apache.jackrabbit.api.stats.RepositoryStatistics.Type#SESSION_WRITE_AVERAGE
- Specified by:
getSessionWriteAverage
in interfaceRepositoryStatsMBean
-
getQueryCount
public CompositeData getQueryCount()
Description copied from interface:RepositoryStatsMBean
Seeorg.apache.jackrabbit.api.stats.RepositoryStatistics.Type#QUERY_COUNT
- Specified by:
getQueryCount
in interfaceRepositoryStatsMBean
-
getQueryDuration
public CompositeData getQueryDuration()
Description copied from interface:RepositoryStatsMBean
Seeorg.apache.jackrabbit.api.stats.RepositoryStatistics.Type#QUERY_DURATION
- Specified by:
getQueryDuration
in interfaceRepositoryStatsMBean
-
getQueryAverage
public CompositeData getQueryAverage()
Description copied from interface:RepositoryStatsMBean
Seeorg.apache.jackrabbit.api.stats.RepositoryStatistics.Type#QUERY_AVERAGE
- Specified by:
getQueryAverage
in interfaceRepositoryStatsMBean
-
getObservationEventCount
public CompositeData getObservationEventCount()
Description copied from interface:RepositoryStatsMBean
Seeorg.apache.jackrabbit.api.stats.RepositoryStatistics.Type#OBSERVATION_EVENT_COUNTER
- Specified by:
getObservationEventCount
in interfaceRepositoryStatsMBean
-
getObservationEventDuration
public CompositeData getObservationEventDuration()
Description copied from interface:RepositoryStatsMBean
Seeorg.apache.jackrabbit.api.stats.RepositoryStatistics.Type#OBSERVATION_EVENT_DURATION
- Specified by:
getObservationEventDuration
in interfaceRepositoryStatsMBean
-
getObservationEventAverage
public CompositeData getObservationEventAverage()
Description copied from interface:RepositoryStatsMBean
Seeorg.apache.jackrabbit.api.stats.RepositoryStatistics.Type#OBSERVATION_EVENT_AVERAGE
- Specified by:
getObservationEventAverage
in interfaceRepositoryStatsMBean
-
getObservationQueueMaxLength
public CompositeData getObservationQueueMaxLength()
Description copied from interface:RepositoryStatsMBean
Maximum length of observation queue in the respective time period.- Specified by:
getObservationQueueMaxLength
in interfaceRepositoryStatsMBean
-
-