19 namespace Deveel.Data.Caching {
22 BaseCache = baseCache;
25 protected ICache BaseCache {
get;
private set; }
27 protected override bool SetObject(
object key,
object value) {
28 return BaseCache.Set(key, value);
31 protected override bool TryGetObject(
object key, out
object value) {
32 return BaseCache.TryGet(key, out value);
36 return BaseCache.Remove(key);
override object RemoveObject(object key)
override void Clear()
Clear the cache of all the entries.
Represents a cache of Objects. /summary>
override bool SetObject(object key, object value)
When overridden in a derived class, it sets the value for the key given.
Provides a contract to access a caching system.
CacheAdapter(ICache baseCache)
override bool TryGetObject(object key, out object value)