Project

General

Profile

Actions

Feature #3274

closed

InMemoryStorage process MustBeFresh

Added by Junxiao Shi about 9 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Utils
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
3.00 h

Description

Extend InMemoryStorage to process MustBeFresh selector.

When a Data is added into the storage, the producer may specify "this Data may satisfy Interests with MustBeFresh selector for the next X duration; after that it may only satisfy Interests without MustBeFresh selector".

By default, this duration is infinity, which keeps the existing behavior that MustBeFresh is ignored.

This duration can be specified independent from FreshnessPeriod, which could be set to shorter so that the Data won't stay in ContentStore for too long.


Related issues 1 (0 open1 closed)

Blocks NFD - Feature #2182: InMemoryStorage for managementClosedYanbiao Li

Actions
Actions

Also available in: Atom PDF