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()
DiagnosticsPluginSystemPropertiesPlugin that run at the beginning of a log file but their contents will not change.getPeriodMillis in class DiagnosticsPluginpublic void onStart()
onStart in class DiagnosticsPluginpublic void run(DiagnosticsLogWriter writer)
run in class DiagnosticsPluginCopyright © 2017 Hazelcast, Inc.. All Rights Reserved.