🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

Track progress of running process by use of Observer pattern

DekwoKybonUser: "DekwoKybon"
New Altair Community Member
Updated by Jocelyn

Hi all,

 

I know this question has been asked before but this was a long time ago (2008) and the solution back then was to make use of some sort of logging mechanism which I don't completely understand.

 

I'm rather looking for a listener mechanism to track operator progress. I like to display a progress bar in my web application that approximately indicate total running time. I tried to add an observer to an Operator using the following

 

public void addObserver(Observer<A> observer, boolean onEDT)

method.  Unfortunately, I don't get back any updates.

 

Any other ideas?

 

Wouter

 

Find more posts tagged with

Sort by:
1 - 1 of 11
    mmichelUser: "mmichel"
    New Altair Community Member
    Accepted Answer

    Hi Wouter,

     

    you may want to have a look at the ProcessListener interface (ProcessRootOperator#addProcessListener) and the observable OperatorProgress (Operator#getProgress).

     

    Cheers,

    Marcel