My Project
|
Public Member Functions | |
bool | insert (sp_head *sp) |
sp_head * | lookup (char *name, uint namelen) |
void | remove (sp_head *sp) |
void | enforce_limit (ulong upper_limit_for_elements) |
void sp_cache::enforce_limit | ( | ulong | upper_limit_for_elements | ) | [inline] |
Remove all elements from a stored routine cache if the current number of elements exceeds the argument value.
[in] | upper_limit_for_elements | Soft upper limit of elements that can be stored in the cache. |
bool sp_cache::insert | ( | sp_head * | sp | ) | [inline] |
Inserts a sp_head object into a hash table.