Uses of Class
com.esotericsoftware.kryo.Kryo
Packages that use Kryo
Package
Description
-
Uses of Kryo in com.esotericsoftware.kryo
Methods in com.esotericsoftware.kryo with parameters of type KryoModifier and TypeMethodDescriptionReturns a copy that has the same values as this object.Returns a copy of the specified object.SerializerFactory.FieldSerializerFactory.newSerializer(Kryo kryo, Class<?> type) SerializerFactory.newSerializer(Kryo kryo, Class<?> type) Creates a new serializerSerializerFactory.ReflectionSerializerFactory.newSerializer(Kryo kryo, Class<?> type) static SerializerSerializerFactory.ReflectionSerializerFactory.newSerializer(Kryo kryo, Class<? extends Serializer> serializerClass, Class<?> type) Creates a new instance of the specified serializer for serializing the specified class.SerializerFactory.SingletonSerializerFactory.newSerializer(Kryo kryo, Class<?> type) SerializerFactory.TaggedFieldSerializerFactory.newSerializer(Kryo kryo, Class<?> type) voidabstract TReads bytes and returns a new object of the specified concrete type.voidSerializer.setGenerics(Kryo kryo, Class[] generics) Sets the generic types of the field or method this serializer will be used for on the next call to read or write.voidSets the Kryo instance that this ClassResolver will be used for.voidSets the Kryo instance that this ClassResolver will be used for.voidabstract voidWrites the bytes for the object to the output. -
Uses of Kryo in com.esotericsoftware.kryo.io
Constructors in com.esotericsoftware.kryo.io with parameters of type KryoModifierConstructorDescriptionKryoObjectInput(Kryo kryo, Input in) KryoObjectOutput(Kryo kryo, Output output) -
Uses of Kryo in com.esotericsoftware.kryo.pool
Methods in com.esotericsoftware.kryo.pool that return KryoModifier and TypeMethodDescriptionKryoPool.borrow()Takes aKryoinstance from the pool or creates a new one (using the factory) if the pool is empty.KryoFactory.create()Methods in com.esotericsoftware.kryo.pool with parameters of type KryoMethod parameters in com.esotericsoftware.kryo.pool with type arguments of type KryoModifier and TypeMethodDescriptionUse the given queue for pooling kryo instances (by default aConcurrentLinkedQueueis used). -
Uses of Kryo in com.esotericsoftware.kryo.serializers
Methods in com.esotericsoftware.kryo.serializers that return KryoMethods in com.esotericsoftware.kryo.serializers with parameters of type KryoModifier and TypeMethodDescriptionstatic voidOptionalSerializers.addDefaultSerializers(Kryo kryo) static voidTimeSerializers.addDefaultSerializers(Kryo kryo) CollectionSerializer.copy(Kryo kryo, Collection original) boolean[]byte[]char[]double[]float[]int[]long[]Object[]short[]String[]DefaultSerializers.StringBufferSerializer.copy(Kryo kryo, StringBuffer original) DefaultSerializers.StringBuilderSerializer.copy(Kryo kryo, StringBuilder original) protected CollectionCollectionSerializer.create(Kryo kryo, Input input, Class<Collection> type) Used byCollectionSerializer.read(Kryo, Input, Class)to create the new object.protected Mapprotected TreeSetDefaultSerializers.TreeSetSerializer.create(Kryo kryo, Input input, Class<Collection> type) protected TUsed byFieldSerializer.read(Kryo, Input, Class)to create the new object.protected MapUsed byMapSerializer.read(Kryo, Input, Class)to create the new object.protected CollectionCollectionSerializer.createCopy(Kryo kryo, Collection original) Used byCollectionSerializer.copy(Kryo, Collection)to create the new object.protected MapDefaultSerializers.TreeMapSerializer.createCopy(Kryo kryo, Map original) protected TreeSetDefaultSerializers.TreeSetSerializer.createCopy(Kryo kryo, Collection original) protected TFieldSerializer.createCopy(Kryo kryo, T original) Used byFieldSerializer.copy(Kryo, Object)to create the new object.protected MapMapSerializer.createCopy(Kryo kryo, Map original) CollectionSerializer.read(Kryo kryo, Input input, Class<Collection> type) boolean[]byte[]char[]double[]float[]int[]long[]Object[]short[]String[]DefaultSerializers.BigDecimalSerializer.read(Kryo kryo, Input input, Class<BigDecimal> type) DefaultSerializers.BigIntegerSerializer.read(Kryo kryo, Input input, Class<BigInteger> type) DefaultSerializers.KryoSerializableSerializer.read(Kryo kryo, Input input, Class<KryoSerializable> type) DefaultSerializers.StringBufferSerializer.read(Kryo kryo, Input input, Class<StringBuffer> type) DefaultSerializers.StringBuilderSerializer.read(Kryo kryo, Input input, Class<StringBuilder> type) voidCollectionSerializer.setGenerics(Kryo kryo, Class[] generics) voidDefaultArraySerializers.ObjectArraySerializer.setGenerics(Kryo kryo, Class[] generics) voidFieldSerializer.setGenerics(Kryo kryo, Class[] generics) voidMapSerializer.setGenerics(Kryo kryo, Class[] generics) voidvoidvoidvoidCollectionSerializer.write(Kryo kryo, Output output, Collection collection) voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidDefaultSerializers.BigDecimalSerializer.write(Kryo kryo, Output output, BigDecimal object) voidDefaultSerializers.BigIntegerSerializer.write(Kryo kryo, Output output, BigInteger object) voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidDefaultSerializers.KryoSerializableSerializer.write(Kryo kryo, Output output, KryoSerializable object) voidvoidvoidvoidDefaultSerializers.StringBufferSerializer.write(Kryo kryo, Output output, StringBuffer object) voidDefaultSerializers.StringBuilderSerializer.write(Kryo kryo, Output output, StringBuilder object) voidvoidvoidvoidDefaultSerializers.TreeSetSerializer.write(Kryo kryo, Output output, Collection collection) voidvoidvoidvoidvoidvoidThis method can be called for different fields having the same type.voidvoidvoidvoidConstructors in com.esotericsoftware.kryo.serializers with parameters of type KryoModifierConstructorDescriptionBeanSerializer(Kryo kryo, Class type) CompatibleFieldSerializer(Kryo kryo, Class type) CompatibleFieldSerializer(Kryo kryo, Class type, FieldSerializerConfig config) EnumNameSerializer(Kryo kryo, Class<? extends Enum> type) FieldSerializer(Kryo kryo, Class type) FieldSerializer(Kryo kryo, Class type, Class[] generics) FieldSerializer(Kryo kryo, Class type, Class[] generics, C config) ObjectArraySerializer(Kryo kryo, Class type) TaggedFieldSerializer(Kryo kryo, Class type) TaggedFieldSerializer(Kryo kryo, Class type, TaggedFieldSerializerConfig config) VersionFieldSerializer(Kryo kryo, Class type) VersionFieldSerializer(Kryo kryo, Class type, boolean compatible) -
Uses of Kryo in com.esotericsoftware.kryo.util
Fields in com.esotericsoftware.kryo.util declared as KryoModifier and TypeFieldDescriptionprotected KryoDefaultClassResolver.kryoprotected KryoListReferenceResolver.kryoprotected KryoMapReferenceResolver.kryoMethods in com.esotericsoftware.kryo.util with parameters of type Kryo