Class AbstractKryoFactory

    • Constructor Detail

      • AbstractKryoFactory

        public AbstractKryoFactory()
    • Method Detail

      • registerClass

        public void registerClass​(Class clazz)
        only supposed to be called at startup time

        later may consider adding support for custom serializer, custom id, etc

      • create

        public com.esotericsoftware.kryo.Kryo create()
        Specified by:
        create in interface com.esotericsoftware.kryo.pool.KryoFactory
      • setRegistrationRequired

        public void setRegistrationRequired​(boolean registrationRequired)
      • returnKryo

        public abstract void returnKryo​(com.esotericsoftware.kryo.Kryo kryo)
      • getKryo

        public abstract com.esotericsoftware.kryo.Kryo getKryo()