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 Cache & | singleton () |
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 |