示例#1
0
 private void GetAndAccumulateClientProfileReport(string cacheName, ClientUsage clientUsage)
 {
     {
         try
         {
             var clientProfile = _cacheServer.GetClientProfileReport(cacheName);
             if (clientProfile != null && !hasDefaultValues(clientProfile))
             {
                 clientUsage.UpdateClientUsageProfile(clientProfile);
             }
         }
         catch (Exception ex)
         {
             if (NCacheServiceLogger.Logger != null)
             {
                 NCacheServiceLogger.Logger.Error("GetAndAccumulateCacheFeatureReport", ex.ToString());
             }
         }
     }
 }