Class JobsStatistics
java.lang.Object
javax.management.NotificationBroadcasterSupport
org.opencastproject.serviceregistry.impl.jmx.JobsStatistics
- All Implemented Interfaces:
NotificationBroadcaster,NotificationEmitter,JobsStatisticsMXBean
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionString[]Gets a list of average job queue timesString[]Gets a list of average job run timesintGets the number of failed jobsintGets the number of failed jobs of this JMX nodeString[]Gets a list of all failed jobsString[]Gets a list of failed jobs of this JMX nodeintGets the number of finished jobsintGets the number of finished jobs of this JMX nodeString[]Gets a list of all finished jobsString[]Gets a list of finished jobs of this JMX nodeintGets the total number of jobsintGets the number of jobs of this JMX nodeString[]getJobs()Gets a list of all jobsString[]Gets a list of all jobs of this JMX nodeintGets the number of queued jobsintGets the number of queued jobs of this JMX nodeString[]Gets a list of all queued jobsString[]Gets a list of queued jobs of this JMX nodeintGets the number of running jobsintGets the number of running jobs of this JMX nodeString[]Gets a list of all running jobsString[]Gets a list of running jobs of this JMX nodevoidvoidupdateJobCount(List<Object[]> perHostServiceCount) Methods inherited from class javax.management.NotificationBroadcasterSupport
addNotificationListener, handleNotification, removeNotificationListener, removeNotificationListener, sendNotification
-
Constructor Details
-
JobsStatistics
-
-
Method Details
-
updateJobCount
-
updateAvg
-
getNotificationInfo
- Specified by:
getNotificationInfoin interfaceNotificationBroadcaster- Overrides:
getNotificationInfoin classNotificationBroadcasterSupport
-
getJobCount
public int getJobCount()Description copied from interface:JobsStatisticsMXBeanGets the total number of jobs- Specified by:
getJobCountin interfaceJobsStatisticsMXBean- Returns:
- the number of jobs
- See Also:
-
getRunningJobCount
public int getRunningJobCount()Description copied from interface:JobsStatisticsMXBeanGets the number of running jobs- Specified by:
getRunningJobCountin interfaceJobsStatisticsMXBean- Returns:
- the number of running jobs
- See Also:
-
getQueuedJobCount
public int getQueuedJobCount()Description copied from interface:JobsStatisticsMXBeanGets the number of queued jobs- Specified by:
getQueuedJobCountin interfaceJobsStatisticsMXBean- Returns:
- the number of queued jobs
- See Also:
-
getFinishedJobCount
public int getFinishedJobCount()Description copied from interface:JobsStatisticsMXBeanGets the number of finished jobs- Specified by:
getFinishedJobCountin interfaceJobsStatisticsMXBean- Returns:
- the number of finished jobs
- See Also:
-
getFailedJobCount
public int getFailedJobCount()Description copied from interface:JobsStatisticsMXBeanGets the number of failed jobs- Specified by:
getFailedJobCountin interfaceJobsStatisticsMXBean- Returns:
- the number of failed jobs
- See Also:
-
getJobCountByNode
public int getJobCountByNode()Description copied from interface:JobsStatisticsMXBeanGets the number of jobs of this JMX node- Specified by:
getJobCountByNodein interfaceJobsStatisticsMXBean- Returns:
- the number of jobs
- See Also:
-
getRunningJobCountByNode
public int getRunningJobCountByNode()Description copied from interface:JobsStatisticsMXBeanGets the number of running jobs of this JMX node- Specified by:
getRunningJobCountByNodein interfaceJobsStatisticsMXBean- Returns:
- the number of running jobs
- See Also:
-
getQueuedJobCountByNode
public int getQueuedJobCountByNode()Description copied from interface:JobsStatisticsMXBeanGets the number of queued jobs of this JMX node- Specified by:
getQueuedJobCountByNodein interfaceJobsStatisticsMXBean- Returns:
- the number of queued jobs
- See Also:
-
getFinishedJobCountByNode
public int getFinishedJobCountByNode()Description copied from interface:JobsStatisticsMXBeanGets the number of finished jobs of this JMX node- Specified by:
getFinishedJobCountByNodein interfaceJobsStatisticsMXBean- Returns:
- the number of finished jobs
- See Also:
-
getFailedJobCountByNode
public int getFailedJobCountByNode()Description copied from interface:JobsStatisticsMXBeanGets the number of failed jobs of this JMX node- Specified by:
getFailedJobCountByNodein interfaceJobsStatisticsMXBean- Returns:
- the number of failed jobs
- See Also:
-
getAverageJobRunTime
Description copied from interface:JobsStatisticsMXBeanGets a list of average job run times- Specified by:
getAverageJobRunTimein interfaceJobsStatisticsMXBean- Returns:
- an array including average job run times
- See Also:
-
getAverageJobQueueTime
Description copied from interface:JobsStatisticsMXBeanGets a list of average job queue times- Specified by:
getAverageJobQueueTimein interfaceJobsStatisticsMXBean- Returns:
- an array including average job queue times
- See Also:
-
getJobs
Description copied from interface:JobsStatisticsMXBeanGets a list of all jobs- Specified by:
getJobsin interfaceJobsStatisticsMXBean- Returns:
- an array including all jobs
- See Also:
-
getRunningJobs
Description copied from interface:JobsStatisticsMXBeanGets a list of all running jobs- Specified by:
getRunningJobsin interfaceJobsStatisticsMXBean- Returns:
- an array including all running jobs
- See Also:
-
getQueuedJobs
Description copied from interface:JobsStatisticsMXBeanGets a list of all queued jobs- Specified by:
getQueuedJobsin interfaceJobsStatisticsMXBean- Returns:
- an array including all queued jobs
- See Also:
-
getFinishedJobs
Description copied from interface:JobsStatisticsMXBeanGets a list of all finished jobs- Specified by:
getFinishedJobsin interfaceJobsStatisticsMXBean- Returns:
- an array including all finished jobs
- See Also:
-
getFailedJobs
Description copied from interface:JobsStatisticsMXBeanGets a list of all failed jobs- Specified by:
getFailedJobsin interfaceJobsStatisticsMXBean- Returns:
- an array including all failed jobs
- See Also:
-
getJobsByNode
Description copied from interface:JobsStatisticsMXBeanGets a list of all jobs of this JMX node- Specified by:
getJobsByNodein interfaceJobsStatisticsMXBean- Returns:
- an array including all jobs
- See Also:
-
getRunningJobsByNode
Description copied from interface:JobsStatisticsMXBeanGets a list of running jobs of this JMX node- Specified by:
getRunningJobsByNodein interfaceJobsStatisticsMXBean- Returns:
- an array including running jobs
- See Also:
-
getQueuedJobsByNode
Description copied from interface:JobsStatisticsMXBeanGets a list of queued jobs of this JMX node- Specified by:
getQueuedJobsByNodein interfaceJobsStatisticsMXBean- Returns:
- an array including queued jobs
- See Also:
-
getFinishedJobsByNode
Description copied from interface:JobsStatisticsMXBeanGets a list of finished jobs of this JMX node- Specified by:
getFinishedJobsByNodein interfaceJobsStatisticsMXBean- Returns:
- an array including finished jobs
- See Also:
-
getFailedJobsByNode
Description copied from interface:JobsStatisticsMXBeanGets a list of failed jobs of this JMX node- Specified by:
getFailedJobsByNodein interfaceJobsStatisticsMXBean- Returns:
- an array including failed jobs
- See Also:
-