private void Initialize()
 {
     this.MaxCacheSize      = GlobalSettings.MailboxSessionCacheMaxSize;
     this.CacheTimeout      = GlobalSettings.MailboxSessionCacheTimeout.ToString();
     this.CacheEfficiency   = MailboxSessionCache.GetCacheEfficiency().ToString("P2");
     this.DiscardedSessions = MailboxSessionCache.DiscardedSessions;
 }
Exemple #2
0
 // Token: 0x060006B0 RID: 1712 RVA: 0x00025C8F File Offset: 0x00023E8F
 internal override EasMailboxSessionCacheResult GetExchangeDiagnosticsInfoData(DiagnosableParameters argument)
 {
     if (argument.Argument.ToLower() == "dumpcache")
     {
         return(new EasMailboxSessionCacheResult(MailboxSessionCache.GetCacheEntries()));
     }
     return(new EasMailboxSessionCacheResult(MailboxSessionCache.Count));
 }