<div dir="auto">My guess is you will have to modify the forwarder class to maintain eliminated items.<div dir="auto"><br></div><div dir="auto">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.</div><div dir="auto"><br></div><div dir="auto">John</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Dec 13, 2017 11:15 AM,  <<a href="mailto:cjb0725@mail.ustc.edu.cn">cjb0725@mail.ustc.edu.cn</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi everyone,<div> If I use the LRU policy in ContentStore, how can I get the item or data which is eliminated , in forwarder.cpp ? </div><div>Thanks</div><div><br><span></span></div><br>______________________________<wbr>_________________<br>
ndnSIM mailing list<br>
<a href="mailto:ndnSIM@lists.cs.ucla.edu">ndnSIM@lists.cs.ucla.edu</a><br>
<a href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim" rel="noreferrer" target="_blank">http://www.lists.cs.ucla.edu/<wbr>mailman/listinfo/ndnsim</a><br>
<br></blockquote></div></div>