private MemcachedClient initXMemcachedClient ( ) { if ( this . memcachedClient != null && ! this . memcachedClient . isShutdown ( ) ) { return this . memcachedClient ; } try { this . memcachedClient = new XMemcachedClient ( this . cacheHost , this . cachePort ) ; return this . memcachedClient ; } //Unable to create client with connection. catch ( IOException e ) { throw new FluidCacheException ( "Unable to create MemCache client. " + e . getMessage ( ) , e ) ; } }
Creates an instance of MemcachedClient .