Thanks for your interest in Airavata. You need not to poll. You can register a 
listener with your monitor to get constant updates. Please look into following 
class. 

https://svn.apache.org/repos/asf/airavata/tags/airavata-0.7/samples/airavata-client/workflow-run/src/main/java/org/apache/airavata/client/samples/MonitorListener.java

Thanks
Raminder
 
On Aug 7, 2013, at 1:22 AM, Nipuni Piyabasi Perera <[email protected]> 
wrote:

> 
> Hi,
> 
> I am implementing Airavata client API and I need to monitor running workflow 
> status. I have noticed that a "Monitor" can be accessed via  
> "ExecutionManager" [1], and it provides startMonitoring() and 
> stopMonitoring() methods. 
> I need to clarify whether it allows to display workflow status continuously 
> or does it need poll to view status.
> 
> [1] 
> https://svn.apache.org/repos/asf/airavata/tags/airavata-0.7/samples/airavata-client/workflow-run/src/main/java/org/apache/airavata/client/samples/MonitorWorkflow.java
> 
> Thanks,
> Nipuni
> -- 
> Nipuni Piyabasi Perera
> Undergraduate
> Department of Computer Science And Engineering
> University of Moratuwa
> Sri Lanka

Reply via email to