protected internal override DataCache GetCache(IAppFabricCacheFactory cacheFactory) { if (log.IsDebugEnabled) { log.DebugFormat("Get Cache named {0}", RegionName); } return cacheFactory.GetCache(RegionName, !AppFabricProviderSettings.Settings.NamedCachesMustExist); }
protected internal override DataCache GetCache(IAppFabricCacheFactory cacheFactory) { if (log.IsDebugEnabled) { log.DebugFormat("Get Cache named {0}", RegionName); } return cacheFactory.GetCache(AppFabricProviderSettings.Settings.RegionCacheTypeCacheName, true); }
/// <summary> /// Gets a data cache [client] for this adapter. /// </summary> /// <param name="cacheFactory">A cache factory used for creating data cache [clients].</param> /// <returns>A data cache [client].</returns> protected internal abstract DataCache GetCache(IAppFabricCacheFactory cacheFactory);
protected internal override DataCache GetCache(IAppFabricCacheFactory cacheFactory) { return(cacheFactory.GetCache(AppFabricProviderSettings.Settings.RegionCacheTypeCacheName, true)); }
protected internal override DataCache GetCache(IAppFabricCacheFactory cacheFactory) { return(cacheFactory.GetCache(RegionName, !AppFabricProviderSettings.Settings.NamedCachesMustExist)); }
/// <summary> /// Gets a data cache [client] for this adapter. /// </summary> /// <param name="cacheFactory">A cache factory used for creating data cache [clients].</param> /// <returns>A data cache [client].</returns> protected internal abstract DataCache GetCache(IAppFabricCacheFactory cacheFactory);
protected internal override DataCache GetCache(IAppFabricCacheFactory cacheFactory) { return cacheFactory.GetCache(AppFabricProviderSettings.Settings.RegionCacheTypeCacheName, true); }