コード例 #1
0
 //can have multile instance with diffferent menuTitle.
 public AGLatencySummaryPage(string replicaId, string menuTitle, string groupTitle)
 {
     title     = menuTitle;
     replica   = replicaId;
     this.page = new PageTemplate.HtmlPageOutput("Summary", "AG Latency");
     InitHtmlPage();
 }
コード例 #2
0
 //can have multile instance with diffferent menuTitle.
 public TranProcessingTimePage(Replica r, int db, List <Latency.TranProcessingTime_Sec> l, string menuTitle, string groupTitle)
 {
     title     = menuTitle;
     repl      = r;
     this.dbid = db;
     this.page = new PageTemplate.HtmlPageOutput(menuTitle, groupTitle);
     InitHtmlPage();
     list = l;
 }
コード例 #3
0
 //can have multile instance with diffferent menuTitle.
 public LogBlockLocalHarden(Replica r, int db, List <Latency.LogBlockFlush_Sec> l, string menuTitle, string groupTitle)
 {
     title     = menuTitle;
     repl      = r;
     this.dbid = db;
     this.page = new PageTemplate.HtmlPageOutput(menuTitle, groupTitle);
     InitHtmlPage();
     list = l;
 }
コード例 #4
0
 //can have multile instance with diffferent menuTitle.
 public LogCapturePrimaryPage(string replicaStr, List <Latency.LogCapture_Sec> l, string menuTitle, string groupTitle)
 {
     title        = menuTitle;
     this.replica = replicaStr;
     this.page    = new PageTemplate.HtmlPageOutput("Replica (" + this.replica.Substring(0, 8) + "...)",
                                                    "Log Capture");
     InitHtmlPage();
     list = l;
 }
コード例 #5
0
        Int32 order = 0;//use to know the order of the chart
        public ProcessingTimePageTemplate(List <Latency.EventRecord_Sec> l, string menuTitle, string groupTitle, string chart, int ordr)
        {
            title = menuTitle;

            this.page = new PageTemplate.HtmlPageOutput(menuTitle, groupTitle);
            InitHtmlPage();
            list      = l;
            chartName = chart;
            order     = ordr;
        }
コード例 #6
0
        //can have multile instance with diffferent menuTitle.
        public NetworkLatencyPage(string replicaStr, List <Latency.LogBlockNetLatency_Sec> l, string menuTitle, string groupTitle)
        {
            title        = menuTitle;
            this.replica = replicaStr;
            string grpTitle = "Network";
            string mTitle   = "Primary->Secondary";

            this.page = new PageTemplate.HtmlPageOutput(mTitle, grpTitle);
            InitHtmlPage();
            list = l;
        }
コード例 #7
0
        //can have multile instance with diffferent menuTitle.
        public DBFlowControlPage(string replicaStr, List <Latency.FlowControl_Sec> l, string menuTitle, string groupTitle, string DBReplica)
        {
            title        = menuTitle;
            this.replica = replicaStr;
            string db = DBReplica.Substring(0, 8);

            dbReplica = DBReplica;
            this.page = new PageTemplate.HtmlPageOutput("DB (" + db + "...)", groupTitle);
            InitHtmlPage();
            list = l;
        }