MXS-1992 Allow changing the QC cache size
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user