19 package org.sleuthkit.autopsy.datasourcesummary.uiutils;
21 import java.util.concurrent.ExecutionException;
22 import java.util.function.Consumer;
23 import javax.swing.SwingWorker;
119 if (Thread.interrupted() || isCancelled()) {
126 }
catch (InterruptedException ignored) {
129 }
catch (ExecutionException ex) {
130 Throwable inner = ex.getCause();
134 }
else if (inner instanceof InterruptedException) {
138 inner = inner.getCause();
148 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)