Skip to content

Commit

Permalink
Add JavaDocComment
Browse files Browse the repository at this point in the history
  • Loading branch information
koppor committed Jan 8, 2024
1 parent e597a17 commit 751c4b4
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,14 @@
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
* A PdfIndexer takes a long time to build. Caching it speeds up.
* <p>
* The PdfIndexer is related to the BibDatabaseContext and the FilePreferences. If the user changes the path of the library
* or the file preferences, we need to create a new PdfIndexer. Otherwise, we can reuse the existing one.
* <p>
* This manager implements a <a href="https://www.neatcode.org/object-pool/">Object Pool pattern</a> for {@link PdfIndexer}.
*/
public class PdfIndexerManager {

private static final Logger LOGGER = LoggerFactory.getLogger(PdfIndexerManager.class);
Expand Down

0 comments on commit 751c4b4

Please sign in to comment.