Ah, so "all calls except the first one" means all calls to the "done" method, yes, thanks. I guess I was reading too much into the comment :) And the implementation fits that comment nicely.
Thanks Carsten 2013/8/5 Bertrand Delacretaz <[email protected]> > Hi, > > On Mon, Aug 5, 2013 at 9:12 AM, Carsten Ziegeler <[email protected]> > wrote: > > The javadocs of RequestProgressTrackr#done state: > > ...Call this when done processing the request - all calls except the > > first one are ignored... > > > ...I would expect that after a call to done() only dump is possible and > all > > calls to log etc. are ignored. Is that the intention?... > > I have vague memories of writing that comment long ago, your > interpretation sounds right but in retrospect I'm not sure if that's > really useful. Maybe just to get the duration of the current request? > In which case multiple calls to done() do not matter, it would be only > the last one that's relevant. > > -Bertrand > -- Carsten Ziegeler [email protected]
