// Token: 0x06001341 RID: 4929 RVA: 0x0004D5E4 File Offset: 0x0004B7E4
        protected virtual CopyStatusClientCachedEntry FetchCopyStatusFromRpc(Guid dbGuid, AmServerName server, ref Exception exception)
        {
            CopyStatusClientLookup.Tracer.TraceDebug <Guid, AmServerName>((long)this.GetHashCode(), "CopyStatusClientLookup.GetCopyStatus() for DB '{0}' to server '{1}': Performing a forced read through!", dbGuid, server);
            CopyStatusClientCachedEntry[] copyStatus = CopyStatusHelper.GetCopyStatus(server, RpcGetDatabaseCopyStatusFlags2.None, new Guid[]
            {
                dbGuid
            }, RegistryParameters.GetMailboxDatabaseCopyStatusRPCTimeoutInMSec, this.m_activeManager, out exception);
            CopyStatusClientCachedEntry copyStatusClientCachedEntry = copyStatus[0];

            if (this.m_cachingEnabled)
            {
                copyStatusClientCachedEntry = this.m_statusTable.AddCopyStatusCachedEntry(dbGuid, server, copyStatusClientCachedEntry);
            }
            return(copyStatusClientCachedEntry);
        }
예제 #2
0
 // Token: 0x06001351 RID: 4945 RVA: 0x0004DC80 File Offset: 0x0004BE80
 internal static CopyStatusClientCachedEntry[] GetCopyStatus(AmServerName amServer, RpcGetDatabaseCopyStatusFlags2 collectionFlags2, Guid[] dbGuids, int timeoutMs, ActiveManager activeManager, out Exception exception)
 {
     RpcHealthStateInfo[] array = null;
     return(CopyStatusHelper.GetCopyStatus(amServer, collectionFlags2, dbGuids, timeoutMs, activeManager, false, out array, out exception));
 }