IOEndpoint
public interface OutputEndpoint extends IOEndpoint
Modifier and Type | Interface | Description |
---|---|---|
static interface |
OutputEndpoint.BulkOutputCaller |
Provides an interface for completing a unit of
work by repeated calls to the output endpoint.
|
IOEndpoint.BulkIOEndpointCaller,
IOEndpoint.CallContext
Modifier and Type | Method | Description |
---|---|---|
OutputEndpoint.BulkOutputCaller |
bulkCaller() |
Deprecated.
|
OutputEndpoint.BulkOutputCaller |
bulkCaller(IOEndpoint.CallContext callContext) |
Constructs an instance of a bulk caller, which
completes a unit of work by repeated calls to the endpoint.
|
OutputEndpoint.BulkOutputCaller |
bulkCaller(IOEndpoint.CallContext[] callContexts) |
Constructs an instance of a bulk caller, which
completes a unit of work by repeated calls to the endpoint.
|
OutputEndpoint.BulkOutputCaller |
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() |
Makes one call to an endpoint that doesn't take
an endpoint state, session, or work unit.
|
java.io.InputStream[] |
call(IOEndpoint.CallContext callContext) |
Makes one call to the endpoint for the instance
and sets the endpoint state in the Call Context.
|
java.io.InputStream[] |
call(java.io.InputStream endpointState,
SessionState session,
java.io.InputStream workUnit) |
Deprecated.
|
static OutputEndpoint |
on(DatabaseClient client,
JSONWriteHandle apiDecl) |
Constructs an instance of the OutputEndpoint
interface.
|
allowsEndpointState,
allowsInput,
allowsSession,
allowsWorkUnit,
getEndpointPath,
newCallContext,
newSessionState
static OutputEndpoint on(DatabaseClient client, JSONWriteHandle apiDecl)
client
- the database client to use for making
callsapiDecl
- the JSON api declaration specifying how
to call the endpointjava.io.InputStream[] call()
@Deprecated java.io.InputStream[] call(java.io.InputStream endpointState, SessionState session, java.io.InputStream workUnit)
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)@Deprecated OutputEndpoint.BulkOutputCaller bulkCaller()
java.io.InputStream[] call(IOEndpoint.CallContext callContext)
callContext
- the collection of endpointState,
sessionState and workUnitOutputEndpoint.BulkOutputCaller bulkCaller(IOEndpoint.CallContext callContext)
callContext
- the collection of endpointState,
sessionState and workUnitOutputEndpoint.BulkOutputCaller bulkCaller(IOEndpoint.CallContext[] callContexts)
callContexts
- the collection of callContextsOutputEndpoint.BulkOutputCaller bulkCaller(IOEndpoint.CallContext[] callContexts, int threadCount)
callContexts
- the collection of callContextsthreadCount
- the number of threadsCopyright © 2013-2019 MarkLogic Corporation.