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(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 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.