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
TikaException
IOException
SAXException
public boolean offer(List<FetchEmitTuple> newFetchEmitTuples, long offerMs) throws PipesException, InterruptedException
PipesException
InterruptedException
public int getCapacity()
public boolean offer(FetchEmitTuple t, long offerMs) throws PipesException, InterruptedException
PipesException
InterruptedException
public void finished() throws InterruptedException
InterruptedException
public boolean checkActive()
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.