TCache


class description - source file - inheritance tree

class TCache : public TObject

    private:
Int_t FlushList(TList* list) Int_t FlushNew() Int_t Free(ULong_t upto) TCache::TPage* ReadPage(Seek_t offset) void SetPageSize(Int_t size) Int_t WritePage(TCache::TPage* page) public:
TCache(const TCache&) TCache(Int_t maxCacheSize, TFile* file, Int_t pageSize = kDfltPageSize) virtual ~TCache() static TClass* Class() Int_t Flush() Int_t GetActiveCacheSize() const Int_t GetLowLevel() const Int_t GetMaxCacheSize() const Int_t GetPageSize() const virtual TClass* IsA() const Int_t ReadBuffer(Seek_t offset, char* buf, Int_t len) Int_t Resize(Int_t maxCacheSize) void SetLowLevel(Int_t percentOfHigh) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b) Int_t WriteBuffer(Seek_t offset, const char* buf, Int_t len)

Data Members

    private:
TCache::TCacheList* fCache hash list containing cached pages TSortedList* fNew list constaining new pages that have to be written to disk TList* fFree list containing unused pages TFile* fFile file for which pages are being cached Seek_t fEOF end of file ULong_t fHighWater high water mark (i.e. maximum cache size in bytes) ULong_t fLowWater low water mark (free pages till low water mark is reached) Int_t fPageSize size of cached pages Int_t fLowLevel low water mark is at low level percent of high Int_t fDiv page size divider Bool_t fRecursive true to prevent recusively calling ReadBuffer() public:
static const enum TCache:: kDfltPageSize static const enum TCache:: kDfltLowLevel

Class Description



Last update: Fri May 14 13:32:36 2004


ROOT page - Class index - Top of the page

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.