| 67 | } |
| 68 | |
| 69 | void |
| 70 | OM::remove(const client_db::key_t& key) |
| 71 | { |
| 72 | /* |
| 73 | * Simply reset the list for this key. This will desctruct the |
| 74 | * object list and shared_ptrs therein. When the last shared_ptr |
| 75 | * goes the objects desctructor is called and the object is |
| 76 | * removed from OM |
| 77 | */ |
| 78 | m_db->flush(key); |
| 79 | |
| 80 | HW::write(); |
| 81 | } |
| 82 | |
| 83 | void |
| 84 | OM::replay() |