|
drizzle
C++ MySQL-protocol-compatible database server
|
Public Member Functions | |
| size_t | size () const |
| void | rehash (size_t arg) |
| table::shared_ptr | find (const identifier::Table &identifier) |
| void | erase (const identifier::Table &identifier) |
| bool | insert (const identifier::Table &identifier, table::shared_ptr share) |
| bool | insert (const identifier::Table &identifier, Table &share) |
Static Public Member Functions | |
| static Cache & | singleton () |
Private Types | |
| typedef std::unordered_map< identifier::Table::Key, table::shared_ptr > | Map |
Private Attributes | |
| boost::mutex | _access |
| Map | cache |
Definition at line 32 of file message/cache.h.
|
private |
Definition at line 56 of file message/cache.h.
| void drizzled::message::Cache::erase | ( | const identifier::Table & | identifier | ) |
Definition at line 37 of file message/cache.cc.
| table::shared_ptr drizzled::message::Cache::find | ( | const identifier::Table & | identifier | ) |
Definition at line 29 of file message/cache.cc.
| bool drizzled::message::Cache::insert | ( | const identifier::Table & | identifier, |
| table::shared_ptr | share ) |
Definition at line 43 of file message/cache.cc.
|
inline |
Definition at line 46 of file message/cache.h.
|
inlinestatic |
Definition at line 35 of file message/cache.h.
|
inline |
Definition at line 41 of file message/cache.h.
|
private |
Definition at line 58 of file message/cache.h.
|
private |
Definition at line 59 of file message/cache.h.