Interface EventMonitoringMBean
- All Known Implementing Classes:
EventMonitoring
Deprecated.
since 11.4: superseded by dropwizard metrics
Monitoring interface.
- Author:
- Thierry Delprat
-
Method Summary
Modifier and TypeMethodDescriptionint
Deprecated.Gets number of active threads.Deprecated.Returns the statistics for Async Handlers.int
Deprecated.Gets the number of events in process or waiting for available slots.Deprecated.Get a summary of all registered listeners (name - type - enabled).Deprecated.Returns the statistics for Sync Handlers.boolean
Deprecated.Tells if time tracking is active for Async event handlers.boolean
Deprecated.Tells if async handlers execution is blocked.boolean
Deprecated.Tells if post-commit sync handlers execution is blocked.boolean
Deprecated.Getter for bulkMode processing.boolean
Deprecated.Tells if time tracking is active for Sync event handlers.void
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 Details
-
getEventsInQueueCount
int getEventsInQueueCount()Deprecated.Gets the number of events in process or waiting for available slots. -
getActiveThreadsCount
int getActiveThreadsCount()Deprecated.Gets number of active threads. -
isAsyncHandlersTrackingEnabled
boolean isAsyncHandlersTrackingEnabled()Deprecated.Tells if time tracking is active for Async event handlers. -
setAsyncHandlersTrackingEnabled
void setAsyncHandlersTrackingEnabled(boolean collectAsyncHandlersExecTime) Deprecated.Enables or disables time tracking for Async event handlers. -
isSyncHandlersTrackingEnabled
boolean isSyncHandlersTrackingEnabled()Deprecated.Tells if time tracking is active for Sync event handlers. -
setSyncHandlersTrackingEnabled
void setSyncHandlersTrackingEnabled(boolean collectSyncHandlersExecTime) Deprecated.Enables or disables time tracking for Sync event handlers. -
getAsyncHandlersExecTime
String getAsyncHandlersExecTime()Deprecated.Returns the statistics for Async Handlers. -
getSyncHandlersExecTime
String getSyncHandlersExecTime()Deprecated.Returns the statistics for Sync Handlers. -
resetHandlersExecTime
void resetHandlersExecTime()Deprecated.Resets the statistics. -
isBlockAsyncHandlers
boolean isBlockAsyncHandlers()Deprecated.Tells if async handlers execution is blocked. -
setBlockAsyncHandlers
void setBlockAsyncHandlers(boolean blockAsyncHandlers) Deprecated.Blocks or enables async handlers execution. -
isBlockSyncPostCommitHandlers
boolean isBlockSyncPostCommitHandlers()Deprecated.Tells if post-commit sync handlers execution is blocked. -
setBlockSyncPostCommitHandlers
void setBlockSyncPostCommitHandlers(boolean blockSyncPostCommitHandlers) Deprecated.Blocks or enables post-commit sync handlers execution. -
getListenersConfig
String getListenersConfig()Deprecated.Get a summary of all registered listeners (name - type - enabled). -
setListenerEnabledFlag
Deprecated.Enables or disables a listener by its name. -
isBulkModeEnabled
boolean isBulkModeEnabled()Deprecated.Getter for bulkMode processing. Bulk mode may be used by listeners to drop some processing. -
setBulkModeEnabled
void setBulkModeEnabled(boolean bulkModeEnabled) Deprecated.Enables/Disables bulkMode processing.
-