<div><div dir="auto">Hi Adi</div></div><div dir="auto"><br></div><div dir="auto">If you are looking to implement something like Adaptive Replacement Cache (ARC) algorithm: don’t attempt to create a “secondary CS”. Instead, create a single cs::Policy that has multiple lists, and move CS entry iterators among these lists.</div><div dir="auto">Lookup would not work otherwise.</div><div dir="auto">Read Priority FIFO policy code for example.</div><div dir="auto"><br></div><div dir="auto">Yours, Junxiao</div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Mar 29, 2019 at 07:27 <<a href="mailto:mdparamartha95@students.itb.ac.id">mdparamartha95@students.itb.ac.id</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-family:arial,helvetica,sans-serif;font-size:12pt;color:#000000">Hi Junxiao,<br><br>Thank you for the explanation,<br><br>So NDN router which not instaled as consumer or producer, (only NDN stack helper for cs) cannot change the data name?<br><br>I'm just wondering how to store 5 recent removed data into secondary Content Store instead of the primary,<br>and the lookup process is still working for secondary cache.<br><br>I try to modify the cs-policy, but when lookup process for secondary cache, the iterator still refer to the primary cache which is already deleted when moved into the secondary cache,<br><br>That's why I wonder change the m_table for the specific iterator.<br><br>Best Regards,<br>Adi Paramartha<br><br></div></div></blockquote></div></div>