Package com.dianping.cat.analysis.Configurator

Examples of com.dianping.cat.analysis.Configurator.MockAnalyzer3


    long lastThree = time - 3 * hour;

    MockAnalyzer1 analyzer0 = (MockAnalyzer1) manager.getAnalyzer("mock1", lastThree);
    MockAnalyzer1 analyzer1 = (MockAnalyzer1) manager.getAnalyzer("mock1", lastTwo);
    MockAnalyzer2 analyzer2 = (MockAnalyzer2) manager.getAnalyzer("mock2", last);
    MockAnalyzer3 analyzer3 = (MockAnalyzer3) manager.getAnalyzer("state", current);
   
    Assert.assertEquals(1, analyzer0.m_count);
    Assert.assertEquals(1, analyzer1.m_count);
    Assert.assertEquals(2, analyzer2.m_count);
    Assert.assertEquals(3, analyzer3.m_count);
View Full Code Here

TOP

Related Classes of com.dianping.cat.analysis.Configurator.MockAnalyzer3

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.