Interface EventMonitoringMBean
-
- All Known Implementing Classes:
EventMonitoring
@Deprecated(since="11.4") public interface EventMonitoringMBean
Deprecated.since 11.4: superseded by dropwizard metricsMonitoring interface.- Author:
- Thierry Delprat
-
-
Method Summary
All Methods Instance Methods Abstract 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
-
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
void setListenerEnabledFlag(String listenerName, boolean enabled)
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.
-
-