diff options
Diffstat (limited to 'src/cachestore.h')
-rw-r--r-- | src/cachestore.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cachestore.h b/src/cachestore.h index 97f02af..437b3d3 100644 --- a/src/cachestore.h +++ b/src/cachestore.h | |||
@@ -24,7 +24,10 @@ namespace Bu | |||
24 | virtual obtype *load( const keytype &key )=0; | 24 | virtual obtype *load( const keytype &key )=0; |
25 | virtual void unload( obtype *pObj, const keytype &key )=0; | 25 | virtual void unload( obtype *pObj, const keytype &key )=0; |
26 | virtual keytype create( obtype *pSrc )=0; | 26 | virtual keytype create( obtype *pSrc )=0; |
27 | virtual void sync()=0; | ||
28 | virtual void sync( obtype *pObj, const keytype &key )=0; | ||
27 | virtual void destroy( obtype *pObj, const keytype &key )=0; | 29 | virtual void destroy( obtype *pObj, const keytype &key )=0; |
30 | virtual bool has( const keytype &key )=0; | ||
28 | virtual Bu::List<keytype> getKeys() { return Bu::List<keytype>(); } | 31 | virtual Bu::List<keytype> getKeys() { return Bu::List<keytype>(); } |
29 | 32 | ||
30 | private: | 33 | private: |