Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-10106

[FlightRPC][Java] Expose onIsReady() callback on OutboundStreamListener

    XMLWordPrintableJSON

Details

    Description

      OutboundStreamListener has a method isReady() that FlightProducers need to poll during implementations of getStream() to avoid buffering too much data.

      An enhancement would be to allow setting a callback to run (for example, notifying a CountdownLatch) so that FlightProducer implementations don't need to busy wait.

      Attachments

        Issue Links

          Activity

            People

              jduong James Duong
              jduong James Duong
              Votes:
              0 Vote for this issue
              Watchers:
              3 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 - 2h
                  2h