public class FileTester extends Report
cachedSkip, dependencyGroup, disabledWithReport, disableMode, FILE_SEPARATOR, formatText, keyList, name, pm, report, reportMode, reportName, resolution, serialNumber, skip, statsLogger, step, template, timeFormat, timeTemplate, type
DISABLED, EXCEPTION, NOSKIP, REPORT_CACHED, REPORT_CLUSTER, REPORT_FINAL, REPORT_FLOW, REPORT_LOCAL, REPORT_NODE, REPORT_NONE, REPORT_SHARED, SKIPPED
Constructor and Description |
---|
FileTester(java.util.Map props) |
Modifier and Type | Method and Description |
---|---|
void |
destroy()
closes and releases all opened resources
|
protected void |
finalize() |
java.util.Map<java.lang.String,java.lang.Object> |
generateReport(long currentTime)
generates a report on a monitored entity and returns it as a Map.
|
static void |
main(java.lang.String[] args)
lists all files in a folder selected by a pattern, mtime or size
|
getReportKeys, getReportMode, getReportName, getSkippingStatus, initTimeTemplate, updateContent
public java.util.Map<java.lang.String,java.lang.Object> generateReport(long currentTime) throws java.io.IOException
MonitorReport
generateReport
in interface MonitorReport
generateReport
in class Report
java.io.IOException
public void destroy()
MonitorReport
destroy
in interface MonitorReport
destroy
in class Report
public static void main(java.lang.String[] args)