Example #1
0
        internal static uint GetDiscoveryMaxSearchQueueDepth(IRecipientSession recipientSession)
        {
            Unlimited <uint> discoveryMaxSearchQueueDepth = SearchUtils.GetDiscoveryThrottlingPolicy(recipientSession).DiscoveryMaxSearchQueueDepth;
            uint             result = discoveryMaxSearchQueueDepth.IsUnlimited ? uint.MaxValue : discoveryMaxSearchQueueDepth.Value;

            ExTraceGlobals.FaultInjectionTracer.TraceTest <uint>(2802199869U, ref result);
            return(result);
        }
Example #2
0
        internal static uint GetDiscoverySearchTimeoutPeriod(IRecipientSession recipientSession)
        {
            Unlimited <uint> discoverySearchTimeoutPeriod = SearchUtils.GetDiscoveryThrottlingPolicy(recipientSession).DiscoverySearchTimeoutPeriod;
            uint             result = discoverySearchTimeoutPeriod.IsUnlimited ? uint.MaxValue : discoverySearchTimeoutPeriod.Value;

            ExTraceGlobals.FaultInjectionTracer.TraceTest <uint>(3573951805U, ref result);
            return(result);
        }
Example #3
0
        internal static uint GetDiscoveryMaxKeywordsPerPage(IRecipientSession recipientSession)
        {
            Unlimited <uint> discoveryMaxKeywordsPerPage = SearchUtils.GetDiscoveryThrottlingPolicy(recipientSession).DiscoveryMaxKeywordsPerPage;
            uint             result = discoveryMaxKeywordsPerPage.IsUnlimited ? uint.MaxValue : discoveryMaxKeywordsPerPage.Value;

            ExTraceGlobals.FaultInjectionTracer.TraceTest <uint>(2516987197U, ref result);
            return(result);
        }
Example #4
0
        internal static uint GetDiscoveryMaxRefinerResults(IRecipientSession recipientSession)
        {
            Unlimited <uint> discoveryMaxRefinerResults = SearchUtils.GetDiscoveryThrottlingPolicy(recipientSession).DiscoveryMaxRefinerResults;
            uint             result = discoveryMaxRefinerResults.IsUnlimited ? uint.MaxValue : discoveryMaxRefinerResults.Value;

            ExTraceGlobals.FaultInjectionTracer.TraceTest <uint>(4127599933U, ref result);
            return(result);
        }
Example #5
0
        internal static uint GetDiscoveryPreviewSearchResultsPageSize(IRecipientSession recipientSession)
        {
            Unlimited <uint> discoveryPreviewSearchResultsPageSize = SearchUtils.GetDiscoveryThrottlingPolicy(recipientSession).DiscoveryPreviewSearchResultsPageSize;
            uint             result = discoveryPreviewSearchResultsPageSize.IsUnlimited ? uint.MaxValue : discoveryPreviewSearchResultsPageSize.Value;

            ExTraceGlobals.FaultInjectionTracer.TraceTest <uint>(3590729021U, ref result);
            return(result);
        }
Example #6
0
        internal static uint GetDiscoveryMaxMailboxesForStatsSearch(IRecipientSession recipientSession)
        {
            Unlimited <uint> discoveryMaxStatsSearchMailboxes = SearchUtils.GetDiscoveryThrottlingPolicy(recipientSession).DiscoveryMaxStatsSearchMailboxes;
            uint             result = discoveryMaxStatsSearchMailboxes.IsUnlimited ? uint.MaxValue : discoveryMaxStatsSearchMailboxes.Value;

            ExTraceGlobals.FaultInjectionTracer.TraceTest <uint>(2500209981U, ref result);
            return(result);
        }
Example #7
0
        internal static uint GetDiscoveryMaxConcurrency(IRecipientSession recipientSession)
        {
            Unlimited <uint> discoveryMaxConcurrency = SearchUtils.GetDiscoveryThrottlingPolicy(recipientSession).DiscoveryMaxConcurrency;
            uint             result = discoveryMaxConcurrency.IsUnlimited ? uint.MaxValue : discoveryMaxConcurrency.Value;

            ExTraceGlobals.FaultInjectionTracer.TraceTest <uint>(4047908157U, ref result);
            return(result);
        }
Example #8
0
        internal static uint GetDiscoveryMaxKeywords(IRecipientSession recipientSession)
        {
            Unlimited <uint> discoveryMaxKeywords = SearchUtils.GetDiscoveryThrottlingPolicy(recipientSession).DiscoveryMaxKeywords;
            uint             result = discoveryMaxKeywords.IsUnlimited ? uint.MaxValue : discoveryMaxKeywords.Value;

            ExTraceGlobals.FaultInjectionTracer.TraceTest <uint>(3511037245U, ref result);
            return(result);
        }
Example #9
0
        internal static uint GetDiscoveryMaxMailboxes(IRecipientSession recipientSession)
        {
            Unlimited <uint> unlimited = SearchUtils.GetDiscoveryThrottlingPolicy(recipientSession).DiscoveryMaxMailboxes.Value;
            uint             result    = unlimited.IsUnlimited ? uint.MaxValue : unlimited.Value;

            ExTraceGlobals.FaultInjectionTracer.TraceTest <uint>(2437295421U, ref result);
            return(result);
        }