Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-14081 Networking module
  3. IGNITE-14279

Introduce "sendWithResponse" into network API

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0-alpha2
    • None
    • Docs Required, Release Notes Required

    Description

          /**
           * 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);
      

      Attachments

        Issue Links

          Activity

            People

              ibessonov Ivan Bessonov
              ibessonov Ivan Bessonov
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m