Public Types | |
|
typedef std::pair< const std::string, const std::string > | map_key |
|
typedef std::map< const map_key, plugin::Plugin * > | map |
| typedef std::vector< Plugin * > | vector |
Public Member Functions | |
| LoggingStats (std::string name_arg) | |
| virtual bool | post (drizzled::Session *session) |
| virtual bool | postEnd (drizzled::Session *session) |
| virtual bool | resetGlobalScoreboard () |
| bool | isEnabled () const |
| void | enable () |
| void | disable () |
| Scoreboard * | getCurrentScoreboard () |
| CumulativeStats * | getCumulativeStats () |
| virtual bool | pre (Session *) |
| virtual void | shutdownPlugin () |
| virtual void | prime () |
| virtual void | startup (drizzled::Session &) |
| void | activate () |
| void | deactivate () |
| bool | isActive () const |
| const std::string & | getName () const |
| void | setModule (module::Module *module) |
| const std::string & | getTypeName () const |
| virtual bool | removeLast () const |
| const std::string & | getModuleName () const |
Static Public Member Functions | |
| static bool | addPlugin (Logging *handler) |
| static void | removePlugin (Logging *handler) |
| static bool | preDo (Session *session) |
| static bool | postDo (Session *session) |
| static bool | postEndDo (Session *session) |
| static bool | resetStats (Session *session) |
Private Types | |
|
typedef std::vector < std::vector< ScoreboardSlot * > * > | ScoreBoardVectors |
Private Member Functions | |
| void | updateCurrentScoreboard (ScoreboardSlot *scoreboard_slot, drizzled::Session *session) |
Private Attributes | |
| Scoreboard * | current_scoreboard |
| CumulativeStats * | cumulative_stats |
| drizzled::atomic< bool > | is_enabled |
Definition at line 43 of file logging_stats.h.
| virtual bool drizzled::plugin::Logging::pre | ( | Session * | ) | [inline, virtual, inherited] |
Make these no-op rather than pure-virtual so that it's easy for a plugin to only implement one.
Reimplemented in performance_dictionary::SessionUsageLogger.