|
| SizeLimitedCache (int maxSize) |
|
| MemoryCache () |
|
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...
|
|
|
int | MaxSize [get, private set] |
|
LinkedList< KeyValuePair< object, CacheValue > > | IndexList [get, private set] |
|
virtual int | NodeCount [get] |
| Gets the number of nodes that are currently being stored in the cache. More...
|
|
Definition at line 20 of file SizeLimitedCache.cs.
Deveel.Data.Caching.SizeLimitedCache.SizeLimitedCache |
( |
int |
maxSize | ) |
|
|
inline |
override void Deveel.Data.Caching.SizeLimitedCache.CheckClean |
( |
| ) |
|
|
inlineprotectedvirtual |
This is called whenever at object is put into the cache.
This method should determine if the cache should be cleaned and call the clean method if appropriate.
Reimplemented from Deveel.Data.Caching.Cache.
Definition at line 27 of file SizeLimitedCache.cs.
virtual int Clean()
Cleans away some old elements in the cache.
virtual int NodeCount
Gets the number of nodes that are currently being stored in the cache.
override void Deveel.Data.Caching.SizeLimitedCache.UpdateElementAccess |
( |
object |
key, |
|
|
CacheValue |
cacheValue |
|
) |
| |
|
inlineprotectedvirtual |
int Deveel.Data.Caching.SizeLimitedCache.MaxSize |
|
getprivate set |
The documentation for this class was generated from the following file:
- /var/calculate/remote/distfiles/egit-src/deveeldb.git/src/deveeldb/Deveel.Data.Caching/SizeLimitedCache.cs