コード例 #1
0
 /** Internal use for Lucene... do not explicitly call. */
 @Override
 public void onCommit(List<? extends IndexCommit> list) throws IOException {
   List<IndexCommitWrapper> wrapperList = wrap(list);
   deletionPolicy.onCommit(wrapperList);
   updateCommitPoints(wrapperList);
   cleanReserves();
 }
コード例 #2
0
 /** Internal use for Lucene... do not explicitly call. */
 public void onInit(List list) throws IOException {
   List<IndexCommitWrapper> wrapperList = wrap(list);
   deletionPolicy.onInit(wrapperList);
   updateCommitPoints(wrapperList);
   cleanReserves();
 }