Cache: Wrongly protected methods made public
This commit is contained in:
16
server/modules/filter/cache/cachesimple.h
vendored
16
server/modules/filter/cache/cachesimple.h
vendored
@ -23,6 +23,14 @@ class CacheSimple : public Cache
|
||||
public:
|
||||
~CacheSimple();
|
||||
|
||||
cache_result_t getKey(const char* zDefaultDb, const GWBUF* pQuery, CACHE_KEY* pKey);
|
||||
|
||||
cache_result_t getValue(const CACHE_KEY& key, uint32_t flags, GWBUF** ppValue);
|
||||
|
||||
cache_result_t putValue(const CACHE_KEY& key, const GWBUF* pValue);
|
||||
|
||||
cache_result_t delValue(const CACHE_KEY& key);
|
||||
|
||||
protected:
|
||||
CacheSimple(const char* zName,
|
||||
CACHE_CONFIG& config,
|
||||
@ -36,14 +44,6 @@ protected:
|
||||
StorageFactory** ppFactory,
|
||||
HASHTABLE** ppPending);
|
||||
|
||||
cache_result_t getKey(const char* zDefaultDb, const GWBUF* pQuery, CACHE_KEY* pKey);
|
||||
|
||||
cache_result_t getValue(const CACHE_KEY& key, uint32_t flags, GWBUF** ppValue);
|
||||
|
||||
cache_result_t putValue(const CACHE_KEY& key, const GWBUF* pValue);
|
||||
|
||||
cache_result_t delValue(const CACHE_KEY& key);
|
||||
|
||||
long hashOfKey(const CACHE_KEY& key);
|
||||
|
||||
bool mustRefresh(long key, const SessionCache* pSessionCache);
|
||||
|
Reference in New Issue
Block a user