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:
javax.management.DynamicMBean
,javax.management.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 javax.management.openmbean.CompositeData
getObservationEventAverage()
Seeorg.apache.jackrabbit.api.stats.RepositoryStatistics.Type#OBSERVATION_EVENT_AVERAGE
javax.management.openmbean.CompositeData
getObservationEventCount()
Seeorg.apache.jackrabbit.api.stats.RepositoryStatistics.Type#OBSERVATION_EVENT_COUNTER
javax.management.openmbean.CompositeData
getObservationEventDuration()
Seeorg.apache.jackrabbit.api.stats.RepositoryStatistics.Type#OBSERVATION_EVENT_DURATION
javax.management.openmbean.CompositeData
getObservationQueueMaxLength()
Maximum length of observation queue in the respective time period.javax.management.openmbean.CompositeData
getQueryAverage()
Seeorg.apache.jackrabbit.api.stats.RepositoryStatistics.Type#QUERY_AVERAGE
javax.management.openmbean.CompositeData
getQueryCount()
Seeorg.apache.jackrabbit.api.stats.RepositoryStatistics.Type#QUERY_COUNT
javax.management.openmbean.CompositeData
getQueryDuration()
Seeorg.apache.jackrabbit.api.stats.RepositoryStatistics.Type#QUERY_DURATION
javax.management.openmbean.CompositeData
getSessionCount()
Seeorg.apache.jackrabbit.api.stats.RepositoryStatistics.Type#SESSION_COUNT
javax.management.openmbean.CompositeData
getSessionLogin()
Seeorg.apache.jackrabbit.api.stats.RepositoryStatistics.Type#SESSION_LOGIN_COUNTER
javax.management.openmbean.CompositeData
getSessionReadAverage()
Seeorg.apache.jackrabbit.api.stats.RepositoryStatistics.Type#SESSION_READ_AVERAGE
javax.management.openmbean.CompositeData
getSessionReadCount()
Seeorg.apache.jackrabbit.api.stats.RepositoryStatistics.Type#SESSION_READ_COUNTER
javax.management.openmbean.CompositeData
getSessionReadDuration()
Seeorg.apache.jackrabbit.api.stats.RepositoryStatistics.Type#SESSION_READ_DURATION
javax.management.openmbean.CompositeData
getSessionWriteAverage()
Seeorg.apache.jackrabbit.api.stats.RepositoryStatistics.Type#SESSION_WRITE_AVERAGE
javax.management.openmbean.CompositeData
getSessionWriteCount()
Seeorg.apache.jackrabbit.api.stats.RepositoryStatistics.Type#SESSION_WRITE_COUNTER
javax.management.openmbean.CompositeData
getSessionWriteDuration()
Seeorg.apache.jackrabbit.api.stats.RepositoryStatistics.Type#SESSION_READ_DURATION
-
-
-
Constructor Detail
-
RepositoryStats
public RepositoryStats(RepositoryStatistics repoStats, TimeSeries maxQueueLength)
-
-
Method Detail
-
getSessionCount
public javax.management.openmbean.CompositeData getSessionCount()
Description copied from interface:RepositoryStatsMBean
Seeorg.apache.jackrabbit.api.stats.RepositoryStatistics.Type#SESSION_COUNT
- Specified by:
getSessionCount
in interfaceRepositoryStatsMBean
-
getSessionLogin
public javax.management.openmbean.CompositeData getSessionLogin()
Description copied from interface:RepositoryStatsMBean
Seeorg.apache.jackrabbit.api.stats.RepositoryStatistics.Type#SESSION_LOGIN_COUNTER
- Specified by:
getSessionLogin
in interfaceRepositoryStatsMBean
-
getSessionReadCount
public javax.management.openmbean.CompositeData getSessionReadCount()
Description copied from interface:RepositoryStatsMBean
Seeorg.apache.jackrabbit.api.stats.RepositoryStatistics.Type#SESSION_READ_COUNTER
- Specified by:
getSessionReadCount
in interfaceRepositoryStatsMBean
-
getSessionReadDuration
public javax.management.openmbean.CompositeData getSessionReadDuration()
Description copied from interface:RepositoryStatsMBean
Seeorg.apache.jackrabbit.api.stats.RepositoryStatistics.Type#SESSION_READ_DURATION
- Specified by:
getSessionReadDuration
in interfaceRepositoryStatsMBean
-
getSessionReadAverage
public javax.management.openmbean.CompositeData getSessionReadAverage()
Description copied from interface:RepositoryStatsMBean
Seeorg.apache.jackrabbit.api.stats.RepositoryStatistics.Type#SESSION_READ_AVERAGE
- Specified by:
getSessionReadAverage
in interfaceRepositoryStatsMBean
-
getSessionWriteCount
public javax.management.openmbean.CompositeData getSessionWriteCount()
Description copied from interface:RepositoryStatsMBean
Seeorg.apache.jackrabbit.api.stats.RepositoryStatistics.Type#SESSION_WRITE_COUNTER
- Specified by:
getSessionWriteCount
in interfaceRepositoryStatsMBean
-
getSessionWriteDuration
public javax.management.openmbean.CompositeData getSessionWriteDuration()
Description copied from interface:RepositoryStatsMBean
Seeorg.apache.jackrabbit.api.stats.RepositoryStatistics.Type#SESSION_READ_DURATION
- Specified by:
getSessionWriteDuration
in interfaceRepositoryStatsMBean
-
getSessionWriteAverage
public javax.management.openmbean.CompositeData getSessionWriteAverage()
Description copied from interface:RepositoryStatsMBean
Seeorg.apache.jackrabbit.api.stats.RepositoryStatistics.Type#SESSION_WRITE_AVERAGE
- Specified by:
getSessionWriteAverage
in interfaceRepositoryStatsMBean
-
getQueryCount
public javax.management.openmbean.CompositeData getQueryCount()
Description copied from interface:RepositoryStatsMBean
Seeorg.apache.jackrabbit.api.stats.RepositoryStatistics.Type#QUERY_COUNT
- Specified by:
getQueryCount
in interfaceRepositoryStatsMBean
-
getQueryDuration
public javax.management.openmbean.CompositeData getQueryDuration()
Description copied from interface:RepositoryStatsMBean
Seeorg.apache.jackrabbit.api.stats.RepositoryStatistics.Type#QUERY_DURATION
- Specified by:
getQueryDuration
in interfaceRepositoryStatsMBean
-
getQueryAverage
public javax.management.openmbean.CompositeData getQueryAverage()
Description copied from interface:RepositoryStatsMBean
Seeorg.apache.jackrabbit.api.stats.RepositoryStatistics.Type#QUERY_AVERAGE
- Specified by:
getQueryAverage
in interfaceRepositoryStatsMBean
-
getObservationEventCount
public javax.management.openmbean.CompositeData getObservationEventCount()
Description copied from interface:RepositoryStatsMBean
Seeorg.apache.jackrabbit.api.stats.RepositoryStatistics.Type#OBSERVATION_EVENT_COUNTER
- Specified by:
getObservationEventCount
in interfaceRepositoryStatsMBean
-
getObservationEventDuration
public javax.management.openmbean.CompositeData getObservationEventDuration()
Description copied from interface:RepositoryStatsMBean
Seeorg.apache.jackrabbit.api.stats.RepositoryStatistics.Type#OBSERVATION_EVENT_DURATION
- Specified by:
getObservationEventDuration
in interfaceRepositoryStatsMBean
-
getObservationEventAverage
public javax.management.openmbean.CompositeData getObservationEventAverage()
Description copied from interface:RepositoryStatsMBean
Seeorg.apache.jackrabbit.api.stats.RepositoryStatistics.Type#OBSERVATION_EVENT_AVERAGE
- Specified by:
getObservationEventAverage
in interfaceRepositoryStatsMBean
-
getObservationQueueMaxLength
public javax.management.openmbean.CompositeData getObservationQueueMaxLength()
Description copied from interface:RepositoryStatsMBean
Maximum length of observation queue in the respective time period.- Specified by:
getObservationQueueMaxLength
in interfaceRepositoryStatsMBean
-
-