From fcaaf2927914cfda505051693f5717b4a56ec04a Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Thu, 28 May 2009 19:58:08 +0000 Subject: The cache can now efficiently report how many items are stored in it, but there's no way to find out how many are in memory now, I may add something for that later, but it seems more or less unimportant (except maybe for fine-tuning and making interesting looking displays). --- src/cachestore.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/cachestore.h') diff --git a/src/cachestore.h b/src/cachestore.h index 437b3d3..b75864b 100644 --- a/src/cachestore.h +++ b/src/cachestore.h @@ -29,6 +29,7 @@ namespace Bu virtual void destroy( obtype *pObj, const keytype &key )=0; virtual bool has( const keytype &key )=0; virtual Bu::List getKeys() { return Bu::List(); } + virtual int getSize() { return -1; } private: }; -- cgit v1.2.3