30 template <
typename K,
typename V>
50 virtual void put(
const K& key,
const V&
val) = 0;
58 virtual bool remove(
const K& key) = 0;
63 virtual void clear(
bool clearPersistence =
false) = 0;
71 virtual size_t size() = 0;
virtual ~PersistentCache()
virtual void clear(bool clearPersistence=false)=0
virtual void put(const K &key, const V &val)=0