timolee / jodconverter

Automatically exported from code.google.com/p/jodconverter
0 stars 0 forks source link

Timeout each individual OOo operation not global task duration #9

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
As proposed by Sean:

"I like the OfficeTask concept. However the problem is in the timeout
control. You can have a number of actions (all within one task) being
performed that in total take a very long time, but individually might be
fairly small duration. In this situation it would be desirable to reset any
timeout. You could provide another interface that extends OfficeTask that
provides the following method:
       public long getTimeSinceLastActivity()

The task would be responsible for setting the value. Thus provided the
value was periodically updated a more intelligent timeout control can be
achieved. Note by extending OfficeTask you do not need to alter existing
OfficeTask instances. Not all tasks would require this additional method."

Original issue reported on code.google.com by mirko.na...@gmail.com on 7 Sep 2008 at 9:12

GoogleCodeExporter commented 9 years ago

Original comment by mirko.na...@gmail.com on 7 Sep 2008 at 9:13

GoogleCodeExporter commented 9 years ago

Original comment by mirko.na...@gmail.com on 14 Sep 2008 at 11:25

GoogleCodeExporter commented 9 years ago
I would also want to set the initial timeout for each task before starting the 
task.  (I can check, for example, that I'm processing a large .doc file, and 
want to set the minimum time to 300 seconds instead of 120, just for this .doc 
file).

Original comment by MaryAub...@gmail.com on 19 Apr 2012 at 5:20

GoogleCodeExporter commented 9 years ago
I just noticed this entry has been around since 2008, about 4 years now.  I 
hope this can be addressed soon.  Otherwise, if anyone can comment on how to do 
it without changing the existing JodConverter code, please let me know.

Original comment by MaryAub...@gmail.com on 19 Apr 2012 at 5:22