public class SlowOperationPlugin extends DiagnosticsPlugin
DiagnosticsPlugin that displays the slow executing operations.
 
 For more information see SlowOperationDetector.
| Modifier and Type | Field and Description | 
|---|---|
| static HazelcastProperty | PERIOD_SECONDSThe period in seconds the SlowOperationPlugin runs. | 
logger| Constructor and Description | 
|---|
| SlowOperationPlugin(NodeEngineImpl nodeEngine) | 
| Modifier and Type | Method and Description | 
|---|---|
| long | getPeriodMillis()Returns the period of executing the monitor in millis. | 
| void | onStart() | 
| void | run(DiagnosticsLogWriter writer) | 
public static final HazelcastProperty PERIOD_SECONDS
With the slow operation plugin, slow executing operation can be found. This is done by checking on the caller side which operations take a lot of time executing.
This plugin is very cheap to use.
If set to 0, the plugin is disabled.
public SlowOperationPlugin(NodeEngineImpl nodeEngine)
public long getPeriodMillis()
DiagnosticsPluginIf a monitor is disabled, 0 is returned.
 If a monitor should run only once, a negative value is returned. This is useful for 'static' monitors like the
 SystemPropertiesPlugin that run at the beginning of a log file but their contents will not change.
getPeriodMillis in class DiagnosticsPluginpublic void onStart()
onStart in class DiagnosticsPluginpublic void run(DiagnosticsLogWriter writer)
run in class DiagnosticsPluginCopyright © 2018 Hazelcast, Inc.. All Rights Reserved.