Timeout each individual OOo operation not global task duration
Opened this issue · 4 comments
GoogleCodeExporter commented
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
Original comment by mirko.na...@gmail.com
on 7 Sep 2008 at 9:13
- Changed title: Timeout each individual OOo operation not global task duration
GoogleCodeExporter commented
Original comment by mirko.na...@gmail.com
on 14 Sep 2008 at 11:25
- Added labels: Version-3.0.x.dev
GoogleCodeExporter commented
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
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