Ejemplo n.º 1
0
  public ClientInvocationFuture invoke() {
    if (clientMessage == null) {
      throw new IllegalStateException("Request can not be null");
    }

    try {
      invokeOnSelection();
    } catch (Exception e) {
      notifyException(e);
    }
    return clientInvocationFuture;
  }
Ejemplo n.º 2
0
  public ClientInvocationFuture invoke() {
    assert (clientMessage != null);

    try {
      invokeOnSelection();
    } catch (Exception e) {
      if (e instanceof HazelcastOverloadException) {
        throw (HazelcastOverloadException) e;
      }
      notifyException(e);
    }
    return clientInvocationFuture;
  }