protected class AbstractRemoteInvocationCaller.RequestBuilder extends Object
GenericRemoteInvocationRequest
s.Modifier and Type | Field and Description |
---|---|
private AbstractRemoteInvocationCaller.TransactionalCallBuilder |
currentTx |
private List<AbstractRemoteInvocationCaller.TransactionalCallBuilder> |
txCallList |
Constructor and Description |
---|
RequestBuilder()
The constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addInSingleTx(RemoteInvocationCallData<?,CALL> data) |
void |
addToCurrentTx(RemoteInvocationCallData<?,CALL> data) |
void |
beginTx()
Begins a new
"transaction" . |
REQUEST |
build(int requestId)
Builds the
GenericRemoteInvocationRequest instance. |
void |
endTx()
Ends the current
"transaction" . |
(package private) void |
handleFailure(Throwable failure)
Processes the given
failure . |
(package private) void |
handleResponse(GenericRemoteInvocationResponse response)
Processes the given
response . |
private final List<AbstractRemoteInvocationCaller.TransactionalCallBuilder> txCallList
build(int)
private AbstractRemoteInvocationCaller.TransactionalCallBuilder currentTx
addToCurrentTx(RemoteInvocationCallData)
void handleFailure(Throwable failure)
failure
.failure
- is the failure that occurred.void handleResponse(GenericRemoteInvocationResponse response)
response
.response
- is the GenericRemoteInvocationResponse
to handle.public void beginTx()
"transaction"
.public void addToCurrentTx(RemoteInvocationCallData<?,CALL> data)
data
- is the RemoteInvocationCallData
to
add
to the current transaction
.public void addInSingleTx(RemoteInvocationCallData<?,CALL> data)
data
- is the RemoteInvocationCallData
to
add
as a new "transaction"
.public void endTx()
"transaction"
.public REQUEST build(int requestId)
GenericRemoteInvocationRequest
instance.requestId
- is the request ID
.GenericRemoteInvocationRequest
instance for this builder.Copyright © 2001–2016 mmm-Team. All rights reserved.