Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.core.management.events
Interface EventMonitoringMBean

All Known Implementing Classes:
EventMonitoring

public interface EventMonitoringMBean

Monitoring interface.

Author:
Thierry Delprat

Method Summary
 int getActiveThreadsCount()
          Gets number of active threads.
 String getAsyncHandlersExecTime()
          Returns the statistics for Async Handlers.
 int getEventsInQueueCount()
          Gets the number of events in process or waiting for available slots.
 String getListenersConfig()
          Get a summary of all registered listeners (name - type - enabled).
 String getSyncHandlersExecTime()
          Returns the statistics for Sync Handlers.
 boolean isAsyncHandlersTrackingEnabled()
          Tells if time tracking is active for Async event handlers.
 boolean isBlockAsyncHandlers()
          Tells if async handlers execution is blocked.
 boolean isBlockSyncPostCommitHandlers()
          Tells if post-commit sync handlers execution is blocked.
 boolean isBulkModeEnabled()
          Getter for bulkMode processing.
 boolean isSyncHandlersTrackingEnabled()
          Tells if time tracking is active for Sync event handlers.
 void resetHandlersExecTime()
          Resets the statistics.
 void setAsyncHandlersTrackingEnabled(boolean collectAsyncHandlersExecTime)
          Enables or disables time tracking for Async event handlers.
 void setBlockAsyncHandlers(boolean blockAsyncHandlers)
          Blocks or enables async handlers execution.
 void setBlockSyncPostCommitHandlers(boolean blockSyncPostCommitHandlers)
          Blocks or enables post-commit sync handlers execution.
 void setBulkModeEnabled(boolean bulkModeEnabled)
          Enables/Disables bulkMode processing.
 void setListenerEnabledFlag(String listenerName, boolean enabled)
          Enables or disables a listener by its name.
 void setSyncHandlersTrackingEnabled(boolean collectSyncHandlersExecTime)
          Enables or disables time tracking for Sync event handlers.
 

Method Detail

getEventsInQueueCount

int getEventsInQueueCount()
Gets the number of events in process or waiting for available slots.


getActiveThreadsCount

int getActiveThreadsCount()
Gets number of active threads.


isAsyncHandlersTrackingEnabled

boolean isAsyncHandlersTrackingEnabled()
Tells if time tracking is active for Async event handlers.


setAsyncHandlersTrackingEnabled

void setAsyncHandlersTrackingEnabled(boolean collectAsyncHandlersExecTime)
Enables or disables time tracking for Async event handlers.


isSyncHandlersTrackingEnabled

boolean isSyncHandlersTrackingEnabled()
Tells if time tracking is active for Sync event handlers.


setSyncHandlersTrackingEnabled

void setSyncHandlersTrackingEnabled(boolean collectSyncHandlersExecTime)
Enables or disables time tracking for Sync event handlers.


getAsyncHandlersExecTime

String getAsyncHandlersExecTime()
Returns the statistics for Async Handlers.


getSyncHandlersExecTime

String getSyncHandlersExecTime()
Returns the statistics for Sync Handlers.


resetHandlersExecTime

void resetHandlersExecTime()
Resets the statistics.


isBlockAsyncHandlers

boolean isBlockAsyncHandlers()
Tells if async handlers execution is blocked.


setBlockAsyncHandlers

void setBlockAsyncHandlers(boolean blockAsyncHandlers)
Blocks or enables async handlers execution.


isBlockSyncPostCommitHandlers

boolean isBlockSyncPostCommitHandlers()
Tells if post-commit sync handlers execution is blocked.


setBlockSyncPostCommitHandlers

void setBlockSyncPostCommitHandlers(boolean blockSyncPostCommitHandlers)
Blocks or enables post-commit sync handlers execution.


getListenersConfig

String getListenersConfig()
Get a summary of all registered listeners (name - type - enabled).


setListenerEnabledFlag

void setListenerEnabledFlag(String listenerName,
                            boolean enabled)
Enables or disables a listener by its name.


isBulkModeEnabled

boolean isBulkModeEnabled()
Getter for bulkMode processing. Bulk mode may be used by listeners to drop some processing.


setBulkModeEnabled

void setBulkModeEnabled(boolean bulkModeEnabled)
Enables/Disables bulkMode processing.


Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.