Re: Java client pool threading

2012-07-11 Thread Steve Warren
Sounds great! Thanks Steve On Wed, Jul 11, 2012 at 1:42 PM, Brian Roach wrote: > Steve - > > Honestly, don't know. I think I've had that thought at least once :) > > I've got a couple things that I'm working on at the moment that need to > get done for the Riak 1.2 release, but when I get a cha

Re: Java client pool threading

2012-07-11 Thread Brian Roach
Steve - Honestly, don't know. I think I've had that thought at least once :) I've got a couple things that I'm working on at the moment that need to get done for the Riak 1.2 release, but when I get a chance I'll take a look at it and see if there's any harm. Thanks, Brian Roach On Jul 11,

Re: Java client pool threading

2012-07-11 Thread Steve Warren
Thanks for the reply! That's what I did (I expose Riak as spring beans and so destroy on context shutdown). But why not set the threads to deamon mode since they're support threads and avoid the issue altogether? Is it just too deep in another library or some other concern I don't understand? On W

Re: Java client pool threading

2012-07-11 Thread Brian Roach
Steve - Call the IRIakClient.shutdown() method when you're done with it - it'll kill the background threads. Thanks, Brian Roach On Jul 11, 2012, at 2:12 PM, Steve Warren wrote: > I've noticed that while using the java client library the jvm is not exiting > when main completes. Is there a

Java client pool threading

2012-07-11 Thread Steve Warren
I've noticed that while using the java client library the jvm is not exiting when main completes. Is there a way to set the connection threads to daemon mode so they don't hang the jvm? Regards Steve ___ riak-users mailing list riak-users@lists.basho.com