Re: Add convenience collect methods to the Stream interface

2018-12-09 Thread James Roper
alls. > > Regards, > > Rob Griffin > Software Analyst, Spotlight on SQL Server > Quest | R&D > rob.grif...@quest.com > > -- James Roper Architect, Office of the CTO, Lightbend, Inc. @jroper <https://twitter.com/jroper> <https://www.lightbend.com/>

Re: Stream Method Proposal: long count(Predicate predicate)

2018-11-11 Thread James Roper
od to IntStream, > > DoubleStream, and LongStream, but allowing them to use IntPredicate, > > DoublePredicate, and LongPredicate respectively. > > > > Thanks, > > > > Jacob Glickman > > -- James Roper Architect, Office of the CTO, Lightbend, Inc. @jroper <https://twitter.com/jroper> <https://www.lightbend.com/>

Why Stream.concat is a static method - type variable contravariance

2018-10-10 Thread James Roper
ed with a static method: public static Publisher onErrorResumeWith(Publisher a, Function f); But unlike concat, this method feels and reads much better as an instance method, as a static method it's a little confusing. Regards, James -- *James Roper* *Senior Developer, Office o

Re: Reactive Streams utility API

2018-09-25 Thread James Roper
Sounds good to me, I'll ping Viktor to make sure he sees it too. On Wed, 26 Sep 2018 at 06:34, Pavel Rappo wrote: > > > On 25 Sep 2018, at 05:33, James Roper wrote: > > > > Hi Pavel, > > > > > > > > As for the MutexExecutor itself, that was

Re: Reactive Streams utility API

2018-09-24 Thread James Roper
> > However, after examining the new repository, I found that not only has the > code > in question disappeared, but the structure of the project has changed as > well. > > Will the API have the default implementation (ReactiveStreamsEngine)? > > -Pavel > > -- *James Roper* *Senior Developer, Office of the CTO* Lightbend <https://www.lightbend.com/> – Build reactive apps! Twitter: @jroper <https://twitter.com/jroper>

Re: Reactive Streams utility API

2018-09-18 Thread James Roper
, 28 Aug 2018 at 00:33, Pavel Rappo wrote: > Hi James, > > What's the status of the project? Has it been abandoned? > > -Pavel > > > On 22 Mar 2018, at 00:09, James Roper wrote: > > > > Hi all, > > > > We've created a reference implementat

Should Java have a unit type?

2018-05-09 Thread James Roper
of this type indicates that whatever it represents has been completed successfully - this type is typically used in combination with CompletionStage, while NotUsed might be used in place of Void in PrivelegedAction, as described here: https://docs.oracle.com/javase/8/docs/technotes/guides/security/d

Multi-Release jars intended use cases

2018-03-25 Thread James Roper
have an official statement about whether the above use case is using the MR feature as intended, and whether that use case is considered a good practice or not. Regards, James -- *James Roper* *Senior Octonaut* Lightbend <https://www.lightbend.com/> – Build reactive apps! Twitter: @jroper <https://twitter.com/jroper>

Re: Reactive Streams utility API

2018-03-21 Thread James Roper
ssibly java.sql2 aka ADBA), you need to use Jakarta EE (or some third party streaming library). So unless there's any major feedback coming here on this list, I'd like to put this forward as a JEP. Regards, James On 15 March 2018 at 12:24, James Roper wrote: > Hi all, > > An

Re: Reactive Streams utility API

2018-03-14 Thread James Roper
ject shouldn't be a > barrier to innovating. > > > On 2/28/2018 10:33 PM, James Roper wrote: > >> Hi all, >> >> We've put together a simple proposal for this. Please read the README for >> an introduction to this proposal. >> >> https://g

Re: Reactive Streams utility API

2018-02-28 Thread James Roper
Hi all, We've put together a simple proposal for this. Please read the README for an introduction to this proposal. https://github.com/lightbend/reactive-streams-utils Regards, James On 22 February 2018 at 11:47, James Roper wrote: > Hi all, > > This is an email to give peo

Reactive Streams utility API

2018-02-21 Thread James Roper
r off. Our hope is that we can propose this as a JEP. Regards, James -- *James Roper* *Senior Octonaut* Lightbend <https://www.lightbend.com/> – Build reactive apps! Twitter: @jroper <https://twitter.com/jroper>

Re: [concurrency-interest] We need to add blocking methods to CompletionStage!

2016-09-24 Thread James Roper
a Completion object until the source stage itself is collected. Which > doesn't happen if e.g. a direct isDone() is provided. > JDK-8161600: Garbage retention when source CompletableFutures are never > completed > (but no one has ever complained!) > -- *James Roper* *Software Engineer* Lightbend <https://www.lightbend.com/> – Build reactive apps! Twitter: @jroper <https://twitter.com/jroper>

Re: [concurrency-interest] We need to add blocking methods to CompletionStage!

2016-09-24 Thread James Roper
ource, not binary incompatibility, so far less serious. > > ___ > Concurrency-interest mailing list > concurrency-inter...@cs.oswego.edu > http://cs.oswego.edu/mailman/listinfo/concurrency-interest > > -- *James Roper* *Software Engineer* Lightbend <https://www.lightbend.com/> – Build reactive apps! Twitter: @jroper <https://twitter.com/jroper>