| java.lang.Object sun.tools.jstat.JStatLogger
JStatLogger | public class JStatLogger (Code) | | Class to sample and output various jvmstat statistics for a target Java
a target Java Virtual Machine.
author: Brian Doherty version: 1.9, 05/09/07 since: 1.5 |
Constructor Summary | |
public | JStatLogger(MonitoredVm monitoredVm) |
Method Summary | |
public void | logSamples(OutputFormatter formatter, int headerRate, int sampleInterval, int sampleCount, PrintStream out) print samples according to the given format. | public void | printList(List<Monitor> list, boolean verbose, boolean showUnsupported, PrintStream out) print name=value pairs for the given list of monitors. | public void | printNames(String names, Comparator<Monitor> comparator, boolean showUnsupported, PrintStream out) print the monitors that match the given monitor name pattern string. | public void | printSnapShot(String names, Comparator<Monitor> comparator, boolean verbose, boolean showUnsupported, PrintStream out) print name=value pairs for the given list of monitors. | public void | stopLogging() |
JStatLogger | public JStatLogger(MonitoredVm monitoredVm)(Code) | | |
logSamples | public void logSamples(OutputFormatter formatter, int headerRate, int sampleInterval, int sampleCount, PrintStream out) throws MonitorException(Code) | | print samples according to the given format.
|
printList | public void printList(List<Monitor> list, boolean verbose, boolean showUnsupported, PrintStream out) throws MonitorException(Code) | | print name=value pairs for the given list of monitors.
|
stopLogging | public void stopLogging()(Code) | | method to for asynchronous termination of sampling loops
|
|
|