Search code examples
javaspymemcached

How to close tcp connection using SpyMemcached client?


I am using memcache through SpyMemcached client . I want to ask that how can i close the tcp connection after using it. I dont know the method .


Solution

  • There is a shutdown() (apidocs) function in the MemcachedClient class.