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

Class FreqCtrlConfig

phxsqlproxy/plugin/requestfilter/freqctrlconfig.h:63–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61};
62
63class FreqCtrlConfig : public phxsql::PhxBaseConfig {
64
65 public:
66 FreqCtrlConfig();
67
68 virtual ~FreqCtrlConfig();
69
70 static FreqCtrlConfig * GetDefault();
71
72 virtual void ReadConfig();
73
74 public:
75
76 bool Apply(const std::string & db_name, bool is_write_query);
77
78 std::map<std::string, FreqCtrlBucket*> db_bucket_;
79};
80
81}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected