/// <summary> /// Creates an instance of <see cref="MemcachedCache"/> with the given compression setting. /// </summary> /// <param name="enableCompression">The compression setting.</param> /// <returns>The cache instance.</returns> public ICache CreateCache(bool enableCompression) { ICache cache = new MemcachedCache(enableCompression); return cache; }
/// <summary> /// Creates an instance of <see cref="MemcachedCache"/> using default settings. /// </summary> /// <returns>The cache instance.</returns> public ICache CreateCache() { ICache cache = new MemcachedCache(); return cache; }
/// <summary> /// Creates an instance of <see cref="MemcachedCache"/> using the given pool name. /// </summary> /// <param name="poolName">The pool name.</param> /// <returns>The cache instance.</returns> public ICache CreateCache(string poolName) { ICache cache = new MemcachedCache(poolName); return cache; }
/// <summary> /// Creates an instance of <see cref="MemcachedCache"/> with the given /// pool name and compression setting. /// </summary> /// <param name="poolName">The pool name.</param> /// <param name="enableCompression">The compression setting.</param> /// <returns>The cache instance.</returns> public ICache CreateCache(string poolName, bool enableCompression) { ICache cache = new MemcachedCache(poolName, enableCompression); return cache; }
/// <summary> /// Creates an instance of <see cref="MemcachedCache"/> using the given pool name. /// </summary> /// <param name="poolName">The pool name.</param> /// <returns>The cache instance.</returns> public ICache CreateCache(string poolName) { ICache cache = new MemcachedCache(poolName); return(cache); }
/// <summary> /// Creates an instance of <see cref="MemcachedCache"/> using default settings. /// </summary> /// <returns>The cache instance.</returns> public ICache CreateCache() { ICache cache = new MemcachedCache(); return(cache); }
/// <summary> /// Creates an instance of <see cref="MemcachedCache"/> with the given /// pool name and compression setting. /// </summary> /// <param name="poolName">The pool name.</param> /// <param name="enableCompression">The compression setting.</param> /// <returns>The cache instance.</returns> public ICache CreateCache(string poolName, bool enableCompression) { ICache cache = new MemcachedCache(poolName, enableCompression); return(cache); }
/// <summary> /// Creates an instance of <see cref="MemcachedCache"/> with the given compression setting. /// </summary> /// <param name="enableCompression">The compression setting.</param> /// <returns>The cache instance.</returns> public ICache CreateCache(bool enableCompression) { ICache cache = new MemcachedCache(enableCompression); return(cache); }