IOEndpoint
public interface InputOutputEndpoint extends IOEndpoint
Modifier and Type | Interface | Description |
---|---|---|
static interface |
InputOutputEndpoint.BulkInputOutputCaller |
Provides an interface for completing a unit of
work by repeated calls to the input-output endpoint.
|
IOEndpoint.BulkIOEndpointCaller,
IOEndpoint.CallContext
Modifier and Type | Method | Description |
---|---|---|
InputOutputEndpoint.BulkInputOutputCaller |
bulkCaller() |
Deprecated.
|
InputOutputEndpoint.BulkInputOutputCaller |
bulkCaller(IOEndpoint.CallContext callContext) |
Constructs an instance of a bulk caller, which
completes a unit of work by repeated calls to the endpoint.
|
InputOutputEndpoint.BulkInputOutputCaller |
bulkCaller(IOEndpoint.CallContext[] callContexts) |
Constructs an instance of a bulk caller, which
completes a unit of work by repeated calls to the endpoint.
|
InputOutputEndpoint.BulkInputOutputCaller |
bulkCaller(IOEndpoint.CallContext[] callContexts,
int threadCount) |
Constructs an instance of a bulk caller, which
completes a unit of work by repeated calls to the endpoint.
|
java.io.InputStream[] |
call(IOEndpoint.CallContext callContext,
java.io.InputStream[] input) |
Makes one call to an endpoint that doesn't take
an endpoint state, session, or work unit and sets the endpoint
state in the Call Context.
|
java.io.InputStream[] |
call(java.io.InputStream[] input) |
Makes one call to an endpoint that doesn't take
an endpoint state, session, or work unit.
|
java.io.InputStream[] |
call(java.io.InputStream endpointState,
SessionState session,
java.io.InputStream workUnit,
java.io.InputStream[] input) |
Deprecated.
|
static InputOutputEndpoint |
on(DatabaseClient client,
JSONWriteHandle apiDecl) |
allowsEndpointState,
allowsInput,
allowsSession,
allowsWorkUnit,
getEndpointPath,
newCallContext,
newSessionState
static InputOutputEndpoint on(DatabaseClient client, JSONWriteHandle apiDecl)
java.io.InputStream[] call(java.io.InputStream[] input)
input
- the request data sent to the endpoint@Deprecated java.io.InputStream[] call(java.io.InputStream endpointState, SessionState session, java.io.InputStream workUnit, java.io.InputStream[] input)
endpointState
- the current mutable state of the
endpoint (which must be null if not accepted by the endpoint)session
- the identifier for the server cache of
the endpoint (which must be null if not accepted by the
endpoint)workUnit
- the definition of a unit of work (which
must be null if not accepted by the endpoint)input
- the request data sent to the endpoint@Deprecated InputOutputEndpoint.BulkInputOutputCaller bulkCaller()
java.io.InputStream[] call(IOEndpoint.CallContext callContext, java.io.InputStream[] input)
callContext
- the collection of endpointState,
sessionState and workUnitinput
- the request data sent to the endpointInputOutputEndpoint.BulkInputOutputCaller bulkCaller(IOEndpoint.CallContext callContext)
callContext
- the collection of endpointState,
sessionState and workUnitInputOutputEndpoint.BulkInputOutputCaller bulkCaller(IOEndpoint.CallContext[] callContexts)
callContexts
- the collection of callContextsInputOutputEndpoint.BulkInputOutputCaller bulkCaller(IOEndpoint.CallContext[] callContexts, int threadCount)
callContexts
- the collection of callContextsthreadCount
- the number of threadsCopyright © 2013-2019 MarkLogic Corporation.