The Mozilla
Organization
At A Glance
Feedback
Get Involved
Newsgroups
License Terms
Newsbot
Developer Docs
Roadmap
Projects
Ports
Module Owners
Hacking
Get the Source
Build It
Testing
Download
Bugzilla
Bug Writing
Tools
View Source
Tree Status
New Checkins
Submit A Bug
FAQ
Search
Class grendel.storage.SummaryUpdateThread
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
Copyright © 1998-2000 The Mozilla Organization.
Last modified December 25, 1998.