public class DiagnosticsLogWriterImpl extends Object implements DiagnosticsLogWriter
DiagnosticsPlugin
rendering.Constructor and Description |
---|
DiagnosticsLogWriterImpl() |
DiagnosticsLogWriterImpl(boolean includeEpochTime) |
Modifier and Type | Method and Description |
---|---|
void |
endSection() |
void |
init(PrintWriter printWriter) |
void |
startSection(String sectionName) |
void |
startSection(String name,
long timeMillis) |
protected DiagnosticsLogWriter |
write(boolean b) |
protected DiagnosticsLogWriter |
write(char c) |
protected DiagnosticsLogWriter |
write(double i) |
protected DiagnosticsLogWriter |
write(int i) |
protected DiagnosticsLogWriter |
write(long i) |
protected DiagnosticsLogWriter |
write(String s) |
void |
writeEntry(String s) |
void |
writeKeyValueEntry(String key,
boolean value) |
void |
writeKeyValueEntry(String key,
double value) |
void |
writeKeyValueEntry(String key,
long value) |
void |
writeKeyValueEntry(String key,
String value) |
void |
writeKeyValueEntryAsDateTime(String key,
long epochMillis) |
void |
writeSectionKeyValue(String sectionName,
long timeMillis,
String key,
double value) |
void |
writeSectionKeyValue(String sectionName,
long timeMillis,
String key,
long value) |
void |
writeSectionKeyValue(String sectionName,
long timeMillis,
String key,
String value) |
public DiagnosticsLogWriterImpl()
public DiagnosticsLogWriterImpl(boolean includeEpochTime)
public void writeSectionKeyValue(String sectionName, long timeMillis, String key, long value)
writeSectionKeyValue
in interface DiagnosticsLogWriter
public void writeSectionKeyValue(String sectionName, long timeMillis, String key, double value)
writeSectionKeyValue
in interface DiagnosticsLogWriter
public void writeSectionKeyValue(String sectionName, long timeMillis, String key, String value)
writeSectionKeyValue
in interface DiagnosticsLogWriter
public void startSection(String sectionName)
startSection
in interface DiagnosticsLogWriter
public void startSection(String name, long timeMillis)
public void endSection()
endSection
in interface DiagnosticsLogWriter
public void writeEntry(String s)
writeEntry
in interface DiagnosticsLogWriter
public void writeKeyValueEntry(String key, String value)
writeKeyValueEntry
in interface DiagnosticsLogWriter
public void writeKeyValueEntry(String key, double value)
writeKeyValueEntry
in interface DiagnosticsLogWriter
public void writeKeyValueEntry(String key, long value)
writeKeyValueEntry
in interface DiagnosticsLogWriter
public void writeKeyValueEntry(String key, boolean value)
writeKeyValueEntry
in interface DiagnosticsLogWriter
public void writeKeyValueEntryAsDateTime(String key, long epochMillis)
writeKeyValueEntryAsDateTime
in interface DiagnosticsLogWriter
public void init(PrintWriter printWriter)
protected DiagnosticsLogWriter write(char c)
protected DiagnosticsLogWriter write(int i)
protected DiagnosticsLogWriter write(double i)
protected DiagnosticsLogWriter write(long i)
protected DiagnosticsLogWriter write(boolean b)
protected DiagnosticsLogWriter write(String s)
Copyright © 2020 Hazelcast, Inc.. All Rights Reserved.