public final class OutboundResponseHandler extends Object implements OperationResponseHandler
OperationResponseHandler
that is used for a remotely executed Operation. So when a calling member
sends an Operation to the receiving member, the receiving member attaches this OutboundResponseHandler
to that operation so that the response is returned to the right machine.Modifier and Type | Method and Description |
---|---|
boolean |
send(EndpointManager endpointManager,
Address target,
Response response) |
void |
sendBackupAck(EndpointManager endpointManager,
Address target,
long callId,
boolean urgent) |
void |
sendResponse(Operation operation,
Object obj)
Sends a response.
|
public void sendResponse(Operation operation, Object obj)
OperationResponseHandler
sendResponse
in interface OperationResponseHandler
operation
- the operation that got executed.obj
- the response of the operation that got executed.public boolean send(EndpointManager endpointManager, Address target, Response response)
public void sendBackupAck(EndpointManager endpointManager, Address target, long callId, boolean urgent)
Copyright © 2020 Hazelcast, Inc.. All Rights Reserved.