So, you can disable the shutdownhook in XMemcachedClient, but there is still the one in AbstractController which is not configurable and will always fire, closing the underlying sessions of the client and causing Exceptions if you try to use it during shutdown. I think it should use the same "xmemcached.shutdown.hook.enable" property as the client.
So, you can disable the shutdownhook in XMemcachedClient, but there is still the one in AbstractController which is not configurable and will always fire, closing the underlying sessions of the client and causing Exceptions if you try to use it during shutdown. I think it should use the same "xmemcached.shutdown.hook.enable" property as the client.