DeveelDB
20151217
complete SQL database system, primarly developed for .NET/Mono frameworks
|
Public Member Functions | |
Cache (TableCellCache tableCache, ICache baseCache, int hashSize, int maxSize) | |
void | ChangeSize (int newSize) |
Cache (TableCellCache tableCache, ICache baseCache, int hashSize, int maxSize) | |
void | ChangeSize (int newSize) |
Public Member Functions inherited from Deveel.Data.Caching.CacheAdapter | |
CacheAdapter (ICache baseCache) | |
override void | Clear () |
Clear the cache of all the entries. More... | |
Public Member Functions inherited from Deveel.Data.Caching.Cache | |
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 () |
Public Member Functions inherited from Deveel.Data.Caching.ICache | |
object | Remove (object key) |
Removes an object from the cache. More... | |
Protected Member Functions | |
override void | CheckClean () |
This is called whenever at object is put into the cache. More... | |
override bool | WipeMoreNodes () |
Checks if the clean-up method should clean up more elements from the cache. More... | |
override void | OnWipingNode (object ob) |
Notifies that the given object has been wiped from the cache by the clean up procedure. More... | |
override void | OnGetWalks (long totalWalks, long totalGetOps) |
Notifies that some statistical information about the hash map has updated. More... | |
override void | CheckClean () |
This is called whenever at object is put into the cache. More... | |
override bool | WipeMoreNodes () |
Checks if the clean-up method should clean up more elements from the cache. More... | |
override void | OnWipingNode (object ob) |
Notifies that the given object has been wiped from the cache by the clean up procedure. More... | |
override void | OnGetWalks (long totalWalks, long totalGetOps) |
Notifies that some statistical information about the hash map has updated. More... | |
Protected Member Functions inherited from Deveel.Data.Caching.CacheAdapter | |
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) |
Protected Member Functions inherited from Deveel.Data.Caching.Cache | |
Cache () | |
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 int | Clean () |
Cleans away some old elements in the cache. More... | |
virtual void | Dispose (bool disposing) |
Private Attributes | |
readonly TableCellCache | tableCache |
int | hashSize |
Additional Inherited Members | |
Static Public Member Functions inherited from Deveel.Data.Caching.Cache | |
static int | ClosestPrime (int value) |
Properties inherited from Deveel.Data.Caching.CacheAdapter | |
ICache | BaseCache [get, private set] |
Properties inherited from Deveel.Data.Caching.Cache | |
virtual int | NodeCount [get] |
Gets the number of nodes that are currently being stored in the cache. More... | |
Definition at line 160 of file TableCellCache.cs.
|
inline |
Definition at line 164 of file TableCellCache.cs.
|
inline |
Definition at line 130 of file TableCellCache.old.cs.
|
inline |
Definition at line 136 of file TableCellCache.old.cs.
|
inline |
Definition at line 170 of file TableCellCache.cs.
|
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 141 of file TableCellCache.old.cs.
|
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 175 of file TableCellCache.cs.
|
inlineprotectedvirtual |
Notifies that some statistical information about the hash map has updated.
totalWalks | |
totalGetOps |
This should be used to compile statistical information about the number of walks a get operation takes to retreive an entry from the hash.
This method is called every 8192 gets.
Reimplemented from Deveel.Data.Caching.Cache.
Definition at line 163 of file TableCellCache.old.cs.
|
inlineprotectedvirtual |
Notifies that some statistical information about the hash map has updated.
totalWalks | |
totalGetOps |
This should be used to compile statistical information about the number of walks a get operation takes to retreive an entry from the hash.
This method is called every 8192 gets.
Reimplemented from Deveel.Data.Caching.Cache.
Definition at line 197 of file TableCellCache.cs.
|
inlineprotectedvirtual |
Notifies that the given object has been wiped from the cache by the clean up procedure.
value | The node value being wiped. |
Reimplemented from Deveel.Data.Caching.Cache.
Definition at line 155 of file TableCellCache.old.cs.
|
inlineprotectedvirtual |
Notifies that the given object has been wiped from the cache by the clean up procedure.
value | The node value being wiped. |
Reimplemented from Deveel.Data.Caching.Cache.
Definition at line 189 of file TableCellCache.cs.
|
inlineprotectedvirtual |
Checks if the clean-up method should clean up more elements from the cache.
Reimplemented from Deveel.Data.Caching.Cache.
Definition at line 151 of file TableCellCache.old.cs.
|
inlineprotectedvirtual |
Checks if the clean-up method should clean up more elements from the cache.
Reimplemented from Deveel.Data.Caching.Cache.
Definition at line 185 of file TableCellCache.cs.
|
private |
Definition at line 162 of file TableCellCache.cs.
|
private |
Definition at line 161 of file TableCellCache.cs.