I - The representation for document inputIOEndpoint.BulkIOEndpointCallerInputEndpoint.BulkInputCallerpublic static interface InputCaller.BulkInputCaller<I> extends IOEndpoint.BulkIOEndpointCaller
| Modifier and Type | Interface | Description |
|---|---|---|
static interface |
InputCaller.BulkInputCaller.ErrorListener |
A function implementation that specifies the disposition of a failed call.
|
IOEndpoint.BulkIOEndpointCaller.ErrorDisposition| Modifier and Type | Method | Description |
|---|---|---|
void |
accept(I input) |
Accepts an input item for the endpoint.
|
void |
acceptAll(I[] input) |
Accepts multiple input items for the endpoint.
|
void |
setErrorListener(InputCaller.BulkInputCaller.ErrorListener errorListener) |
Provides a callback that specifies the disposition of a failed call.
|
awaitCompletion, getEndpointState, getWorkUnit, interrupt, setEndpointState, setEndpointState, setEndpointState, setWorkUnit, setWorkUnit, setWorkUnitvoid accept(I input)
input - one input itemvoid acceptAll(I[] input)
input - multiple input items.void setErrorListener(InputCaller.BulkInputCaller.ErrorListener errorListener)
errorListener - the lambda or other implementation of the error listenerCopyright © 2013-2021 MarkLogic Corporation.