You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "James Duong (Jira)" <ji...@apache.org> on 2020/09/26 09:57:00 UTC

[jira] [Created] (ARROW-10106) [FlightRPC][Java] Expose onIsReady() callback on OutboundStreamListener

James Duong created ARROW-10106:
-----------------------------------

             Summary: [FlightRPC][Java] Expose onIsReady() callback on OutboundStreamListener
                 Key: ARROW-10106
                 URL: https://issues.apache.org/jira/browse/ARROW-10106
             Project: Apache Arrow
          Issue Type: Improvement
          Components: FlightRPC, Java
            Reporter: James Duong


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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)