Autopsy
4.19.3
Graphical digital forensics platform for The Sleuth Kit and other tools.
|
Static Public Member Functions | |
static synchronized List< String > | getContactNameList (String accountTypeSpecificID) throws TskCoreException |
static synchronized List< BlackboardArtifact > | getContacts (Account account) throws ExecutionException |
Private Member Functions | |
ContactCache () | |
Map< String, List< BlackboardArtifact > > | buildMap () throws TskCoreException, SQLException |
Static Private Member Functions | |
static synchronized ContactCache | getInstance () |
Private Attributes | |
final LoadingCache< String, Map< String, List< BlackboardArtifact > > > | accountMap |
Static Private Attributes | |
static ContactCache | instance |
static final Logger | logger = Logger.getLogger(ContactCache.class.getName()) |
A singleton cache of the Contact artifacts for accounts. The map of account unique ids to list of contact artifacts is stored in a LoadingCache which expires after 10 of non-use.
Definition at line 51 of file ContactCache.java.
|
private |
Construct a new instance.
Definition at line 114 of file ContactCache.java.
References org.sleuthkit.autopsy.ingest.IngestManager.addIngestModuleEventListener(), org.sleuthkit.autopsy.guiutils.ContactCache.buildMap(), org.sleuthkit.autopsy.ingest.ModuleDataEvent.getBlackboardArtifactType(), and org.sleuthkit.autopsy.ingest.IngestManager.getInstance().
Referenced by org.sleuthkit.autopsy.guiutils.ContactCache.getInstance().
|
private |
Builds the map of account IDs to contacts that reference them.
TskCoreException | |
SQLException |
Definition at line 163 of file ContactCache.java.
References org.sleuthkit.autopsy.casemodule.Case.getCurrentCase(), and org.sleuthkit.autopsy.casemodule.Case.getSleuthkitCase().
Referenced by org.sleuthkit.autopsy.guiutils.ContactCache.ContactCache().
|
static |
Returns a list of Contact TSK_NAME values for the given account type specific id.
accountTypeSpecificID | Account type specific id |
TskCoreException |
Definition at line 83 of file ContactCache.java.
References org.sleuthkit.autopsy.guiutils.ContactCache.accountMap, and org.sleuthkit.autopsy.guiutils.ContactCache.getInstance().
Referenced by org.sleuthkit.autopsy.contentviewers.artifactviewers.CallLogArtifactViewer.getCallLogViewData().
|
static |
Returns the list of Contacts for the given Account.
account | Account instance. |
ExecutionException |
Definition at line 69 of file ContactCache.java.
References org.sleuthkit.autopsy.guiutils.ContactCache.accountMap, and org.sleuthkit.autopsy.guiutils.ContactCache.getInstance().
|
staticprivate |
Returns the singleton instance of the cache object.
Definition at line 147 of file ContactCache.java.
References org.sleuthkit.autopsy.guiutils.ContactCache.ContactCache(), and org.sleuthkit.autopsy.guiutils.ContactCache.instance.
Referenced by org.sleuthkit.autopsy.guiutils.ContactCache.getContactNameList(), and org.sleuthkit.autopsy.guiutils.ContactCache.getContacts().
|
private |
Definition at line 57 of file ContactCache.java.
Referenced by org.sleuthkit.autopsy.guiutils.ContactCache.getContactNameList(), and org.sleuthkit.autopsy.guiutils.ContactCache.getContacts().
|
staticprivate |
Definition at line 55 of file ContactCache.java.
Referenced by org.sleuthkit.autopsy.guiutils.ContactCache.getInstance().
|
staticprivate |
Definition at line 53 of file ContactCache.java.
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.