Core Cache¶
Core Cache Types¶
-
class
CacheKey¶ The hash value for a cache object. Currently a 128 bit MD5 hash.
-
class
EvacuationBlock¶ A range of content to be evacuated.
-
class
Vol¶ A representation of a cache stripe.
-
DLL<EvacuationBlock>
evacuate¶ A list of blocks to evacuate.
-
int
aggWrite(int event, void *e)¶ Schedule the aggregation buffer to be written to disk.
-
DLL<EvacuationBlock>
-
class
CacheProcessor¶ The singleton cache management object. This handles threads and global initialization for the cache.
-
class
Span¶ A representation of a unit of cache storage, a single physical device, file, or directory.
-
class
Store¶ A representation of a collection of cache storage.
-
class
CacheHostRecord¶ A record from
hosting.config.
Core Cache Functions¶
-
int
dir_probe(const CacheKey *key, Vol *d, Dir *result, Dir **last_collision)¶ Probe the stripe directory for a candidate directory entry.
-
void
build_vol_hash_table(CacheHostRecord *r)¶ Based on the configuration record r, construct the global stripe assignment table.
-
int
cplist_reconfigure()¶ Rebuild the assignment of stripes to volumes.
-
void
ink_cache_init(ModuleVersion v)¶ Top level cache initialization logic.