drizzle
C++ MySQL-protocol-compatible database server
Loading...
Searching...
No Matches
drizzled::table::Cache Class Reference
Collaboration diagram for drizzled::table::Cache:
[legend]

Static Public Member Functions

static CacheMap & getCache ()
static void rehash (size_t arg)
static boost::mutex & mutex ()
static bool areTablesUsed (Table *, bool wait_for_name_lock)
static void removeSchema (const identifier::Schema &)
static bool removeTable (Session &, const identifier::Table &, uint32_t flags)
static void release (table::instance::Shared *)
static void insert (table::Concurrent *)

Static Private Attributes

static CacheMap cache
static boost::mutex _mutex

Detailed Description

Definition at line 34 of file table/cache.h.

Member Function Documentation

◆ areTablesUsed()

bool drizzled::table::Cache::areTablesUsed ( Table * table,
bool wait_for_name_lock )
static

Definition at line 96 of file table/cache.cc.

◆ getCache()

CacheMap & drizzled::table::Cache::getCache ( )
inlinestatic

Definition at line 37 of file table/cache.h.

◆ insert()

void drizzled::table::Cache::insert ( table::Concurrent * arg)
static

Definition at line 287 of file table/cache.cc.

◆ mutex()

boost::mutex & drizzled::table::Cache::mutex ( )
inlinestatic

Definition at line 47 of file table/cache.h.

◆ rehash()

void drizzled::table::Cache::rehash ( size_t arg)
inlinestatic

Definition at line 42 of file table/cache.h.

◆ removeSchema()

void drizzled::table::Cache::removeSchema ( const identifier::Schema & schema_identifier)
static

Definition at line 137 of file table/cache.cc.

◆ removeTable()

bool drizzled::table::Cache::removeTable ( Session & session,
const identifier::Table & identifier,
uint32_t flags )
static

Definition at line 173 of file table/cache.cc.

Member Data Documentation

◆ _mutex

boost::mutex drizzled::table::Cache::_mutex
staticprivate

Definition at line 59 of file table/cache.h.

◆ cache

CacheMap drizzled::table::Cache::cache
staticprivate

Definition at line 58 of file table/cache.h.


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