public static interface IOEndpoint.CallContext
Modifier and Type | Method | Description |
---|---|---|
java.io.InputStream |
getEndpointState() |
Gets the current snapshot of the mutable
endpoint state.
|
SessionState |
getSessionState() |
Returns an identifier for an endpoint to use
when accessing a session cache on the server.
|
java.io.InputStream |
getWorkUnit() |
Gets the definition for the unit of work to be
done by the endpoint.
|
IOEndpoint.CallContext |
withEndpointState(byte[] endpointState) |
Initializes the endpoint state.
|
IOEndpoint.CallContext |
withEndpointState(BufferableHandle endpointState) |
Initializes the endpoint state.
|
IOEndpoint.CallContext |
withEndpointState(java.io.InputStream endpointState) |
Initializes the endpoint state.
|
IOEndpoint.CallContext |
withSessionState(SessionState sessionState) |
Sets an identifier for an endpoint to use when
accessing a session cache on the server.
|
IOEndpoint.CallContext |
withWorkUnit(byte[] workUnit) |
Initializes the defintion of the work
unit.
|
IOEndpoint.CallContext |
withWorkUnit(BufferableHandle workUnit) |
Initializes the defintion of the work
unit.
|
IOEndpoint.CallContext |
withWorkUnit(java.io.InputStream workUnit) |
Initializes the defintion of the work
unit.
|
java.io.InputStream getEndpointState()
IOEndpoint.CallContext withEndpointState(byte[] endpointState)
endpointState
- the data structure for the
endpoint state as a byte[] arrayIOEndpoint.CallContext withEndpointState(java.io.InputStream endpointState)
endpointState
- the data structure for the
endpoint state as an InputStreamIOEndpoint.CallContext withEndpointState(BufferableHandle endpointState)
endpointState
- the data structure for the
endpoint state as a bufferable handlejava.io.InputStream getWorkUnit()
IOEndpoint.CallContext withWorkUnit(byte[] workUnit)
workUnit
- the data structure for the work unit as
a byte[] arrayIOEndpoint.CallContext withWorkUnit(java.io.InputStream workUnit)
workUnit
- the data structure for the work unit as
an InputStreamIOEndpoint.CallContext withWorkUnit(BufferableHandle workUnit)
workUnit
- the data structure for the work unit as
a bufferable handleSessionState getSessionState()
IOEndpoint.CallContext withSessionState(SessionState sessionState)
Copyright © 2013-2019 MarkLogic Corporation.