You are currently viewing a snapshot of www.mozilla.org taken on April 21, 2008. Most of this content is highly out of date (some pages haven't been updated since the project began in 1998) and exists for historical purposes only. If there are any pages on this archive site that you think should be added back to www.mozilla.org, please file a bug.



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() 
Overrides:
run in class Thread


All Packages  This Package  Class Hierarchy  Class Search  Index
Freshly brewed Java API Documentation automatically generated with polardoc Version 1.0.4