public class OverloadedConnectionsPlugin extends DiagnosticsPlugin
Modifier and Type | Field and Description |
---|---|
static HazelcastProperty |
PERIOD_SECONDS
The period in seconds this plugin runs.
|
static HazelcastProperty |
SAMPLES
The number of samples to take from a single overloaded connection.
|
static HazelcastProperty |
THRESHOLD
The minimum number of packets in the connection before it is considered to be overloaded.
|
logger
Constructor and Description |
---|
OverloadedConnectionsPlugin(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
public static final HazelcastProperty THRESHOLD
public static final HazelcastProperty SAMPLES
public OverloadedConnectionsPlugin(NodeEngineImpl nodeEngine)
public long getPeriodMillis()
DiagnosticsPlugin
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 © 2016 Hazelcast, Inc.. All Rights Reserved.