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 boost::unordered_map< identifier::Table::Key, table::shared_ptr > | Map |
Private Attributes | |
boost::mutex | _access |
Map | cache |