MCPcopy Create free account
hub / github.com/Tencent/phxsql / FreqFilterPlugin

Class FreqFilterPlugin

phxsqlproxy/plugin/requestfilter/freqfilter_plugin.h:18–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16namespace phxsqlproxy {
17
18class FreqFilterPlugin : public RequestFilterPlugin {
19 public:
20 FreqFilterPlugin() {
21 }
22
23 virtual ~FreqFilterPlugin() {
24 }
25
26 void SetConfig(phxsqlproxy::PHXSqlProxyConfig * config, phxsqlproxy::WorkerConfig_t * worker_config);
27
28 public:
29 virtual bool CanExecute(bool is_master_port, const std::string & db_name, const char * buf, int buf_size);
30};
31
32}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected