use of com.hazelcast.spi.exception.RetryableIOException in project hazelcast by hazelcast.
the class Invocation method doInvokeRemote.
private void doInvokeRemote() {
assert connectionManager != null : "Endpoint manager was null";
ServerConnection connection = connectionManager.getOrConnect(targetAddress, op.getPartitionId());
this.connection = connection;
boolean write;
if (connection != null) {
write = context.outboundOperationHandler.send(op, connection);
} else {
write = context.outboundOperationHandler.send(op, targetAddress);
}
if (!write) {
notifyError(new RetryableIOException(getPacketNotSentMessage(connection)));
}
}
Aggregations