roc230 / spymemcached

Automatically exported from code.google.com/p/spymemcached
0 stars 0 forks source link

ConnectionFactory.isDaemon() always returns false #87

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
How am I able to set up a ConnectionFactory to run as a daemon thread? It
looks like support for this was added in
d2666943a0db88a68045550cebf4fd8a2ac39876, but I am unable to see how to
change the default behaviour.

Thanks for any assistance,

Chris Back

Original issue reported on code.google.com by chris.b...@gmail.com on 27 Aug 2009 at 7:12

GoogleCodeExporter commented 9 years ago
The idea is that you should subclass DefaultConnectionFactory (or similar, or 
write a
new one) that returns true.  Most things within spymemcached are designed to 
not be
mutable.

I could build a ConnectionFactoryBuilder which would be helpful here, but 
that's not
how I personally use it, so I haven't put effort into it to do so yet.

Original comment by dsalli...@gmail.com on 27 Aug 2009 at 10:24