Autopsy  4.19.3
Graphical digital forensics platform for The Sleuth Kit and other tools.
Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
org.sleuthkit.autopsy.keywordsearch.ExtractedTextViewer.SolrIsFullyIndexedCache Class Reference

Public Member Functions

void clearCache ()
 
boolean containsKey (long key)
 
Boolean getCombination (long key)
 
void putCombination (long key, boolean value)
 

Private Member Functions

 SolrIsFullyIndexedCache ()
 

Private Attributes

final LinkedHashMap< Long, Boolean > cache
 

Static Private Attributes

static final int CACHE_SIZE = 10
 

Detailed Description

This class maintains a cache of last 10 solrHasFullyIndexedContent() requests sent to Solr.

Definition at line 727 of file ExtractedTextViewer.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.keywordsearch.ExtractedTextViewer.SolrIsFullyIndexedCache.SolrIsFullyIndexedCache ( )
private

Definition at line 732 of file ExtractedTextViewer.java.

Member Function Documentation

void org.sleuthkit.autopsy.keywordsearch.ExtractedTextViewer.SolrIsFullyIndexedCache.clearCache ( )
boolean org.sleuthkit.autopsy.keywordsearch.ExtractedTextViewer.SolrIsFullyIndexedCache.containsKey ( long  key)
Boolean org.sleuthkit.autopsy.keywordsearch.ExtractedTextViewer.SolrIsFullyIndexedCache.getCombination ( long  key)
void org.sleuthkit.autopsy.keywordsearch.ExtractedTextViewer.SolrIsFullyIndexedCache.putCombination ( long  key,
boolean  value 
)

Member Data Documentation

final LinkedHashMap<Long, Boolean> org.sleuthkit.autopsy.keywordsearch.ExtractedTextViewer.SolrIsFullyIndexedCache.cache
private

Definition at line 730 of file ExtractedTextViewer.java.

final int org.sleuthkit.autopsy.keywordsearch.ExtractedTextViewer.SolrIsFullyIndexedCache.CACHE_SIZE = 10
staticprivate

Definition at line 729 of file ExtractedTextViewer.java.


The documentation for this class was generated from the following file:

Copyright © 2012-2022 Basis Technology. Generated on: Tue Jun 27 2023
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.