static private SharedCacheProvider ( ) : System.Collections.Concurrent | ||
return | System.Collections.Concurrent |
static SharedCacheProvider() {
var configs = ConfigurationManager.GetSection(SR.NodeSharedCache) as IList<SharedCacheConfig>;
if(configs == null)
return;
lock(_syncLock) {
if(log.IsInfoEnabled)
log.Info("SharedCacheProvider에서 환경 설정 정보를 읽어, 각 Region 별로 SharedCacheClient를 생성합니다...");
foreach(var config in configs)
_caches.Add(config.Region, new SharedCacheClient(config.Region, config.Properties));
}
}