Examples of ProtoStuffWithLinkedBufferSerializer


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

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

Examples of org.directmemory.serialization.ProtoStuffWithLinkedBufferSerializer

    testSerializer("protostuff-old", new ProtoStuffSerializerV1(), Ram.Kb(3), 20000);
    testSerializer("protostuff-old", new ProtoStuffSerializerV1(), Ram.Kb(4), 20000);
  }
  @Test
  public void ProtostuffV2Test() throws IOException, ClassNotFoundException, InstantiationException, IllegalAccessException {
    testSerializer("protostuff-new", new ProtoStuffWithLinkedBufferSerializer(), Ram.Kb(1), 20000);
    testSerializer("protostuff-new", new ProtoStuffWithLinkedBufferSerializer(), Ram.Kb(2), 20000);
    testSerializer("protostuff-new", new ProtoStuffWithLinkedBufferSerializer(), Ram.Kb(3), 20000);
    testSerializer("protostuff-new", new ProtoStuffWithLinkedBufferSerializer(), Ram.Kb(4), 20000);
    testSerializer("cinquantamila", new ProtoStuffWithLinkedBufferSerializer(), Ram.Kb(3), 50000);
  }
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.