s1monw commented on a change in pull request #1397: LUCENE-9304: Refactor 
DWPTPool to pool DWPT directly
URL: https://github.com/apache/lucene-solr/pull/1397#discussion_r404003278
 
 

 ##########
 File path: lucene/core/src/java/org/apache/lucene/index/FlushPolicy.java
 ##########
 @@ -52,38 +50,38 @@
 
   /**
    * Called for each delete term. If this is a delete triggered due to an 
update
-   * the given {@link ThreadState} is non-null.
+   * the given {@link DocumentsWriterPerThread} is non-null.
    * <p>
    * Note: This method is called synchronized on the given
    * {@link DocumentsWriterFlushControl} and it is guaranteed that the calling
-   * thread holds the lock on the given {@link ThreadState}
+   * thread holds the lock on the given {@link DocumentsWriterPerThread}
    */
   public abstract void onDelete(DocumentsWriterFlushControl control,
-      ThreadState state);
+                                DocumentsWriterPerThread state);
 
 Review comment:
   👍 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to