Go to the documentation of this file.
19package org.sleuthkit.autopsy.discovery.search;
21import com.google.common.cache.CacheBuilder;
22import com.google.common.cache.LoadingCache;
24import java.util.concurrent.ExecutionException;
32 private static final LoadingCache<DomainSearchThumbnailRequest, Image>
cache
33 = CacheBuilder.newBuilder()
51 return cache.get(request);
52 }
catch (ExecutionException ex) {
54 throw new DiscoveryException(
"Error fetching artifacts from cache " + request.toString(), ex.getCause());
static final LoadingCache< DomainSearchThumbnailRequest, Image > cache
static final int MAXIMUM_CACHE_SIZE
Copyright © 2012-2024 Sleuth Kit Labs. Generated on:
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.