O - The representation for document outputIOEndpoint.BulkIOEndpointCallerOutputEndpoint.BulkOutputCallerpublic static interface OutputCaller.BulkOutputCaller<O> extends IOEndpoint.BulkIOEndpointCaller
| Modifier and Type | Interface | Description |
|---|---|---|
static interface |
OutputCaller.BulkOutputCaller.ErrorListener |
IOEndpoint.BulkIOEndpointCaller.ErrorDisposition| Modifier and Type | Method | Description |
|---|---|---|
O[] |
next() |
Provides synchronous access to output.
|
void |
setErrorListener(OutputCaller.BulkOutputCaller.ErrorListener errorListener) |
|
void |
setOutputListener(java.util.function.Consumer<O> listener) |
Specifies the function to call on receiving output from the endpoint.
|
awaitCompletion, getEndpointState, getWorkUnit, interrupt, setEndpointState, setEndpointState, setEndpointState, setWorkUnit, setWorkUnit, setWorkUnitvoid setOutputListener(java.util.function.Consumer<O> listener)
listener - a function for processing the endpoint outputO[] next()
void setErrorListener(OutputCaller.BulkOutputCaller.ErrorListener errorListener)
Copyright © 2013-2021 MarkLogic Corporation.