Feature #4050
Updated by Junxiao Shi about 7 years ago
Design a Content Store management protocol [[CsMgmt]] and implement the corresponding manager for it. In this issue, Content Store management should support: * Enumeration of CS entries * Returns a list of: Data name + Data packet size + whether the protocol shall support retrieving entry is fresh or stale (or alternatively, remaining freshness period in ms) * Enumeration of CS entries as above, but filtered by name prefix and updating CS config, including: staleness/freshness flag * Get the maximum number of entries * Set the maximum number of entries (entries in excess are evicted) * Enable/disable the CS * This could be split into two orthogonal flags: (a) whether to cache incoming Data or not; and (b) whether to serve Data from the cache or not * Flush the CS (== delete all entries)