public class StatementLogPerfTestWatcher extends Object implements PerfTestWatcher
PerfTestWatcher
performing statement logging.Constructor and Description |
---|
StatementLogPerfTestWatcher() |
Modifier and Type | Method and Description |
---|---|
void |
afterPass(PerfTestPass pass)
Invoked after a performance test pass is ended.
|
void |
afterRun(PerfTest test,
PerfTestRun run)
Invoked after a performance test run is ended.
|
void |
afterStep(PerfTestStep step,
PerfTestRun run)
Invoked after a
PerfTestRun ends an individual
step in the performance test. |
void |
beforePass(PerfTestPass pass)
Invoked before a performance test pass is started.
|
void |
beforeRun(PerfTest test,
PerfTestRun run)
Invoked before a performance test run is started.
|
void |
beforeStep(PerfTestStep step,
PerfTestRun run)
Invoked before a
PerfTestRun starts an individual
step in the performance test. |
public void beforePass(PerfTestPass pass)
PerfTestWatcher
beforePass
in interface PerfTestWatcher
pass
- the current PerfTestPass
public void beforeRun(PerfTest test, PerfTestRun run)
PerfTestWatcher
beforeRun
in interface PerfTestWatcher
test
- the PerfTest
about to be executedrun
- the current PerfTestRun
public void beforeStep(PerfTestStep step, PerfTestRun run)
PerfTestWatcher
PerfTestRun
starts an individual
step in the performance test.
This method is called by the same Thread
which will
execute the step.beforeStep
in interface PerfTestWatcher
step
- the PerfTestStep
about to be executed.run
- the current PerfTestRun
public void afterStep(PerfTestStep step, PerfTestRun run)
PerfTestWatcher
PerfTestRun
ends an individual
step in the performance test.
This method is called by the same Thread
which
executed the step.afterStep
in interface PerfTestWatcher
step
- the PerfTestStep
which has been executed.run
- the current PerfTestRun
public void afterRun(PerfTest test, PerfTestRun run)
PerfTestWatcher
afterRun
in interface PerfTestWatcher
test
- the PerfTest
about to be executedrun
- the current PerfTestRun
public void afterPass(PerfTestPass pass)
PerfTestWatcher
afterPass
in interface PerfTestWatcher
pass
- the current PerfTestPass
Copyright © 2018. All rights reserved.