Class EntityKryoSerializer


  • public class EntityKryoSerializer
    extends com.esotericsoftware.kryo.Serializer<Entity>
    An EntityKryoSerializer is a Kryo Serializer for a Gaffer Entity
    • Constructor Detail

      • EntityKryoSerializer

        public EntityKryoSerializer()
    • Method Detail

      • write

        public void write​(com.esotericsoftware.kryo.Kryo kryo,
                          com.esotericsoftware.kryo.io.Output output,
                          Entity entity)
        Specified by:
        write in class com.esotericsoftware.kryo.Serializer<Entity>
      • read

        public Entity read​(com.esotericsoftware.kryo.Kryo kryo,
                           com.esotericsoftware.kryo.io.Input input,
                           Class<Entity> type)
        Specified by:
        read in class com.esotericsoftware.kryo.Serializer<Entity>