|
Oracle Fusion Middleware extensions for Logging and Diagnostics 11g Release 1 (11.1.2) E22565-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.apps.fnd.appltest.diagfwk.engine.DiagRunnable oracle.apps.fnd.appltest.diagfwk.engine.impl.TestMonitor
public class TestMonitor
Provides a Runnable thread for monitoring a test monitorable such as test runs and test executions.
Once started, the monitor thread periodically calls the save() method on the TestMoniterable object until isComplete() method on the TestMoniterable returns true.
Field Summary | |
---|---|
static int |
DEF_MONITORING_PERIOD
Default monitoring interface of 30 seconds. |
Fields inherited from class oracle.apps.fnd.appltest.diagfwk.engine.DiagRunnable |
---|
mECKey |
Constructor Summary | |
---|---|
TestMonitor(TestMoniterable pMoniterable)
|
|
TestMonitor(TestMoniterable pMoniterable,
boolean pReadOnlyMode)
|
Method Summary | |
---|---|
protected void |
doRun()
Start the monitoring thread |
long |
getMonitoringPeriod()
Gets the monitoring period |
void |
save()
Saves the status XML |
void |
setMonitoringPeriod(int sec)
Set the monitoring period. |
void |
setMonitoringPeriod(java.lang.String pMonIntervalSec)
Sets the monitoring period. |
Methods inherited from class oracle.apps.fnd.appltest.diagfwk.engine.DiagRunnable |
---|
run |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int DEF_MONITORING_PERIOD
Constructor Detail |
---|
public TestMonitor(TestMoniterable pMoniterable, boolean pReadOnlyMode)
public TestMonitor(TestMoniterable pMoniterable)
Method Detail |
---|
public void setMonitoringPeriod(int sec)
sec
- monitoring period in sec.public void setMonitoringPeriod(java.lang.String pMonIntervalSec)
pMonIntervalSec
- public long getMonitoringPeriod()
public void save()
protected void doRun()
doRun
in class DiagRunnable
|
Oracle Fusion Middleware extensions for Logging and Diagnostics 11g Release 1 (11.1.2) E22565-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |