Examples of ProtoStuffSerializerV1


Examples of org.apache.directmemory.serialization.protostuff.ProtoStuffSerializerV1

    @Test
    public void ProtostuffTest()
        throws IOException, ClassNotFoundException, InstantiationException, IllegalAccessException
    {
        testSerializer( "protostuff-old", new ProtoStuffSerializerV1(), Ram.Kb( 1 ), 20000 );
        testSerializer( "protostuff-old", new ProtoStuffSerializerV1(), Ram.Kb( 2 ), 20000 );
        testSerializer( "protostuff-old", new ProtoStuffSerializerV1(), Ram.Kb( 3 ), 20000 );
        testSerializer( "protostuff-old", new ProtoStuffSerializerV1(), Ram.Kb( 4 ), 20000 );
    }
View Full Code Here

Examples of org.directmemory.serialization.ProtoStuffSerializerV1

    logger.info("end deserialize " + serializer.getClass().toString() + "\r\n" + stopWatch2.toString());
  }
 
  @Test
  public void ProtostuffTest() throws IOException, ClassNotFoundException, InstantiationException, IllegalAccessException {
    testSerializer("protostuff-old", new ProtoStuffSerializerV1(), Ram.Kb(1), 20000);
    testSerializer("protostuff-old", new ProtoStuffSerializerV1(), Ram.Kb(2), 20000);
    testSerializer("protostuff-old", new ProtoStuffSerializerV1(), Ram.Kb(3), 20000);
    testSerializer("protostuff-old", new ProtoStuffSerializerV1(), Ram.Kb(4), 20000);
  }
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.