19 package org.sleuthkit.autopsy.datasourcesummary.uiutils;
22 import java.util.concurrent.ExecutionException;
23 import java.util.function.Consumer;
24 import javax.swing.SwingWorker;
120 if (Thread.interrupted() || isCancelled()) {
127 }
catch (InterruptedException ignored) {
130 }
catch (ExecutionException ex) {
131 Throwable inner = ex.getCause();
135 }
else if (inner instanceof InterruptedException) {
139 inner = inner.getCause();
149 if (Thread.interrupted() || isCancelled()) {
Consumer< DataFetchResult< R1 > > getResultHandler()
static final Logger logger
DataFetcher< A1, R1 > getFetcher()
DataFetchComponents(DataFetcher< A1, R1 > fetcher, Consumer< DataFetchResult< R1 >> resultHandler)
static final int MAX_INNER_EXCEPTION_DEPTH
static< R > DataFetchResult< R > getErrorResult(Throwable e)
final DataFetcher< A1, R1 > fetcher
final Consumer< DataFetchResult< R1 > > resultHandler
DataFetchWorker(DataFetcher< A, R > processor, Consumer< DataFetchResult< R >> resultHandler, A args)
final Consumer< DataFetchResult< R > > resultHandler
synchronized static Logger getLogger(String name)
DataFetchWorker(DataFetchComponents< A, R > components, A args)
final DataFetcher< A, R > processor
static< R > DataFetchResult< R > getSuccessResult(R data)