Beispiel #1
0
 // Token: 0x060006F7 RID: 1783 RVA: 0x00021940 File Offset: 0x0001FB40
 internal static void ReportRpcErrors(IEnumerable <KeyValuePair <AmServerName, Exception> > rpcErrors, AmBcsContext bcsContext)
 {
     foreach (KeyValuePair <AmServerName, Exception> keyValuePair in rpcErrors)
     {
         AmServerName key   = keyValuePair.Key;
         Exception    value = keyValuePair.Value;
         if (value != null)
         {
             bcsContext.ErrorLogger.ReportServerFailure(key, "CopyStatusRpcCheck", value.Message, ReplayCrimsonEvents.BcsDbSpecificNodeCopyStatusRpcFailed, new object[]
             {
                 bcsContext.GetDatabaseNameOrGuid(),
                 bcsContext.DatabaseGuid,
                 key,
                 value.Message
             });
         }
     }
 }
Beispiel #2
0
 public AmBestCopySelector(AmBcsContext bcsContext)
 {
     this.m_bcsContext = bcsContext;
 }