MXS-1992 Allow the setting/getting of cache size at runtime

This commit is contained in:
Johan Wikman
2018-08-06 14:46:29 +03:00
parent bb77ae7b95
commit dae6cf0648
2 changed files with 55 additions and 0 deletions

View File

@ -863,6 +863,22 @@ void qc_set_server_version(uint64_t version);
*/
uint64_t qc_get_server_version();
/**
* Get the cache properties.
*
* @param properties[out] Cache properties.
*
* @return True, if caching is enabled, false otherwise.
*/
bool qc_get_cache_properties(QC_CACHE_PROPERTIES* properties);
/**
* Set the cache properties.
*
* @param properties[in] Cache properties.
*/
void qc_set_cache_properties(const QC_CACHE_PROPERTIES* properties);
/**
* Get cache statistics for the calling thread.
*