The Mozilla
Organization
Our Mission
Who We Are
Getting Involved
Community
Editorials
What's New
Development
Roadmap
Module Owners
Blue Sky
Projects
Status
Tools
Products
Source Code
Binaries
Documentation
License Terms
Bug Reports
Search
Feedback


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 The Mozilla Organization.