Package com.netflix.zeno.testpojos

Examples of com.netflix.zeno.testpojos.TypeDSerializer


            public NFTypeSerializer<?>[] createSerializers() {
                return new NFTypeSerializer<?> [] {
                        new MapSerializer<TypeA, TypeA>(new TypeASerializer(), new TypeASerializer()),
                        new SetSerializer<TypeA>(new TypeASerializer()),
                        new ListSerializer<TypeA>(new TypeASerializer()),
                        new TypeDSerializer()
                };
            }
        });

        stateEngine.add("TypeA", new TypeA(0, 0)); // ordinal 0
View Full Code Here


    @Before
    public void setUp() throws Exception {
        typeDSerializerFactory = new SerializerFactory() {
            public NFTypeSerializer<?>[] createSerializers() {
                return new NFTypeSerializer<?>[] { new TypeDSerializer() };
            }
        };

        stateEngine = new FastBlobStateEngine(typeDSerializerFactory);
View Full Code Here

TOP

Related Classes of com.netflix.zeno.testpojos.TypeDSerializer

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.