public class SystemLogPlugin extends DiagnosticsPlugin
SystemLogPlugin
is responsible for:
Modifier and Type | Field and Description |
---|---|
static HazelcastProperty |
ENABLED
If this plugin is enabled.
|
static HazelcastProperty |
LOG_PARTITIONS
If logging partition migration is enabled.
|
logger
Constructor and Description |
---|
SystemLogPlugin(HazelcastProperties properties,
ConnectionListenable connectionObservable,
HazelcastInstance hazelcastInstance,
ILogger logger) |
SystemLogPlugin(HazelcastProperties properties,
ConnectionListenable connectionObservable,
HazelcastInstance hazelcastInstance,
ILogger logger,
NodeExtension nodeExtension) |
SystemLogPlugin(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 ENABLED
public static final HazelcastProperty LOG_PARTITIONS
public SystemLogPlugin(NodeEngineImpl nodeEngine)
public SystemLogPlugin(HazelcastProperties properties, ConnectionListenable connectionObservable, HazelcastInstance hazelcastInstance, ILogger logger)
public SystemLogPlugin(HazelcastProperties properties, ConnectionListenable connectionObservable, HazelcastInstance hazelcastInstance, ILogger logger, NodeExtension nodeExtension)
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.