Drizzled Public API Documentation

drizzled::catalog::Cache Class Reference

List of all members.

Private Types

typedef boost::unordered_map
< identifier::Catalog,
catalog::Instance::shared_ptr > 
unordered_map

Private Member Functions

size_t size () const
void rehash (size_t arg)
Instance::shared_ptr find (const identifier::Catalog &identifier, drizzled::error_t &error)
bool exist (const identifier::Catalog &identifier)
bool erase (const identifier::Catalog &identifier, drizzled::error_t &error)
bool insert (const identifier::Catalog &identifier, Instance::shared_ptr instance, drizzled::error_t &error)
bool lock (const identifier::Catalog &identifier, drizzled::error_t &error)
bool unlock (const identifier::Catalog &identifier, drizzled::error_t &error)
void copy (catalog::Instance::vector &vector)

Static Private Member Functions

static Cachesingleton ()

Private Attributes

unordered_map cache
boost::mutex _mutex

Friends

class drizzled::generator::catalog::Cache
class drizzled::plugin::Catalog
class drizzled::catalog::lock::Erase
class drizzled::catalog::lock::Create

Detailed Description

Definition at line 53 of file cache.h.


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