<div dir="ltr">Greetings ndnSIM friends,<div><br></div><div>Here's a question that I'm a bit perplexed about.</div><div><br></div><div>1.  My understanding is that <b>doAfterInsert</b> in our Policy is called <i style="font-weight:bold">after</i> a Data packet is placed into the content store, is this correct?</div><div><br></div><div>2.  The general wisdom I've been told on this mailing list and from what I've read in documentation is that if it is decided that the data represented by the iterator parameter passed to doAfterInsert <i><b>should not be in the CS</b>, </i>then we just emit the signal, beforeEvict and the CS will take care of it, correct?</div><div><br></div><div>3.  If (1) and (2) are accurate, consider a situation where the CS is <b>full</b>.  When a data packet arrives, will doAfterInsert still be called?  Will an item in the content store be removed arbitrarily?  The reason I ask is because if doAfterInsert is called <b>after </b>the data packet has been added to the CS, then we're too late, right?  Something has been booted in order to make room.  But shouldn't we get to decide <i>before </i>the item is added?  How is this handled?</div><div><br></div><div><br></div><div>Thanks,</div><div><br></div><div>John</div></div>