|
Lightweight Bartering Grid | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectlbg.middleware.AutomaticJobSubmitter
public class AutomaticJobSubmitter
Utility software to automatically submit, multiple times, one synthetic Job.
Constructor Summary | |
---|---|
AutomaticJobSubmitter(LiveUserAgent ua,
JobConfigurator jc,
int jobs_to_submit,
boolean block_before_resubmission,
SubmissionTimesGenerator stg)
Constructs a new automatic Job submitter. |
Method Summary | |
---|---|
void |
jobCompletion(JobDescriptor jd,
int job_id)
LiveUserAgentListener implementation. |
static void |
main(java.lang.String[] argv)
Periodically submits BoTs to a given Peer. |
void |
submitJobs()
|
void |
taskCompletion(Task t)
LiveUserAgentListener implementation. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AutomaticJobSubmitter(LiveUserAgent ua, JobConfigurator jc, int jobs_to_submit, boolean block_before_resubmission, SubmissionTimesGenerator stg) throws GridException
GridException
Method Detail |
---|
public void jobCompletion(JobDescriptor jd, int job_id) throws GridException
jobCompletion
in interface LiveUserAgentListener
jd
- descriptor of completed Jobjob_id
- Job id
GridException
- if a parameter is illegalpublic void taskCompletion(Task t)
taskCompletion
in interface LiveUserAgentListener
t
- completed Taskpublic void submitJobs() throws GridException
GridException
public static void main(java.lang.String[] argv)
|
Lightweight Bartering Grid | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright (c) 2005-2008, Cyril Briquet, parts Xavier Dalem.