fluid-api/src/main/java/com/fluidbpm/program/api/util/cache/CacheUtil.java
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);
		}
	}
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);
		}
	}
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.

@return MemcachedClient
Creates an instance of MemcachedClient .