com.philemonworks.selfdiagnose.report
Class ReportJVMRuntimeMemory
java.lang.Object
com.philemonworks.selfdiagnose.DiagnosticTask
com.philemonworks.selfdiagnose.report.ReportJVMRuntimeMemory
- All Implemented Interfaces:
- Serializable
public class ReportJVMRuntimeMemory
- extends DiagnosticTask
ReportJVMRuntimeMemory is a task that reports the current JVM memory consumption
Usage:
<reportjvmruntimememory comment="Java VM Memory" />
- Author:
- ernestmicklei
- See Also:
- Serialized Form
Methods inherited from class com.philemonworks.selfdiagnose.DiagnosticTask |
createResult, getComment, getDefaultReportTemplate, getRequestor, getTaskName, getVariableName, hasComment, initializeFromAttributes, isReportResults, run, run, setComment, setReportResults, setRequestor, setUp, setVariableName |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReportJVMRuntimeMemory
public ReportJVMRuntimeMemory()
getDescription
public String getDescription()
- Specified by:
getDescription
in class DiagnosticTask
- Returns:
- String the description
run
public void run(ExecutionContext ctx,
DiagnosticTaskResult result)
throws DiagnoseException
- Description copied from class:
DiagnosticTask
- Run the task. If an error is detected then raise a DiagnoseException.
Otherwise use the result object to the report any messages when a run is completed.
- Specified by:
run
in class DiagnosticTask
- Parameters:
ctx
- ExecutionContextresult
- DiagnosticTaskResult
- Throws:
DiagnoseException
Copyright © 2012. All Rights Reserved.