public class AsyncProcessor extends Object implements Closeable
| Constructor and Description | 
|---|
AsyncProcessor(Path tikaConfigPath)  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
checkActive()  | 
void | 
close()  | 
void | 
finished()  | 
int | 
getCapacity()  | 
boolean | 
offer(FetchEmitTuple t,
     long offerMs)  | 
boolean | 
offer(List<FetchEmitTuple> newFetchEmitTuples,
     long offerMs)  | 
public AsyncProcessor(Path tikaConfigPath) throws TikaException, IOException, SAXException
TikaExceptionIOExceptionSAXExceptionpublic boolean offer(List<FetchEmitTuple> newFetchEmitTuples, long offerMs) throws PipesException, InterruptedException
PipesExceptionInterruptedExceptionpublic int getCapacity()
public boolean offer(FetchEmitTuple t, long offerMs) throws PipesException, InterruptedException
PipesExceptionInterruptedExceptionpublic void finished()
              throws InterruptedException
InterruptedExceptionpublic boolean checkActive()
public void close()
           throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2007–2021 The Apache Software Foundation. All rights reserved.