Stefan Groschupf wrote:
I also note this line in client.java
public Writable[] call(Writable[] params, InetSocketAddress[] addresses)
    throws IOException {
    if (params.length == 0) return new Writable[0];

Do I understand it correct that in case the remote method does not need any parameter no remote call is done?

Different parameters are sent to each address. So params.length should equal addresses.length, and if params.length==0 then addresses.length==0 and there's no call to be made. Make sense? It might be clearer if the test were changed to addresses.length==0.

Doug

Reply via email to