public final class PendingInvocationsPlugin extends DiagnosticsPlugin
DiagnosticsPlugin
that aggregates the pending invocation so that per type of operation, the occurrence
count is displayed.Modifier and Type | Field and Description |
---|---|
static HazelcastProperty |
PERIOD_SECONDS
The period in seconds this plugin runs.
|
static HazelcastProperty |
THRESHOLD
The minimum number of invocations per type of operation before it start logging this particular operation.
|
logger
Constructor and Description |
---|
PendingInvocationsPlugin(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 pending invocation plugins an aggregation is made per type of operation how many pending invocations there are.
This plugin is very cheap to use.
If set to 0, the plugin is disabled.
public static final HazelcastProperty THRESHOLD
public PendingInvocationsPlugin(NodeEngineImpl nodeEngine)
public long getPeriodMillis()
DiagnosticsPlugin
If 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 DiagnosticsPlugin
public void onStart()
onStart
in class DiagnosticsPlugin
public void run(DiagnosticsLogWriter writer)
run
in class DiagnosticsPlugin
Copyright © 2021 Hazelcast, Inc.. All Rights Reserved.