| Modifier and Type | Class and Description |
|---|---|
| private static record |
| Modifier and Type | Field and Description |
|---|---|
| private final AtomicBoolean | |
| private final DelayTaskThrottler | |
| private final LuceneIndexer | |
| private final LinkedFilesSearcher | |
| private static final Logger | |
| private final ConcurrentHashMap | |
| private final ChangeListener | |
| private final BooleanProperty | |
| private final TaskExecutor |
| Access | Constructor and Description |
|---|---|
| public | LinkedFilesIndexManager(BibDatabaseContext databaseContext, TaskExecutor taskExecutor, FilePreferences filePreferences)
|
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| private void | |
| public void | |
| public void | |
| private void | |
| private static String | |
| public void | |
| public void | |
| public SearchResults | |
| public void | |
| private void |
| closed | back to summary |
|---|---|
| private final AtomicBoolean closed | |
| indexUpdateThrottler | back to summary |
|---|---|
| private final DelayTaskThrottler indexUpdateThrottler | |
| linkedFilesIndexer | back to summary |
|---|---|
| private final LuceneIndexer linkedFilesIndexer | |
| linkedFilesSearcher | back to summary |
|---|---|
| private final LinkedFilesSearcher linkedFilesSearcher | |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| pendingFileValuesByEntry | back to summary |
|---|---|
| private final ConcurrentHashMap<String, LinkedFilesIndexManager. | |
| preferencesListener | back to summary |
|---|---|
| private final ChangeListener<Boolean> preferencesListener | |
| shouldIndexLinkedFiles | back to summary |
|---|---|
| private final BooleanProperty shouldIndexLinkedFiles | |
| taskExecutor | back to summary |
|---|---|
| private final TaskExecutor taskExecutor | |
| LinkedFilesIndexManager | back to summary |
|---|---|
| public LinkedFilesIndexManager(BibDatabaseContext databaseContext, TaskExecutor taskExecutor, FilePreferences filePreferences) | |
| addToIndex | back to summary |
|---|---|
| public void addToIndex(List<BibEntry> entries) | |
| bindToPreferences | back to summary |
|---|---|
| private void bindToPreferences(boolean newValue) | |
| close | back to summary |
|---|---|
| public void close() | |
| closeAndWait | back to summary |
|---|---|
| public void closeAndWait() | |
| closeThrottler | back to summary |
|---|---|
| private void closeThrottler(boolean waitForShutdown) | |
| normalizeNullToEmpty | back to summary |
|---|---|
| private static String normalizeNullToEmpty(@Nullable String value) | |
| rebuildIndex | back to summary |
|---|---|
| public void rebuildIndex() | |
| removeFromIndex | back to summary |
|---|---|
| public void removeFromIndex(List<BibEntry> entries) | |
| search | back to summary |
|---|---|
| public SearchResults search(SearchQuery query) | |
| updateEntry | back to summary |
|---|---|
| public void updateEntry(FieldChangedEvent event) | |
| updateOnStart | back to summary |
|---|---|
| private void updateOnStart() | |
| Modifier and Type | Field and Description |
|---|---|
| private final String | newValue
Record Component accessed by newValue(). |
| private final String | oldValue
Record Component accessed by oldValue(). |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public final boolean | equals(Object o)
Implements abstract java. Indicates whether some other object is "equal to" this one. |
| public final int | |
| public String | |
| public String | |
| public final String | toString()
Implements abstract java. Returns a string representation of the record. |
| newValue | back to summary |
|---|---|
| private final String newValue Record Component accessed by newValue(). | |
| oldValue | back to summary |
|---|---|
| private final String oldValue Record Component accessed by oldValue(). | |
| FileDelta | back to summary |
|---|---|
| private FileDelta(String oldValue, String newValue) | |
| equals | back to summary |
|---|---|
| public final boolean equals(Object o) Implements abstract java. Doc from java. Indicates whether some other object is "equal to" this one. In addition
to the general contract of
R copy = new R(r.c1(), r.c2(), ..., r.cn());
then it must be the case that r.equals(copy).
| |
| hashCode | back to summary |
|---|---|
| public final int hashCode() Implements abstract java. Doc from java. Returns a hash code value for the record.
Obeys the general contract of | |
| newValue | back to summary |
|---|---|
| public String newValue() Record Component getter of newValue. | |
| oldValue | back to summary |
|---|---|
| public String oldValue() Record Component getter of oldValue. | |
| toString | back to summary |
|---|---|
| public final String toString() Implements abstract java. Doc from java. Returns a string representation of the record.
In accordance with the general contract of In addition to this general contract, record classes must further participate in the invariant that any two records which are equal must produce equal strings. This invariant is necessarily relaxed in the rare case where corresponding equal component values might fail to produce equal strings for themselves. | |