PdfIndexer to execute all operations in the background.
| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private boolean | |
| private final Object | |
| private int | |
| private TaskExecutor | |
| private final Queue |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| public void | |
| public AutoCloseable | |
| protected Void | |
| private void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | updateIndex(PdfIndexer indexer, BibDatabaseContext databaseContext)
Updates the index by performing a delta analysis of the files already existing in the index and the files in the library. |
| private void |
| isBlockingNewTasks | back to summary |
|---|---|
| private boolean isBlockingNewTasks | |
| isRunning | back to summary |
|---|---|
| private boolean isRunning | |
| lock | back to summary |
|---|---|
| private final Object lock | |
| numOfIndexedFiles | back to summary |
|---|---|
| private int numOfIndexedFiles | |
| taskExecutor | back to summary |
|---|---|
| private TaskExecutor taskExecutor | |
| taskQueue | back to summary |
|---|---|
| private final Queue<Runnable> taskQueue | |
| IndexingTaskManager | back to summary |
|---|---|
| public IndexingTaskManager(TaskExecutor taskExecutor) | |
| addToIndex | back to summary |
|---|---|
| public void addToIndex(PdfIndexer indexer, List<BibEntry> entries) | |
| addToIndex | back to summary |
|---|---|
| public void addToIndex(PdfIndexer indexer, BibEntry entry) | |
| addToIndex | back to summary |
|---|---|
| public void addToIndex(PdfIndexer indexer, BibEntry entry, List<LinkedFile> linkedFiles) | |
| blockNewTasks | back to summary |
|---|---|
| public AutoCloseable blockNewTasks() | |
| call | back to summary |
|---|---|
| protected Void call() throws Exception Implements abstract org.
| |
| enqueueTask | back to summary |
|---|---|
| private void enqueueTask(Runnable indexingTask) | |
| rebuildIndex | back to summary |
|---|---|
| public void rebuildIndex(PdfIndexer indexer) | |
| removeFromIndex | back to summary |
|---|---|
| public void removeFromIndex(PdfIndexer indexer, BibEntry entry) | |
| removeFromIndex | back to summary |
|---|---|
| public void removeFromIndex(PdfIndexer indexer, List<LinkedFile> linkedFiles) | |
| updateDatabaseName | back to summary |
|---|---|
| public void updateDatabaseName(String name) | |
| updateIndex | back to summary |
|---|---|
| public void updateIndex(PdfIndexer indexer, BibDatabaseContext databaseContext) Updates the index by performing a delta analysis of the files already existing in the index and the files in the library. | |
| updateProgress | back to summary |
|---|---|
| private void updateProgress() | |