public class NetworkingPlugin extends DiagnosticsPlugin
NetworkingPlugin
is an experimental plugin meant for detecting imbalance in the io system. This plugin will
probably mostly be used for internal purposes to get a better understanding of imbalances. Normally imbalances are taken
care of by the IOBalancer; but we need to make sure it makes the right choice.
This plugin can be used on server and client side.Modifier and Type | Field and Description |
---|---|
static HazelcastProperty |
PERIOD_SECONDS
The period in seconds this plugin runs.
|
logger
Constructor and Description |
---|
NetworkingPlugin(HazelcastProperties properties,
EventLoopGroup eventLoopGroup,
ILogger logger) |
NetworkingPlugin(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 NetworkingPlugin(NodeEngineImpl nodeEngine)
public NetworkingPlugin(HazelcastProperties properties, EventLoopGroup eventLoopGroup, ILogger logger)
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 © 2017 Hazelcast, Inc.. All Rights Reserved.