public class PipesClient extends Object implements Closeable
process(FetchEmitTuple) processing.
See AsyncProcessor for handling
multiple PipesClients.| Constructor and Description |
|---|
PipesClient(PipesConfigBase pipesConfig) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
int |
getFilesProcessed() |
PipesResult |
process(FetchEmitTuple t) |
public PipesClient(PipesConfigBase pipesConfig)
public int getFilesProcessed()
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionpublic PipesResult process(FetchEmitTuple t) throws IOException, InterruptedException
IOExceptionInterruptedExceptionCopyright © 2007–2022 The Apache Software Foundation. All rights reserved.