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

Classes

class  ArtifactCacheKey
 
class  NewSearchListener
 

Public Member Functions

List< BlackboardArtifact > get (DomainSearchArtifactsRequest request) throws DiscoveryException
 

Static Private Attributes

static final LoadingCache< ArtifactCacheKey, Map< String, List< BlackboardArtifact > > > cache
 
static final int MAXIMUM_CACHE_SIZE = 10
 
static final NewSearchListener newSearchListener = new NewSearchListener()
 
static final int TIME_TO_LIVE = 5
 

Detailed Description

Caches artifact requests.

Definition at line 38 of file DomainSearchArtifactsCache.java.

Member Function Documentation

List<BlackboardArtifact> org.sleuthkit.autopsy.discovery.search.DomainSearchArtifactsCache.get ( DomainSearchArtifactsRequest  request) throws DiscoveryException

Get artifact instances that match the requested criteria. If the request is new, the results will be automatically loaded.

Parameters
requestArtifact request, specifies type, Case, and domain name.
Returns
A list of matching artifacts.
Exceptions
DiscoveryExceptionAny error that occurs during the loading process.

Definition at line 66 of file DomainSearchArtifactsCache.java.

References org.sleuthkit.autopsy.discovery.search.DomainSearchArtifactsCache.cache.

Referenced by org.sleuthkit.autopsy.discovery.search.DomainSearch.getArtifacts(), and org.sleuthkit.autopsy.discovery.search.DomainSearchThumbnailLoader.load().

Member Data Documentation

final LoadingCache<ArtifactCacheKey, Map<String, List<BlackboardArtifact> > > org.sleuthkit.autopsy.discovery.search.DomainSearchArtifactsCache.cache
staticprivate
Initial value:
= CacheBuilder.newBuilder()
.maximumSize(MAXIMUM_CACHE_SIZE)
.expireAfterWrite(TIME_TO_LIVE, TimeUnit.MINUTES)
.build(new DomainSearchArtifactsLoader())

Definition at line 43 of file DomainSearchArtifactsCache.java.

Referenced by org.sleuthkit.autopsy.discovery.search.DomainSearchArtifactsCache.get().

final int org.sleuthkit.autopsy.discovery.search.DomainSearchArtifactsCache.MAXIMUM_CACHE_SIZE = 10
staticprivate

Definition at line 40 of file DomainSearchArtifactsCache.java.

final NewSearchListener org.sleuthkit.autopsy.discovery.search.DomainSearchArtifactsCache.newSearchListener = new NewSearchListener()
staticprivate

Definition at line 51 of file DomainSearchArtifactsCache.java.

final int org.sleuthkit.autopsy.discovery.search.DomainSearchArtifactsCache.TIME_TO_LIVE = 5
staticprivate

Definition at line 41 of file DomainSearchArtifactsCache.java.


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

Copyright © 2012-2022 Basis Technology. Generated on: Sat Sep 24 2022
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.