MCPcopy Create free account
hub / github.com/apache/trafficserver / RefCountCacheItemMeta

Class RefCountCacheItemMeta

src/iocore/hostdb/P_RefCountCache.h:63–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61};
62
63struct 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

Callers 2

setMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected