| 344 | |
| 345 | template <class C> |
| 346 | void |
| 347 | RefCountCachePartition<C>::copy(std::vector<RefCountCacheHashEntry *> &items) |
| 348 | { |
| 349 | for (auto &&it : this->item_map) { |
| 350 | RefCountCacheHashEntry *val = RefCountCacheHashEntry::alloc(); |
| 351 | val->set(it.item.get(), it.meta.key, it.meta.size, it.meta.expiry_time); |
| 352 | items.push_back(val); |
| 353 | } |
| 354 | } |
| 355 | |
| 356 | template <class C> |
| 357 | swoc::IntrusiveHashMap<RefCountCacheLinkage> & |