[ndnSIM] How to get the eliminated data using LRU policy

John Baugh jpbaugh at umich.edu
Wed Dec 13 08:17:31 PST 2017


My guess is you will have to modify the forwarder class to maintain
eliminated items.

By default, I believe since they use smart pointers, when the reference
count becomes 0, they will be destroyed.  So you'd have to obtain a
reference before they are removed from the cache.

John

On Dec 13, 2017 11:15 AM, <cjb0725 at mail.ustc.edu.cn> wrote:

> Hi everyone,
>  If I use the LRU policy in ContentStore, how can I get the item or data
> which is eliminated , in forwarder.cpp ?
> Thanks
>
>
> _______________________________________________
> ndnSIM mailing list
> ndnSIM at lists.cs.ucla.edu
> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20171213/67f8c8b7/attachment.html>


More information about the ndnSIM mailing list