Re: java.util.concurrent.Flow with opposite direction of item flow
Alexei Kaigorodov via Concurrency-interest <[email protected]>
| Newsgroups | gmane.comp.java.jsr.166-concurrency |
|---|---|
| Message-ID | <[email protected]> |
/we don't provide means to work with blocking queues directly/ In order to solve the problem described in the first message, I need a queue which implements both synchronous blocking interface and asynchronous non-blocking interfaces with backpressure. Evidently, such a queue must have 2 different async interfaces: one for writing into the queue and one for reading from it. I'd like to reuse existing interfaces, for interoperability. I found that j.u.c.Flow is suitable for reading, but could not find an existing interface for writing. However, it was easy to design such an interface, and I provided a reference to my design. I do not need an implementation, I already done one. -- Sent from: http://jsr166-concurrency.10961.n7.nabble.com/ _______________________________________________ Concurrency-interest mailing list [email protected] http://cs.oswego.edu/mailman/listinfo/concurrency-interest