Public Member Functions | |
| PartialCache () | |
| int | open (ShortId sid, FdCache::OFlag ofl, FdCache::OFlag *oflout) throw () | 
| int | tryopen (ShortId sid, FdCache::OFlag ofl, FdCache::OFlag *oflOut=NULL) throw () | 
| void | close (ShortId sid, int fd, OFlag ofl) throw () | 
| void | flush (ShortId sid, OFlag ofl) throw () | 
| void | janitor_sweep (time_t now) throw () | 
| void | accumulateStats (Basics::uint32 &n_in_cache, Basics::uint64 &hits, Basics::uint64 &open_misses, Basics::uint64 &try_misses, Basics::uint64 &evictions, Basics::uint64 &expirations) | 
Private Member Functions | |
| void | fdiDeleteNL (FdInfo *fdi, char *where) | 
| int | lookup (ShortIdKey &key, FdCache::OFlag ofl, FdCache::OFlag &oflout) throw () | 
Private Attributes | |
| Basics::mutex | mu | 
| FdTable | table | 
| FdInfo | lruListHead | 
| unsigned int | nCached | 
| Basics::uint64 | hit_count | 
| Basics::uint64 | open_miss_count | 
| Basics::uint64 | try_miss_count | 
| Basics::uint64 | evict_count | 
| Basics::uint64 | expire_count | 
      
  | 
  
| 
 
 Definition at line 77 of file FdCache.C. References lruListHead, FdCache::FdInfo::next, and FdCache::FdInfo::prev.  | 
  
      
  | 
  ||||||||||||||||||||||||||||
| 
 
 Referenced by FdCache::getStats().  | 
  
      
  | 
  ||||||||||||||||
| 
 
 Referenced by FdCache::close(), FdCache::PartialCache::fdiDeleteNL(), and FdCache::PartialCache::flush().  | 
  
      
  | 
  ||||||||||||
| 
 
 Referenced by FdCache::PartialCache::close(), and FdCache::PartialCache::janitor_sweep().  | 
  
      
  | 
  ||||||||||||
| 
 
 Referenced by FdCache::flush().  | 
  
      
  | 
  
| 
 
 Referenced by JanitorThread().  | 
  
      
  | 
  ||||||||||||||||
| 
 
 Referenced by FdCache::PartialCache::open(), and FdCache::PartialCache::tryopen().  | 
  
      
  | 
  ||||||||||||||||
| 
 
 Referenced by FdCache::open().  | 
  
      
  | 
  ||||||||||||||||
| 
 
 Referenced by FdCache::tryopen().  | 
  
      
  | 
  
| 
 
 Definition at line 66 of file FdCache.C. Referenced by FdCache::PartialCache::accumulateStats(), and FdCache::PartialCache::close().  | 
  
      
  | 
  
| 
 
 Definition at line 66 of file FdCache.C. Referenced by FdCache::PartialCache::accumulateStats(), and FdCache::PartialCache::janitor_sweep().  | 
  
      
  | 
  
| 
 
 Definition at line 66 of file FdCache.C. Referenced by FdCache::PartialCache::accumulateStats(), FdCache::PartialCache::open(), and FdCache::PartialCache::tryopen().  | 
  
      
  | 
  
| 
 
 Definition at line 63 of file FdCache.C. Referenced by FdCache::PartialCache::close(), and PartialCache().  | 
  
      
  | 
  
| 
 
 Definition at line 61 of file FdCache.C. Referenced by FdCache::PartialCache::accumulateStats(), FdCache::PartialCache::close(), FdCache::PartialCache::flush(), FdCache::PartialCache::janitor_sweep(), FdCache::PartialCache::open(), and FdCache::PartialCache::tryopen().  | 
  
      
  | 
  
| 
 
 Definition at line 64 of file FdCache.C. Referenced by FdCache::PartialCache::accumulateStats(), FdCache::PartialCache::close(), FdCache::PartialCache::flush(), FdCache::PartialCache::janitor_sweep(), and FdCache::PartialCache::lookup().  | 
  
      
  | 
  
| 
 
 Definition at line 66 of file FdCache.C. Referenced by FdCache::PartialCache::accumulateStats(), and FdCache::PartialCache::open().  | 
  
      
  | 
  
| 
 
 Definition at line 62 of file FdCache.C. Referenced by FdCache::PartialCache::close(), FdCache::PartialCache::fdiDeleteNL(), FdCache::PartialCache::flush(), and FdCache::PartialCache::lookup().  | 
  
      
  | 
  
| 
 
 Definition at line 66 of file FdCache.C. Referenced by FdCache::PartialCache::accumulateStats(), and FdCache::PartialCache::tryopen().  | 
  
 1.4.2