All Packages This Package Class Hierarchy Class Search Index
Class grendel.storage.SummaryUpdateThread
java.lang.Object | +----java.lang.Thread | +----grendel.storage.SummaryUpdateThread
This class implements a thread which runs in the background and writes out all modified mail summary files. This thread dies once the files have been written; it will be re-spawned once some folder or folders become dirty.
There is only ever one of these threads: it writes the summaries for all modified folders, serially, then exits.
class SummaryUpdateThread extends java.lang.Thread { // Fields 3 static int delay; private Vector dirty_folders; static SummaryUpdateThread the_thread; // Constructors 1 public SummaryUpdateThread(); // Methods 3 static synchronized SummaryUpdateThread Get(); synchronized void addDirtyFolder(BerkeleyFolder); public void run(); }
Fields
delay
static int delay
the_thread
static SummaryUpdateThread the_thread
dirty_folders
private Vector dirty_folders
Constructors
SummaryUpdateThread
public SummaryUpdateThread()
Default constructor
Methods
Get
static synchronized SummaryUpdateThread Get()
addDirtyFolder
synchronized void addDirtyFolder(BerkeleyFolder f)
run
public void run()
All Packages This Package Class Hierarchy Class Search IndexFreshly brewed Java API Documentation automatically generated with polardoc Version 1.0.4