drizzle
C++ MySQL-protocol-compatible database server
Loading...
Searching...
No Matches
performance_dictionary::SessionUsageLogger Class Reference
Inheritance diagram for performance_dictionary::SessionUsageLogger:
[legend]
Collaboration diagram for performance_dictionary::SessionUsageLogger:
[legend]

Public Member Functions

bool pre (drizzled::Session *)
bool post (drizzled::Session *)
Public Member Functions inherited from drizzled::plugin::Logging
 Logging (std::string name_arg)
virtual bool postEnd (Session *)
virtual bool resetGlobalScoreboard ()
Public Member Functions inherited from drizzled::plugin::Plugin
 Plugin (const std::string &name, const std::string &type_name)
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

Additional Inherited Members

Public Types inherited from drizzled::plugin::Plugin
typedef std::pair< const std::string, const std::string > map_key
typedef std::unique_ptr< plugin::Plugin, deleter_fn > owned_ptr
typedef std::map< const map_key, owned_ptr > map
typedef std::vector< Plugin * > vector
Static Public Member Functions inherited from drizzled::plugin::Logging
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)

Detailed Description

Definition at line 28 of file session_usage_logger.h.

Constructor & Destructor Documentation

◆ SessionUsageLogger()

performance_dictionary::SessionUsageLogger::SessionUsageLogger ( )
inline

Definition at line 32 of file session_usage_logger.h.

◆ ~SessionUsageLogger()

performance_dictionary::SessionUsageLogger::~SessionUsageLogger ( )
inline

Definition at line 37 of file session_usage_logger.h.

Member Function Documentation

◆ post()

bool performance_dictionary::SessionUsageLogger::post ( drizzled::Session * session)
virtual

Reimplemented from drizzled::plugin::Logging.

Definition at line 40 of file session_usage_logger.cc.

◆ pre()

bool performance_dictionary::SessionUsageLogger::pre ( drizzled::Session * )
virtual

Make these no-op rather than pure-virtual so that it's easy for a plugin to only implement one.

Reimplemented from drizzled::plugin::Logging.

Definition at line 34 of file session_usage_logger.cc.


The documentation for this class was generated from the following files: