[GE users] Java DRMAA Job listeners?

umanga aumanga at biggjapan.com
Thu Nov 5 07:32:40 GMT 2009


Greetings all,

I am submitting several jobs using Java DRMAA and wait till all of that 
jobs finish using :

session.synchronize(Collections.singletonList(Session.JOB_IDS_SESSION_ALL),
Session.TIMEOUT_WAIT_FOREVER,true);

Is there a way (like listeners ) which I can detect Job events like 
finished() terminated() ..etc ?

Or can I submit each Job in a separate Thread and wait till that job to 
finish and use "JobInfo" to collect information about job execution ?
If so , what about the limit for number of Thread?

Thanks in advance,
umanga

------------------------------------------------------
http://gridengine.sunsource.net/ds/viewMessage.do?dsForumId=38&dsMessageId=225139

To unsubscribe from this discussion, e-mail: [users-unsubscribe at gridengine.sunsource.net].



More information about the gridengine-users mailing list