com.tildemh.debbug
Class CacheWriter
java.lang.Object|
+--com.tildemh.debbug.CacheWriter
All Implemented Interfaces:
Runnable
publicclass CacheWriter
extends java.lang.Object
implements Runnable
Lazy writer for bug reports in cache. This will run in a separate thread to
the main application. This should improve performance as cache entries are
written often - when refreshing them and also when changing their read
status.
This is released under the terms of the GNU Lesser General Public License
(LGPL). See the COPYING file for details.
- © Mark Howard <mh@debian.org> 2002
CacheWriter
publicCacheWriter(String dir)
- dir
addItem
publicsynchronized voidaddItem(Bug bug)
Adds an item to be saved to disk
- bug
run
publicvoidrun()
Main loop