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

Public Member Functions

Image get (DomainSearchThumbnailRequest request) throws DiscoveryException
 

Static Private Attributes

static final LoadingCache< DomainSearchThumbnailRequest, Image > cache
 
static final int MAXIMUM_CACHE_SIZE = 500
 

Detailed Description

Caches thumbnail requests.

Definition at line 29 of file DomainSearchThumbnailCache.java.

Member Function Documentation

Image org.sleuthkit.autopsy.discovery.search.DomainSearchThumbnailCache.get ( DomainSearchThumbnailRequest  request) throws DiscoveryException

Get a thumbnail for the requested domain. If the request is new, the thumbnail will be automatically loaded.

Parameters
requestRequested domain to thumbnail.
Returns
The thumbnail Image instance, or null if no thumbnail is available.
Exceptions
DiscoveryExceptionIf any error occurs during thumbnail generation.

Definition at line 49 of file DomainSearchThumbnailCache.java.

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

Referenced by org.sleuthkit.autopsy.discovery.search.DomainSearch.getThumbnail().

Member Data Documentation

final LoadingCache<DomainSearchThumbnailRequest, Image> org.sleuthkit.autopsy.discovery.search.DomainSearchThumbnailCache.cache
staticprivate
Initial value:
= CacheBuilder.newBuilder()
.maximumSize(MAXIMUM_CACHE_SIZE)
.build(new DomainSearchThumbnailLoader())

Definition at line 33 of file DomainSearchThumbnailCache.java.

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

final int org.sleuthkit.autopsy.discovery.search.DomainSearchThumbnailCache.MAXIMUM_CACHE_SIZE = 500
staticprivate

Definition at line 31 of file DomainSearchThumbnailCache.java.


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

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