org.apache.sling.event.impl.jobs.jmx
Class AllJobStatisticsMBean

java.lang.Object
  extended by javax.management.StandardMBean
      extended by org.apache.sling.event.impl.jobs.jmx.AbstractJobStatistics
          extended by org.apache.sling.event.impl.jobs.jmx.AllJobStatisticsMBean
All Implemented Interfaces:
DynamicMBean, MBeanRegistration, StatisticsMBean, Statistics

@Service(value=StatisticsMBean.class)
@Properties(value=@Property(name="jmx.objectname",value="org.apache.sling:type=queues,name=AllQueues"))
public class AllJobStatisticsMBean
extends AbstractJobStatistics


Constructor Summary
AllJobStatisticsMBean()
           
 
Method Summary
 String getName()
           
protected  Statistics getStatistics()
           
 
Methods inherited from class org.apache.sling.event.impl.jobs.jmx.AbstractJobStatistics
getAverageProcessingTime, getAverageWaitingTime, getLastActivatedJobDate, getLastActivatedJobTime, getLastFinishedJobDate, getLastFinishedJobTime, getNumberOfActiveJobs, getNumberOfCancelledJobs, getNumberOfFailedJobs, getNumberOfFinishedJobs, getNumberOfJobs, getNumberOfProcessedJobs, getNumberOfQueuedJobs, getStartDate, getStartTime, reset
 
Methods inherited from class javax.management.StandardMBean
cacheMBeanInfo, getAttribute, getAttributes, getCachedMBeanInfo, getClassName, getConstructors, getDescription, getDescription, getDescription, getDescription, getDescription, getDescription, getDescription, getImpact, getImplementation, getImplementationClass, getMBeanInfo, getMBeanInterface, getParameterName, getParameterName, invoke, postDeregister, postRegister, preDeregister, preRegister, setAttribute, setAttributes, setImplementation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AllJobStatisticsMBean

public AllJobStatisticsMBean()
Method Detail

getStatistics

protected Statistics getStatistics()
Specified by:
getStatistics in class AbstractJobStatistics
Returns:
the aggregate stats from the job manager.

getName

public String getName()


Copyright © 2007-2013 The Apache Software Foundation. All Rights Reserved.