All Packages  Class Hierarchy  This Package  Previous  Next  Index
  Class Acme.Nnrpd.OverviewCache
java.lang.Object
   |
   +----Acme.Nnrpd.OverviewCache
  -  public class OverviewCache
  
-  extends Object
  
A cache for netnews overview entries.
 
 Fetch the software.
 Fetch the entire Acme package.
  
  -  
	OverviewCache(int)
   -  Constructor.
 
  
  -  
	addEntry(String[], NewsDbGroup, int)
   -  Add an overview entry by group and number.
  
 -  
	getEntry(NewsDbGroup, int)
   -  Get an overview entry by group and number.
  
 -  
	getLastTime(NewsDbGroup)
   -  Get the last time we cached entries for this group.
  
 -  
	setLastTime(NewsDbGroup)
   -  Set the last time we cached entries for this group.
 
  
OverviewCache
 public OverviewCache(int cacheSize)
  -  Constructor.
  
    -  Parameters:
    
 -  cacheSize - maximum size of the cache
  
 
 
 
  
getLastTime
 public long getLastTime(NewsDbGroup group)
  -  Get the last time we cached entries for this group.
 
setLastTime
 public void setLastTime(NewsDbGroup group)
  -  Set the last time we cached entries for this group.
 
getEntry
 public String[] getEntry(NewsDbGroup group,
                          int artNum)
  -  Get an overview entry by group and number.
 
addEntry
 public void addEntry(String entry[],
                      NewsDbGroup group,
                      int artNum)
  -  Add an overview entry by group and number.
 
All Packages  Class Hierarchy  This Package  Previous  Next  Index
ACME Java  ACME Labs