coolshou / thumbnailator

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

Add progress notification via callbacks (a la Event Listeners) #8

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Problem
-------
* Currently, Thumbnailator does not have facilities to provide feedback as to 
the progress of a thumbnail generation task.

This means that if a task takes a long time, there is no way for the 
application using Thumbnailator to give feedback as to the progress of making 
thumbnails.

Also, not providing adequate feedback means that applications using the library 
may not be able to perform adequate logging, which may result in difficulty 
during development and debugging.

Solution
--------
* Provide an event notification facility, similar to the `EventListener`s which 
can be found in the Java APIs.

Complications
-------------
* Many classes would have to be retrofitted to support the event notification 
mechanism.

Original issue reported on code.google.com by coobird...@gmail.com on 3 Apr 2011 at 11:32

GoogleCodeExporter commented 9 years ago

Original comment by coobird...@gmail.com on 26 Feb 2012 at 6:23

GoogleCodeExporter commented 9 years ago

Original comment by coobird...@gmail.com on 22 Dec 2013 at 7:15