Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-2427

Add support for Multiplexed Async Processors

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Java - Library
    • None

    Description

      THRIFT-1972 added support for Asynchronous processors to be used with Non blocking servers. THRIFT-563 added support for multiplexed servers.

      I would like to build a Non Blocking server which runs multiple, multiplexed async processors. However, the current Java implementation does not allow a multiplexed asynchronous server:
      1. TMultiplexedProcessor implements TProcessor, which causes TNonBlockingServer to create a FrameBuffer, not a AsyncFrameBuffer for it.
      2. TMultiplexedProcessor calls the underlying processors with the

      process(TProtocol in, TProtocol out)

      method variant, which returns false in TBaseAsyncProcessor. It should, instead, be able to call the

      process(final AsyncFrameBuffer fb)

      variant.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              liorn Lior Neudorfer
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: