Class EventMonitoring
- java.lang.Object
-
- org.nuxeo.ecm.core.management.events.EventMonitoring
-
- All Implemented Interfaces:
EventMonitoringMBean
@Deprecated(since="11.4") public class EventMonitoring extends Object implements EventMonitoringMBean
Deprecated.since 11.4: superseded by dropwizard metricsMonitoring MBean implementation.- Author:
- Thierry Delprat
-
-
Constructor Summary
Constructors Constructor Description EventMonitoring()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description int
getActiveThreadsCount()
Deprecated.Gets number of active threads.String
getAsyncHandlersExecTime()
Deprecated.Returns the statistics for Async Handlers.int
getEventsInQueueCount()
Deprecated.Gets the number of events in process or waiting for available slots.String
getListenersConfig()
Deprecated.Get a summary of all registered listeners (name - type - enabled).String
getSyncHandlersExecTime()
Deprecated.Returns the statistics for Sync Handlers.boolean
isAsyncHandlersTrackingEnabled()
Deprecated.Tells if time tracking is active for Async event handlers.boolean
isBlockAsyncHandlers()
Deprecated.Tells if async handlers execution is blocked.boolean
isBlockSyncPostCommitHandlers()
Deprecated.Tells if post-commit sync handlers execution is blocked.boolean
isBulkModeEnabled()
Deprecated.Getter for bulkMode processing.boolean
isSyncHandlersTrackingEnabled()
Deprecated.Tells if time tracking is active for Sync event handlers.void
resetHandlersExecTime()
Deprecated.Resets the statistics.void
setAsyncHandlersTrackingEnabled(boolean collectAsyncHandlersExecTime)
Deprecated.Enables or disables time tracking for Async event handlers.void
setBlockAsyncHandlers(boolean blockAsyncHandlers)
Deprecated.Blocks or enables async handlers execution.void
setBlockSyncPostCommitHandlers(boolean blockSyncPostCommitHandlers)
Deprecated.Blocks or enables post-commit sync handlers execution.void
setBulkModeEnabled(boolean bulkModeEnabled)
Deprecated.Enables/Disables bulkMode processing.void
setListenerEnabledFlag(String listenerName, boolean enabled)
Deprecated.Enables or disables a listener by its name.void
setSyncHandlersTrackingEnabled(boolean collectSyncHandlersExecTime)
Deprecated.Enables or disables time tracking for Sync event handlers.
-
-
-
Method Detail
-
isAsyncHandlersTrackingEnabled
public boolean isAsyncHandlersTrackingEnabled()
Deprecated.Description copied from interface:EventMonitoringMBean
Tells if time tracking is active for Async event handlers.- Specified by:
isAsyncHandlersTrackingEnabled
in interfaceEventMonitoringMBean
-
setAsyncHandlersTrackingEnabled
public void setAsyncHandlersTrackingEnabled(boolean collectAsyncHandlersExecTime)
Deprecated.Description copied from interface:EventMonitoringMBean
Enables or disables time tracking for Async event handlers.- Specified by:
setAsyncHandlersTrackingEnabled
in interfaceEventMonitoringMBean
-
isSyncHandlersTrackingEnabled
public boolean isSyncHandlersTrackingEnabled()
Deprecated.Description copied from interface:EventMonitoringMBean
Tells if time tracking is active for Sync event handlers.- Specified by:
isSyncHandlersTrackingEnabled
in interfaceEventMonitoringMBean
-
setSyncHandlersTrackingEnabled
public void setSyncHandlersTrackingEnabled(boolean collectSyncHandlersExecTime)
Deprecated.Description copied from interface:EventMonitoringMBean
Enables or disables time tracking for Sync event handlers.- Specified by:
setSyncHandlersTrackingEnabled
in interfaceEventMonitoringMBean
-
getActiveThreadsCount
public int getActiveThreadsCount()
Deprecated.Description copied from interface:EventMonitoringMBean
Gets number of active threads.- Specified by:
getActiveThreadsCount
in interfaceEventMonitoringMBean
-
getEventsInQueueCount
public int getEventsInQueueCount()
Deprecated.Description copied from interface:EventMonitoringMBean
Gets the number of events in process or waiting for available slots.- Specified by:
getEventsInQueueCount
in interfaceEventMonitoringMBean
-
getAsyncHandlersExecTime
public String getAsyncHandlersExecTime()
Deprecated.Description copied from interface:EventMonitoringMBean
Returns the statistics for Async Handlers.- Specified by:
getAsyncHandlersExecTime
in interfaceEventMonitoringMBean
-
getSyncHandlersExecTime
public String getSyncHandlersExecTime()
Deprecated.Description copied from interface:EventMonitoringMBean
Returns the statistics for Sync Handlers.- Specified by:
getSyncHandlersExecTime
in interfaceEventMonitoringMBean
-
isBlockAsyncHandlers
public boolean isBlockAsyncHandlers()
Deprecated.Description copied from interface:EventMonitoringMBean
Tells if async handlers execution is blocked.- Specified by:
isBlockAsyncHandlers
in interfaceEventMonitoringMBean
-
setBlockAsyncHandlers
public void setBlockAsyncHandlers(boolean blockAsyncHandlers)
Deprecated.Description copied from interface:EventMonitoringMBean
Blocks or enables async handlers execution.- Specified by:
setBlockAsyncHandlers
in interfaceEventMonitoringMBean
-
isBlockSyncPostCommitHandlers
public boolean isBlockSyncPostCommitHandlers()
Deprecated.Description copied from interface:EventMonitoringMBean
Tells if post-commit sync handlers execution is blocked.- Specified by:
isBlockSyncPostCommitHandlers
in interfaceEventMonitoringMBean
-
setBlockSyncPostCommitHandlers
public void setBlockSyncPostCommitHandlers(boolean blockSyncPostCommitHandlers)
Deprecated.Description copied from interface:EventMonitoringMBean
Blocks or enables post-commit sync handlers execution.- Specified by:
setBlockSyncPostCommitHandlers
in interfaceEventMonitoringMBean
-
resetHandlersExecTime
public void resetHandlersExecTime()
Deprecated.Description copied from interface:EventMonitoringMBean
Resets the statistics.- Specified by:
resetHandlersExecTime
in interfaceEventMonitoringMBean
-
getListenersConfig
public String getListenersConfig()
Deprecated.Description copied from interface:EventMonitoringMBean
Get a summary of all registered listeners (name - type - enabled).- Specified by:
getListenersConfig
in interfaceEventMonitoringMBean
-
setListenerEnabledFlag
public void setListenerEnabledFlag(String listenerName, boolean enabled)
Deprecated.Description copied from interface:EventMonitoringMBean
Enables or disables a listener by its name.- Specified by:
setListenerEnabledFlag
in interfaceEventMonitoringMBean
-
isBulkModeEnabled
public boolean isBulkModeEnabled()
Deprecated.Description copied from interface:EventMonitoringMBean
Getter for bulkMode processing. Bulk mode may be used by listeners to drop some processing.- Specified by:
isBulkModeEnabled
in interfaceEventMonitoringMBean
-
setBulkModeEnabled
public void setBulkModeEnabled(boolean bulkModeEnabled)
Deprecated.Description copied from interface:EventMonitoringMBean
Enables/Disables bulkMode processing.- Specified by:
setBulkModeEnabled
in interfaceEventMonitoringMBean
-
-