public AggregatedOperationStatistics TakeStatisticsSnapshot(AggregatedOperationType type)
        {
            switch (type)
            {
            case AggregatedOperationType.ADCalls:
                return(this.TakeADStatisticsSnapshot());

            case AggregatedOperationType.StoreRPCs:
                return(this.TakeStoreRpcStatisticsSnapshot());

            case AggregatedOperationType.ADObjToExchObjLatency:
                return(this.TakeADObjToExchObjStatisticsSnapshot());

            default:
                throw new NotSupportedException("Unknown type: " + type);
            }
        }
Esempio n. 2
0
 public AggregatedOperationStatistics TakeStatisticsSnapshot(AggregatedOperationType type)
 {
     return(this.activityScopeImpl.TakeStatisticsSnapshot(type));
 }