IOEndpoint
public interface ExecEndpoint extends IOEndpoint
Modifier and Type | Interface | Description |
---|---|---|
static interface |
ExecEndpoint.BulkExecCaller |
Provides an interface for completing a unit of
work by repeated calls to an endpoint that doesn't take input data
structure or return output data structures.
|
IOEndpoint.BulkIOEndpointCaller,
IOEndpoint.CallContext
Modifier and Type | Method | Description |
---|---|---|
ExecEndpoint.BulkExecCaller |
bulkCaller() |
Deprecated.
|
ExecEndpoint.BulkExecCaller |
bulkCaller(IOEndpoint.CallContext callContext) |
Constructs an instance of a bulk caller, which
completes a unit of work by repeated calls to the endpoint.
|
ExecEndpoint.BulkExecCaller |
bulkCaller(IOEndpoint.CallContext[] callContexts) |
Constructs an instance of a bulk caller, which
completes a unit of work by repeated calls to the endpoint.
|
ExecEndpoint.BulkExecCaller |
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.
|
void |
call() |
Makes one call to an endpoint that doesn't take
an endpoint state, session, or work unit.
|
void |
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 ExecEndpoint |
on(DatabaseClient client,
JSONWriteHandle apiDecl) |
Constructs an instance of the ExecEndpoint
interface for calling the specified endpoint.
|
allowsEndpointState,
allowsInput,
allowsSession,
allowsWorkUnit,
getEndpointPath,
newCallContext,
newSessionState
static ExecEndpoint on(DatabaseClient client, JSONWriteHandle apiDecl)
client
- the database client to use for making
callsapiDecl
- the JSON api declaration specifying how
to call the endpointvoid 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 ExecEndpoint.BulkExecCaller bulkCaller()
void call(IOEndpoint.CallContext callContext)
callContext
- the collection of endpointState,
sessionState and workUnitExecEndpoint.BulkExecCaller bulkCaller(IOEndpoint.CallContext callContext)
callContext
- the collection of endpointState,
sessionState and workUnitExecEndpoint.BulkExecCaller bulkCaller(IOEndpoint.CallContext[] callContexts)
callContexts
- array of callContextsExecEndpoint.BulkExecCaller bulkCaller(IOEndpoint.CallContext[] callContexts, int threadCount)
callContexts
- array of callContextsthreadCount
- the number of threadsCopyright © 2013-2019 MarkLogic Corporation.