◆ sp_cache()
◆ ~sp_cache()
◆ enforce_limit()
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.
- Parameters
-
[in] | upper_limit_for_elements | Soft upper limit of elements that can be stored in the cache. |
◆ has()
Check if the sp_cache contains the specified element.
- Parameters
-
- Returns
- true if the element is in the cache.
-
false if not.
◆ insert()
bool sp_cache::insert |
( |
sp_head * |
sp | ) |
|
|
inline |
Inserts a sp_head object into a hash table.
- Returns
- Success status
-
true Failure
-
false Success
◆ lookup()
sp_head * sp_cache::lookup |
( |
char * |
name, |
|
|
size_t |
namelen |
|
) |
| |
|
inline |
◆ remove()
void sp_cache::remove |
( |
sp_head * |
sp | ) |
|
|
inline |
◆ m_hashtable
The documentation for this class was generated from the following file: