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 Closeable
close
in interface AutoCloseable
IOException
public PipesResult process(FetchEmitTuple t) throws IOException, InterruptedException
IOException
InterruptedException
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.