Hi lahiru, Thanks for the feedback. Each time a job is submited Jclouds return ListenableFuture<ExecResponse>. we can add a listner to the ListenableFuture which will call the Listener once the job is done. Then the listener will invoke the JcloudsOutHandler or handle according to the jobstate in ExecResponse . Provider will call JCloudsMonitorHandler invoke method and then it will create a new JCloudsMonitorID which hold JobExecutionContext and ListenableFuture for the job and add it to the runningQueue of monitor and monitor will take a one each time and add listener to it.
sure i will make a document about the provider and handlers used in this. Regards Nipun Udara . On Tue, Jul 22, 2014 at 7:31 PM, Lahiru Gunathilake <glah...@gmail.com> wrote: > Hi Nipun, > > Thanks for the status update, can you bit explain how you have done this ? > > As part of the final conclusion can you provide an article type of a > thing, which describe how to use this feature with airavata with some > steps. And Please provide another document which explains developer guide > where you explain what libraries you have used and how these > handlers/providers works. > > Regards > Lahiru > > > On Mon, Jul 21, 2014 at 2:58 PM, Nipun Udara <y.b.n.ud...@gmail.com> > wrote: > >> Hi all >> >> I have added JCloudsMonitor and Monitoringhandler so that job >> submission to ec2 host can be done asyncrounously. The changes are [1] >> >> [1] - >> https://github.com/nipun123/gfac-jclouds/tree/master/src/main/java/org/apache/airavata/gfac/jclouds/Monitoring >> >> Regards >> Nipun Udara >> >> >> > > > -- > System Analyst Programmer > PTI Lab > Indiana University > -- Nipun Udara *Undergraduate* *Department of Computer Science & Engineering* *University of Moratuwa* *Sri Lanka*