Class WorksMonitoring
- java.lang.Object
-
- org.nuxeo.ecm.core.management.works.WorksMonitoring
-
- All Implemented Interfaces:
WorksMonitoringMBean
public class WorksMonitoring extends Object implements WorksMonitoringMBean
- Since:
- 5.8
- Author:
- Stephane Lacoin at Nuxeo (aka matic)
-
-
Constructor Summary
Constructors Constructor Description WorksMonitoring()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isProcessing()
Is at least one queue is processing works ?boolean
isScheduleStackCapture()
is work schedule stack capture enabled ?protected WorkManager
manager()
boolean
toggleProcessing()
Toggles processing on all queuesboolean
toggleScheduleStackCapture()
Enable/disable work schedule stack capture
-
-
-
Constructor Detail
-
WorksMonitoring
public WorksMonitoring()
-
-
Method Detail
-
manager
protected WorkManager manager()
-
toggleScheduleStackCapture
public boolean toggleScheduleStackCapture()
Description copied from interface:WorksMonitoringMBean
Enable/disable work schedule stack capture- Specified by:
toggleScheduleStackCapture
in interfaceWorksMonitoringMBean
-
isScheduleStackCapture
public boolean isScheduleStackCapture()
Description copied from interface:WorksMonitoringMBean
is work schedule stack capture enabled ?- Specified by:
isScheduleStackCapture
in interfaceWorksMonitoringMBean
-
isProcessing
public boolean isProcessing()
Description copied from interface:WorksMonitoringMBean
Is at least one queue is processing works ?- Specified by:
isProcessing
in interfaceWorksMonitoringMBean
-
toggleProcessing
public boolean toggleProcessing()
Description copied from interface:WorksMonitoringMBean
Toggles processing on all queues- Specified by:
toggleProcessing
in interfaceWorksMonitoringMBean
-
-