MXS-1992 Allow changing the QC cache size

This commit is contained in:
Johan Wikman
2018-08-06 15:16:10 +03:00
parent dae6cf0648
commit 185758ef06
5 changed files with 97 additions and 19 deletions

View File

@ -14,6 +14,7 @@
#include <maxscale/cppdefs.hh>
#include <maxscale/query_classifier.h>
#include <maxscale/jansson.hh>
MXS_BEGIN_DECLS
@ -36,4 +37,13 @@ typedef enum qc_trx_parse_using
*/
uint32_t qc_get_trx_type_mask_using(GWBUF* stmt, qc_trx_parse_using_t use);
/**
* Generic query classifier information.
*
* @param zHost The MaxScale host.
*
* @return A json object containing information.
*/
std::unique_ptr<json_t> qc_as_json(const char* zHost);
MXS_END_DECLS