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
Fields in com.esotericsoftware.kryo.io declared as KryoModifier and TypeFieldDescriptionprivate final KryoKryoObjectInput.kryoprivate final KryoKryoObjectOutput.kryoConstructors 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
Classes in com.esotericsoftware.kryo.pool that implement interfaces with type arguments of type KryoModifier and TypeClassDescription(package private) classInternally usesSoftReferences for queued Kryo instances, most importantly adjusts thepollbehavior so that GC'ed Kryo instances are skipped.Fields in com.esotericsoftware.kryo.pool with type parameters of type KryoModifier and TypeFieldDescriptionprivate Queue<SoftReference<Kryo>> SoftReferenceQueue.delegateKryoPool.Builder.queueKryoPoolQueueImpl.queueMethods 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.KryoPoolQueueImpl.borrow()KryoFactory.create()SoftReferenceQueue.element()SoftReferenceQueue.peek()SoftReferenceQueue.poll()SoftReferenceQueue.remove()Methods in com.esotericsoftware.kryo.pool that return types with arguments of type KryoMethods in com.esotericsoftware.kryo.pool with parameters of type KryoModifier and TypeMethodDescriptionbooleanbooleanvoidReturns the givenKryoinstance to the pool.voidMethod parameters in com.esotericsoftware.kryo.pool with type arguments of type KryoModifier and TypeMethodDescriptionbooleanSoftReferenceQueue.addAll(Collection<? extends Kryo> c) Use the given queue for pooling kryo instances (by default aConcurrentLinkedQueueis used).Constructor parameters in com.esotericsoftware.kryo.pool with type arguments of type KryoModifierConstructorDescription(package private)KryoPoolQueueImpl(KryoFactory factory, Queue<Kryo> queue) -
Uses of Kryo in com.esotericsoftware.kryo.serializers
Fields in com.esotericsoftware.kryo.serializers declared as KryoModifier and TypeFieldDescription(package private) final KryoFieldSerializer.kryoprivate KryoFieldSerializerGenericsUtil.kryo(package private) final KryoObjectField.kryoMethods 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.private Dateprotected 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) static Class[]FieldSerializerGenericsUtil.getGenerics(Type genericType, Kryo kryo) Returns the first level of classes or interfaces for a generic type.private ObjectInputExternalizableSerializer.getObjectInput(Kryo kryo, Input input) private ObjectOutputExternalizableSerializer.getObjectOutput(Kryo kryo, Output output) 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) OptionalSerializers.OptionalDoubleSerializer.read(Kryo kryo, Input input, Class<OptionalDouble> type) OptionalSerializers.OptionalIntSerializer.read(Kryo kryo, Input input, Class<OptionalInt> type) OptionalSerializers.OptionalLongSerializer.read(Kryo kryo, Input input, Class<OptionalLong> type) TimeSerializers.LocalDateTimeSerializer.read(Kryo kryo, Input in, Class<LocalDateTime> type) TimeSerializers.OffsetDateTimeSerializer.read(Kryo kryo, Input in, Class<OffsetDateTime> type) TimeSerializers.OffsetTimeSerializer.read(Kryo kryo, Input in, Class<OffsetTime> type) TimeSerializers.ZonedDateTimeSerializer.read(Kryo kryo, Input in, Class<ZonedDateTime> type) TimeSerializers.ZoneOffsetSerializer.read(Kryo kryo, Input in, Class<ZoneOffset> type) private ObjectExternalizableSerializer.readExternal(Kryo kryo, Input input, Class 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.voidvoidvoidOptionalSerializers.OptionalDoubleSerializer.write(Kryo kryo, Output output, OptionalDouble object) voidOptionalSerializers.OptionalIntSerializer.write(Kryo kryo, Output output, OptionalInt object) voidOptionalSerializers.OptionalLongSerializer.write(Kryo kryo, Output output, OptionalLong object) voidvoidvoidvoidvoidvoidTimeSerializers.LocalDateTimeSerializer.write(Kryo kryo, Output out, LocalDateTime dateTime) voidvoidvoidTimeSerializers.OffsetDateTimeSerializer.write(Kryo kryo, Output out, OffsetDateTime obj) voidTimeSerializers.OffsetTimeSerializer.write(Kryo kryo, Output out, OffsetTime obj) voidvoidvoidvoidTimeSerializers.ZonedDateTimeSerializer.write(Kryo kryo, Output out, ZonedDateTime obj) voidvoidTimeSerializers.ZoneOffsetSerializer.write(Kryo kryo, Output out, ZoneOffset obj) voidprivate voidExternalizableSerializer.writeExternal(Kryo kryo, Output output, Object object) Constructors 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) (package private)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