Package com.dianping.cat.message.spi.core.WaterfallMessageCodec

Examples of com.dianping.cat.message.spi.core.WaterfallMessageCodec.Ruler


    checkRuler(3476, 7, 500);
    checkRuler(112819, 6, 20000);
  }

  private void checkRuler(int maxValue, int expectedUnitNum, int expectedUnitStep) {
    Ruler ruler = new Ruler(maxValue);

    Assert.assertEquals(String.format("[%s, %s, %s]", maxValue, expectedUnitNum, expectedUnitStep), ruler.toString());
  }
View Full Code Here

TOP

Related Classes of com.dianping.cat.message.spi.core.WaterfallMessageCodec.Ruler

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.