| 178 | } |
| 179 | |
| 180 | const StorageCache *StorageCache::clone() |
| 181 | { |
| 182 | std::unique_lock<fastlock> ul(m_lock); |
| 183 | // Clones never clone the cache |
| 184 | StorageCache *cacheNew = new StorageCache(const_cast<IStorage*>(m_spstorage->clone()), false /*fCache*/); |
| 185 | return cacheNew; |
| 186 | } |
| 187 | |
| 188 | void StorageCache::expand(uint64_t slots) |
| 189 | { |
no outgoing calls
no test coverage detected