#include <P_RamCache.h>
Inherited by RamCacheCLFUS, and RamCacheLRU.
| Public Member Functions | |
| virtual int | get (INK_MD5 *key, Ptr< IOBufferData > *ret_data, uint32_t auxkey1=0, uint32_t auxkey2=0)=0 | 
| virtual int | put (INK_MD5 *key, IOBufferData *data, uint32_t len, bool copy=false, uint32_t auxkey1=0, uint32_t auxkey2=0)=0 | 
| virtual int | fixup (INK_MD5 *key, uint32_t old_auxkey1, uint32_t old_auxkey2, uint32_t new_auxkey1, uint32_t new_auxkey2)=0 | 
| virtual void | init (int64_t max_bytes, Vol *vol)=0 | 
| virtual | ~RamCache () | 
Definition at line 31 of file P_RamCache.h.
| virtual RamCache::~RamCache | ( | ) |  [inline, virtual] | 
Definition at line 38 of file P_RamCache.h.
| virtual int RamCache::fixup | ( | INK_MD5 * | key, | |
| uint32_t | old_auxkey1, | |||
| uint32_t | old_auxkey2, | |||
| uint32_t | new_auxkey1, | |||
| uint32_t | new_auxkey2 | |||
| ) |  [pure virtual] | 
Implemented in RamCacheCLFUS, and RamCacheLRU.
Referenced by dir_lookaside_fixup(), and CacheVC::evacuateDocDone().
| virtual int RamCache::get | ( | INK_MD5 * | key, | |
| Ptr< IOBufferData > * | ret_data, | |||
| uint32_t | auxkey1 = 0, | |||
| uint32_t | auxkey2 = 0 | |||
| ) |  [pure virtual] | 
Implemented in RamCacheCLFUS, and RamCacheLRU.
Referenced by CacheVC::handleRead().
| virtual void RamCache::init | ( | int64_t | max_bytes, | |
| Vol * | vol | |||
| ) |  [pure virtual] | 
Implemented in RamCacheCLFUS, and RamCacheLRU.
Referenced by CacheProcessor::cacheInitialized().
| virtual int RamCache::put | ( | INK_MD5 * | key, | |
| IOBufferData * | data, | |||
| uint32_t | len, | |||
| bool | copy = false, | |||
| uint32_t | auxkey1 = 0, | |||
| uint32_t | auxkey2 = 0 | |||
| ) |  [pure virtual] | 
Implemented in RamCacheCLFUS, and RamCacheLRU.
Referenced by CacheVC::handleReadDone().
 1.7.1
 1.7.1