|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.sdsc.inca.depot.util.ReportFilter edu.sdsc.inca.depot.util.DowntimeFilter
public class DowntimeFilter
Prefixes error messages in depot reports with "DOWNTIME: +optionalString+: " if the resource the report ran on is in downtime. Resources are determined to be in downtime if they are listed in a downtime properties file. In order to reduce overhead, the downtime properties file is retrieved and cached at a refresh interval in the getDowntimes() method instead of being retrieved for each filter instance.
Field Summary |
---|
Fields inherited from class edu.sdsc.inca.depot.util.ReportFilter |
---|
context, resource, stderr, stdout, sysusage |
Constructor Summary | |
---|---|
DowntimeFilter()
|
Method Summary | |
---|---|
java.lang.String |
getStdout()
Writes new report with modified error message to depot if resource is down |
Methods inherited from class edu.sdsc.inca.depot.util.ReportFilter |
---|
getContext, getResource, getStderr, getSysusage, setContext, setResource, setStderr, setStdout, setSysusage |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DowntimeFilter()
Method Detail |
---|
public java.lang.String getStdout()
getStdout
in class ReportFilter
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |