SessionStatistics IMailbox.GetSessionStatistics(SessionStatisticsFlags statisticsTypes) { if (statisticsTypes.HasFlag(SessionStatisticsFlags.ContentIndexingWordBreaking) && this.StoreSession != null) { SessionStatistics sessionStatistics = new SessionStatistics(); ContentIndexingSession contentIndexingSession = this.StoreSession.ContentIndexingSession as ContentIndexingSession; if (contentIndexingSession != null && contentIndexingSession.Statistics != null) { TransportFlowStatistics statistics = contentIndexingSession.Statistics; sessionStatistics.TotalMessagesProcessed = statistics.TotalMessagesProcessed; sessionStatistics.TotalTimeProcessingMessages = statistics.TotalTimeProcessingMessages; sessionStatistics.TimeInGetConnection = statistics.TimeInGetConnection; sessionStatistics.TimeInPropertyBagLoad = statistics.TimeInPropertyBagLoad; sessionStatistics.TimeInMessageItemConversion = statistics.TimeInMessageItemConversion; sessionStatistics.TimeDeterminingAgeOfItem = statistics.TimeDeterminingAgeOfItem; sessionStatistics.TimeInMimeConversion = statistics.TimeInMimeConversion; sessionStatistics.TimeInShouldAnnotateMessage = statistics.TimeInShouldAnnotateMessage; sessionStatistics.TimeInWordbreaker = statistics.TimeInWordbreaker; sessionStatistics.TimeInQueue = statistics.TimeInQueue; sessionStatistics.TimeProcessingFailedMessages = statistics.TimeProcessingFailedMessages; sessionStatistics.TimeInTransportRetriever = statistics.TimeInTransportRetriever; sessionStatistics.TimeInDocParser = statistics.TimeInDocParser; sessionStatistics.TimeInNLGSubflow = statistics.TimeInNLGSubflow; sessionStatistics.MessageLevelFailures = statistics.MessageLevelFailures; sessionStatistics.MessagesSuccessfullyAnnotated = statistics.MessagesSuccessfullyAnnotated; sessionStatistics.AnnotationSkipped = statistics.AnnotationSkipped; sessionStatistics.ConnectionLevelFailures = statistics.ConnectionLevelFailures; } return(sessionStatistics); } return(null); }
SessionStatistics IMailbox.GetSessionStatistics(SessionStatisticsFlags statisticsTypes) { MrsTracer.ProxyClient.Function("RemoteMailbox.GetSessionStatistics()", new object[0]); if (!base.ServerVersion[31]) { return(new SessionStatistics()); } return(base.MrsProxy.IMailbox_GetSessionStatistics(base.Handle, (int)statisticsTypes)); }
SessionStatistics IMailbox.GetSessionStatistics(SessionStatisticsFlags statisticsTypes) { SessionStatistics result = null; base.CreateContext("IDestinationMailbox.GetSessionStatistics", new DataContext[0]).Execute(delegate { result = this.WrappedObject.GetSessionStatistics(statisticsTypes); }, true); return(result); }
SessionStatistics IMailbox.GetSessionStatistics(SessionStatisticsFlags statisticsTypes) { return(new SessionStatistics()); }
SessionStatistics IMailbox.GetSessionStatistics(SessionStatisticsFlags statisticsTypes) { throw new NotImplementedException(); }