IOEndpoint.BulkIOEndpointCaller
public static interface OutputEndpoint.BulkOutputCaller extends IOEndpoint.BulkIOEndpointCaller
Modifier and Type | Interface | Description |
---|---|---|
static interface |
OutputEndpoint.BulkOutputCaller.ErrorListener |
IOEndpoint.BulkIOEndpointCaller.ErrorDisposition
Modifier and Type | Method | Description |
---|---|---|
java.io.InputStream[] |
next() |
Provides synchronous access to output.
|
void |
setErrorListener(OutputEndpoint.BulkOutputCaller.ErrorListener errorListener) |
|
void |
setOutputListener(java.util.function.Consumer<java.io.InputStream> listener) |
Specifies the function to call on receiving
output from the endpoint.
|
awaitCompletion,
getEndpointState,
getWorkUnit,
interrupt,
setEndpointState,
setEndpointState,
setEndpointState,
setWorkUnit,
setWorkUnit,
setWorkUnit
void setOutputListener(java.util.function.Consumer<java.io.InputStream> listener)
listener
- a function for processing the endpoint
outputjava.io.InputStream[] next()
void setErrorListener(OutputEndpoint.BulkOutputCaller.ErrorListener errorListener)
Copyright © 2013-2019 MarkLogic Corporation.