Re: [POOL] Improving the borrow/return process with anonymous functions

2015-11-12 Thread Phil Steitz
On Thu, Nov 12, 2015 at 12:25 PM, Gary Gregory wrote: > Updating to Java 8 would be fine with me. You could write a [poll] email > thread the ML to gauge interest. > First, thanks for your interest in contributing, Cory! I am not sure this idea belongs in GOP itself. A GOP is not an applicati

Re: [POOL] Improving the borrow/return process with anonymous functions

2015-11-12 Thread Gary Gregory
Updating to Java 8 would be fine with me. You could write a [poll] email thread the ML to gauge interest. Gary On Thu, Nov 12, 2015 at 11:03 AM, Cory Klein wrote: > > The first hurdle here is that pool is not on Java 8. But this could be > done > > with other facilities like Runnable, Callable,

Re: [POOL] Improving the borrow/return process with anonymous functions

2015-11-12 Thread Cory Klein
> The first hurdle here is that pool is not on Java 8. But this could be done > with other facilities like Runnable, Callable, maybe even an executor. Although Callable wouldn't be as elegant as lambdas, it would definitely be possible. The consumer could define a Callable: class ResourceCallable

Re: [POOL] Improving the borrow/return process with anonymous functions

2015-11-12 Thread Gary Gregory
The first hurdle here is that pool is not on Java 8. But this could be done with other facilities like Runnable, Callable, maybe even an executor. Gary On Nov 12, 2015 9:47 AM, "Cory Klein" wrote: > First off, hello! My name is Cory Klein and this marks my first > interaction with this group. I'