| 61 | }; |
| 62 | |
| 63 | struct RefCountCacheItemMeta { |
| 64 | uint64_t key; |
| 65 | unsigned int size; |
| 66 | ink_time_t expiry_time; // expire time as seconds since epoch |
| 67 | RefCountCacheItemMeta(uint64_t key, unsigned int size, ink_time_t expiry_time = -1) |
| 68 | : key(key), size(size), expiry_time(expiry_time) |
| 69 | { |
| 70 | } |
| 71 | }; |
| 72 | |
| 73 | // Layer of indirection for the hashmap-- since it needs lots of things inside of it |
| 74 | // We'll also use this as the item header, for persisting objects to disk |
no outgoing calls
no test coverage detected