| Modifier and Type | Field and Description |
|---|---|
| private LoadingCache | |
| private static final int | |
| private static final Logger |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Map | Returns: Map containing a list of annotations in a list for each fileentry for which to get the annotations entry)Note that entry becomes the most recent entry in the cache |
| public void |
| annotationCache | back to summary |
|---|---|
| private LoadingCache<BibEntry, Map<Path, List<FileAnnotation>>> annotationCache | |
| CACHE_SIZE | back to summary |
|---|---|
| private static final int CACHE_SIZE | |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| FileAnnotationCache | back to summary |
|---|---|
| public FileAnnotationCache() Creates an empty file annotation cache. Required to allow the annotation cache to be injected into views without hitting the bug https://github.com/AdamBien/afterburner.fx/issues/71. | |
| FileAnnotationCache | back to summary |
|---|---|
| public FileAnnotationCache(BibDatabaseContext context, FilePreferences filePreferences) | |
| getFromCache | back to summary |
|---|---|
| public Map Note that entry becomes the most recent entry in the cache
| |
| remove | back to summary |
|---|---|
| public void remove(BibEntry entry) | |