|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.icenigrid.gridsam.client.cli.GridSAMMultiJSDLStressTest.XMLReporter
public class GridSAMMultiJSDLStressTest.XMLReporter
a reporter that generates a XML report
Field Summary | |
---|---|
protected java.io.PrintWriter |
oWriter
|
Constructor Summary | |
---|---|
GridSAMMultiJSDLStressTest.XMLReporter(java.io.Writer pWriter)
create an XMLReporter |
Method Summary | |
---|---|
void |
end()
the test is ended |
void |
errorSubmitJob(GridSAMMultiJSDLStressTest.SimulatedUser pUser,
int pJobNo,
java.lang.Exception pError)
report error after submitJob is invoked |
java.util.Set |
getSubmittedJobIDs()
get the list of submitted jobs |
void |
postJobTerminal(org.icenigrid.gridsam.core.JobInstance pCompleted)
a job is marked as terminal |
void |
postSubmitJob(GridSAMMultiJSDLStressTest.SimulatedUser pUser,
int pJobNo,
java.lang.String pJobID)
report after submitJob is invoked |
void |
preSubmitJob(GridSAMMultiJSDLStressTest.SimulatedUser pUser,
int pJobNo)
report before submitJob is invoked |
void |
start(int pConcurrentUsers,
int pJobs)
the test is started |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.io.PrintWriter oWriter
Constructor Detail |
---|
public GridSAMMultiJSDLStressTest.XMLReporter(java.io.Writer pWriter)
pWriter
- the writer to write the report toMethod Detail |
---|
public java.util.Set getSubmittedJobIDs()
public void start(int pConcurrentUsers, int pJobs)
start
in interface GridSAMMultiJSDLStressTest.Reporter
pConcurrentUsers
- number of userspJobs
- number of jobs per userpublic void end()
end
in interface GridSAMMultiJSDLStressTest.Reporter
public void preSubmitJob(GridSAMMultiJSDLStressTest.SimulatedUser pUser, int pJobNo)
preSubmitJob
in interface GridSAMMultiJSDLStressTest.Reporter
pUser
- the user submitted the jobpJobNo
- the job numberpublic void errorSubmitJob(GridSAMMultiJSDLStressTest.SimulatedUser pUser, int pJobNo, java.lang.Exception pError)
errorSubmitJob
in interface GridSAMMultiJSDLStressTest.Reporter
pUser
- the user submitted the jobpJobNo
- the job numberpError
- the errorpublic void postSubmitJob(GridSAMMultiJSDLStressTest.SimulatedUser pUser, int pJobNo, java.lang.String pJobID)
postSubmitJob
in interface GridSAMMultiJSDLStressTest.Reporter
pUser
- the user submitted the jobpJobNo
- the job numberpJobID
- the job identifierpublic void postJobTerminal(org.icenigrid.gridsam.core.JobInstance pCompleted)
postJobTerminal
in interface GridSAMMultiJSDLStressTest.Reporter
pCompleted
- the completed job
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |