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 Wed, Jul 11, 2012 at 1:17 PM, Brian Roach <[email protected]> wrote:

> 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 way to set the connection threads
> to daemon mode so they don't hang the jvm?
> >
> > Regards
> > Steve
> > _______________________________________________
> > riak-users mailing list
> > [email protected]
> > http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>
>
_______________________________________________
riak-users mailing list
[email protected]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to