Workspace 6.21.5
Public Member Functions | List of all members
AbstractCache Class Referenceabstract

#include <Workspace/DataExecution/DataObjects/diskcachecommon.h>

Inheritance diagram for AbstractCache:
[legend]

Public Member Functions

virtual int getCountOfItems ()=0
 
virtual int getCountOfItemsInMemory ()=0
 
virtual qint64 getCurrentSize ()=0
 

Detailed Description

The abstract base class of a cache.

Member Function Documentation

◆ getCountOfItems()

virtual int getCountOfItems ( )
pure virtual

Returns the number of items currently in the cache (both in memory and on disk)

Implemented in DiskCache< T, LockingPolicy, Traits >, and DiskCache< CSIRO::Mesh::MeshModelInterface, CSIRO::DataExecution::NoLock, MeshModelDiskCacheTraits >.

◆ getCountOfItemsInMemory()

virtual int getCountOfItemsInMemory ( )
pure virtual

◆ getCurrentSize()

virtual qint64 getCurrentSize ( )
pure virtual