Package com.dianping.cat.message.spi.codec

Examples of com.dianping.cat.message.spi.codec.PlainTextMessageCodec1.encode()


  public void testManyOld() throws InterruptedException {
    MessageTree tree = buildMessages();
    PlainTextMessageCodec1 codec = new PlainTextMessageCodec1();
    ChannelBuffer buf = ChannelBuffers.dynamicBuffer(8192);

    codec.encode(tree, buf);

    buf.readInt();
    buf.markReaderIndex();

    long current = System.currentTimeMillis();
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.