Package com.dianping.cat.consumer

Examples of com.dianping.cat.consumer.MockLog


    Assert.assertEquals(2, pDomains.size());
    Map<String, ProductLine> productLines = manager.queryAllProductLines();

    Assert.assertEquals(3, productLines.size());

    manager.enableLogging(new MockLog());
    manager.refreshProductLineConfig();
    productLines = manager.queryAllProductLines();
    Assert.assertEquals(1, productLines.size());
  }
View Full Code Here


    int size = 1000;
    MockLocalMessageBucketManager bucketManager = new MockLocalMessageBucketManager();

    analyzer.setServerStateManager(new ServerStatisticManager());
    analyzer.setBucketManager(bucketManager);
    analyzer.enableLogging(new MockLog());

    for (int i = 0; i < size; i++) {
      analyzer.process(generateMessageTree(i));
    }
View Full Code Here

TOP

Related Classes of com.dianping.cat.consumer.MockLog

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.