DeveelDB
20151217
complete SQL database system, primarly developed for .NET/Mono frameworks
|
Provides a contract to access a caching system. More...
Public Member Functions | |
bool | TryGet (object key, out object value) |
Tries to get an object for the given key from the underlying cache system. More... | |
bool | Set (object key, object value) |
Sets an object into the underlying caching system. More... | |
object | Remove (object key) |
Removes an object from the cache. More... | |
void | Clear () |
Clears all the cached items within the underlying system. More... | |
void Deveel.Data.Caching.ICache.Clear | ( | ) |
Clears all the cached items within the underlying system.
Implemented in Deveel.Data.Caching.Cache, Deveel.Data.Caching.MemoryCache, and Deveel.Data.Caching.CacheAdapter.
object Deveel.Data.Caching.ICache.Remove | ( | object | key | ) |
Removes an object from the cache.
key | The key referencing the object to remove from the cache. |
bool Deveel.Data.Caching.ICache.Set | ( | object | key, |
object | value | ||
) |
Sets an object into the underlying caching system.
key | The key used to identify the object to store. |
value | The object value to store into the cache. |
Implemented in Deveel.Data.Caching.Cache.
bool Deveel.Data.Caching.ICache.TryGet | ( | object | key, |
out object | value | ||
) |
Tries to get an object for the given key from the underlying cache system.
key | The key of the object to return. |
value | The value corresponding to the provided key, obtained from the underlying cache. This value can also be null if it was not possible to find the key given in the cache. |
true
if the corresponding key was found in the underlying cache, otherwise false
. Implemented in Deveel.Data.Caching.Cache.