Package com.nokia.dempsy.serialization.kryo

Examples of com.nokia.dempsy.serialization.kryo.KryoOptimizer


      KryoSerializer<Object> serR = new KryoSerializer<Object>(defaultMock3Optimizer,new Registration(MockClass.class.getName(),10));
      KryoSerializer<Object> serRR = new KryoSerializer<Object>(defaultMock3Optimizer,new Registration(MockClass.class.getName(),10),new Registration(Mock3.class.getName(), 11));
      KryoSerializer<Object> serRROb = new KryoSerializer<Object>(defaultMock3Optimizer,new Registration(MockClass.class.getName()),new Registration(Mock3.class.getName()));
      KryoSerializer<Object> serRRO  = new KryoSerializer<Object>(new Registration(MockClass.class.getName(),10),
            new Registration(Mock3.class.getName(), 11), new Registration(UUID.class.getName(),12));
      serRRO.setKryoOptimizer(new KryoOptimizer()
      {
         @Override
         public void preRegister(Kryo kryo)
         {
            kryo.setRegistrationRequired(true);
View Full Code Here

TOP

Related Classes of com.nokia.dempsy.serialization.kryo.KryoOptimizer

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.