public class MonitorManager extends Object implements Workload
Monitor.
For the duration of any Pherf run, when the configured
PherfConstants.MONITOR_FREQUENCY is reached a snapshot of
each monitor is taken and dumped out to a log file.| Constructor and Description |
|---|
MonitorManager() |
MonitorManager(long monitorFrequency) |
| Modifier and Type | Method and Description |
|---|---|
void |
complete()
Use this method to perform any cleanup or forced shutdown of the thread.
|
Runnable |
execute() |
long |
getMonitorFrequency() |
long |
getRowCount() |
boolean |
isRunning() |
List<Result> |
readResults()
This method should really only be used for testing
|
boolean |
shouldStop() |
public void complete()
Workloadpublic long getMonitorFrequency()
public boolean shouldStop()
public long getRowCount()
public boolean isRunning()
Copyright © 2017 Apache Software Foundation. All Rights Reserved.