|
| CacheAdapter (ICache baseCache) |
|
override void | Clear () |
| Clear the cache of all the entries. More...
|
|
bool | Set (object key, object value) |
| Puts an object into the cache with the given key. More...
|
|
bool | TryGet (object key, out object value) |
| Tries to get an object for the given key from the underlying cache system. More...
|
|
object | Remove (Object key) |
| Removes a node for the given key from the cache. More...
|
|
void | Dispose () |
|
object | Remove (object key) |
| Removes an object from the cache. More...
|
|
|
override bool | SetObject (object key, object value) |
| When overridden in a derived class, it sets the value for the key given. More...
|
|
override bool | TryGetObject (object key, out object value) |
|
override object | RemoveObject (object key) |
|
| Cache () |
|
virtual void | CheckClean () |
| This is called whenever at object is put into the cache. More...
|
|
virtual bool | WipeMoreNodes () |
| Checks if the clean-up method should clean up more elements from the cache. More...
|
|
virtual void | OnWipingNode (object value) |
| Notifies that the given object has been wiped from the cache by the clean up procedure. More...
|
|
virtual void | OnObjectAdded (object key, object value) |
| Notifies that the given object and key has been added to the cache. More...
|
|
virtual void | OnObjectRemoved (object key, Object value) |
| Notifies that the given object and key has been removed from the cache. More...
|
|
virtual void | OnAllCleared () |
| Notifies that the cache has been entirely cleared of all elements. More...
|
|
virtual void | OnGetWalks (long totalWalks, long totalGetOps) |
| Notifies that some statistical information about the hash map has updated. More...
|
|
virtual int | Clean () |
| Cleans away some old elements in the cache. More...
|
|
virtual void | Dispose (bool disposing) |
|
Definition at line 20 of file CacheAdapter.cs.
Deveel.Data.Caching.CacheAdapter.CacheAdapter |
( |
ICache |
baseCache | ) |
|
|
inline |
override void Deveel.Data.Caching.CacheAdapter.Clear |
( |
| ) |
|
|
inlinevirtual |
override object Deveel.Data.Caching.CacheAdapter.RemoveObject |
( |
object |
key | ) |
|
|
inlineprotectedvirtual |
override bool Deveel.Data.Caching.CacheAdapter.SetObject |
( |
object |
key, |
|
|
object |
value |
|
) |
| |
|
inlineprotectedvirtual |
When overridden in a derived class, it sets the value for the key given.
- Parameters
-
key | The key corresponding to the value to set. |
value | the value to set into the cache. |
- Returns
- Returns
false
if the key existed and the value was set or otherwise true
if the key was not found and the value was added to the cache.
Implements Deveel.Data.Caching.Cache.
Definition at line 27 of file CacheAdapter.cs.
bool Set(object key, object value)
Sets an object into the underlying caching system.
override bool Deveel.Data.Caching.CacheAdapter.TryGetObject |
( |
object |
key, |
|
|
out object |
value |
|
) |
| |
|
inlineprotectedvirtual |
ICache Deveel.Data.Caching.CacheAdapter.BaseCache |
|
getprivate setprotected |
The documentation for this class was generated from the following file:
- /var/calculate/remote/distfiles/egit-src/deveeldb.git/src/deveeldb/Deveel.Data.Caching/CacheAdapter.cs