Ivan Bessonov created IGNITE-14279: -------------------------------------- Summary: Introduce "sendWithResponse" into network API Key: IGNITE-14279 URL: https://issues.apache.org/jira/browse/IGNITE-14279 Project: Ignite Issue Type: Sub-task Reporter: Ivan Bessonov Assignee: Ivan Bessonov Fix For: 3.0.0-alpha2
{noformat} /** * Sends asynchronously a message with same guarantees as for {@link #send(NetworkMember, Object)} and * returns a response (RPC style). * * @param member Network member which should receive the message. * @param msg A message. * @param timeout Waiting for response timeout in milliseconds. * @param <R> Expected response type. * @return A future holding the response or error if the expected response was not received. */ <R> CompletableFuture<R> sendWithResponse(NetworkMember member, Object msg, long timeout); {noformat} -- This message was sent by Atlassian Jira (v8.3.4#803005)