public interface EventMonitoringMBean
Modifier and Type | Method and Description |
---|---|
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.
|
int getEventsInQueueCount()
int getActiveThreadsCount()
boolean isAsyncHandlersTrackingEnabled()
void setAsyncHandlersTrackingEnabled(boolean collectAsyncHandlersExecTime)
boolean isSyncHandlersTrackingEnabled()
void setSyncHandlersTrackingEnabled(boolean collectSyncHandlersExecTime)
String getAsyncHandlersExecTime()
String getSyncHandlersExecTime()
void resetHandlersExecTime()
boolean isBlockAsyncHandlers()
void setBlockAsyncHandlers(boolean blockAsyncHandlers)
boolean isBlockSyncPostCommitHandlers()
void setBlockSyncPostCommitHandlers(boolean blockSyncPostCommitHandlers)
String getListenersConfig()
void setListenerEnabledFlag(String listenerName, boolean enabled)
boolean isBulkModeEnabled()
void setBulkModeEnabled(boolean bulkModeEnabled)
Copyright © 2015 Nuxeo SA. All rights reserved.