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 Serializer
SerializerFactory.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) void
abstract T
Reads bytes and returns a new object of the specified concrete type.void
Serializer.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.void
Sets the Kryo instance that this ClassResolver will be used for.void
Sets the Kryo instance that this ClassResolver will be used for.void
abstract void
Writes 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 Kryo
KryoObjectInput.kryo
private final Kryo
KryoObjectOutput.kryo
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
Fields in com.esotericsoftware.kryo.pool with type parameters of type KryoModifier and TypeFieldDescriptionprivate Queue
<SoftReference<Kryo>> SoftReferenceQueue.delegate
KryoPool.Builder.queue
KryoPoolQueueImpl.queue
Methods in com.esotericsoftware.kryo.pool that return KryoModifier and TypeMethodDescriptionKryoPool.borrow()
Takes aKryo
instance 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 TypeMethodDescriptionboolean
boolean
void
Returns the givenKryo
instance to the pool.void
Method parameters in com.esotericsoftware.kryo.pool with type arguments of type KryoModifier and TypeMethodDescriptionboolean
SoftReferenceQueue.addAll
(Collection<? extends Kryo> c) Use the given queue for pooling kryo instances (by default aConcurrentLinkedQueue
is 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 Kryo
FieldSerializer.kryo
private Kryo
FieldSerializerGenericsUtil.kryo
(package private) final Kryo
ObjectField.kryo
Methods in com.esotericsoftware.kryo.serializers that return KryoMethods in com.esotericsoftware.kryo.serializers with parameters of type KryoModifier and TypeMethodDescriptionstatic void
OptionalSerializers.addDefaultSerializers
(Kryo kryo) static void
TimeSerializers.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 Collection
CollectionSerializer.create
(Kryo kryo, Input input, Class<Collection> type) Used byCollectionSerializer.read(Kryo, Input, Class)
to create the new object.private Date
protected Map
protected TreeSet
DefaultSerializers.TreeSetSerializer.create
(Kryo kryo, Input input, Class<Collection> type) protected T
Used byFieldSerializer.read(Kryo, Input, Class)
to create the new object.protected Map
Used byMapSerializer.read(Kryo, Input, Class)
to create the new object.protected Collection
CollectionSerializer.createCopy
(Kryo kryo, Collection original) Used byCollectionSerializer.copy(Kryo, Collection)
to create the new object.protected Map
DefaultSerializers.TreeMapSerializer.createCopy
(Kryo kryo, Map original) protected TreeSet
DefaultSerializers.TreeSetSerializer.createCopy
(Kryo kryo, Collection original) protected T
FieldSerializer.createCopy
(Kryo kryo, T original) Used byFieldSerializer.copy(Kryo, Object)
to create the new object.protected Map
MapSerializer.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 ObjectInput
ExternalizableSerializer.getObjectInput
(Kryo kryo, Input input) private ObjectOutput
ExternalizableSerializer.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 Object
ExternalizableSerializer.readExternal
(Kryo kryo, Input input, Class type) void
CollectionSerializer.setGenerics
(Kryo kryo, Class[] generics) void
DefaultArraySerializers.ObjectArraySerializer.setGenerics
(Kryo kryo, Class[] generics) void
FieldSerializer.setGenerics
(Kryo kryo, Class[] generics) void
MapSerializer.setGenerics
(Kryo kryo, Class[] generics) void
void
void
void
CollectionSerializer.write
(Kryo kryo, Output output, Collection collection) void
void
void
void
void
void
void
void
void
void
void
void
DefaultSerializers.BigDecimalSerializer.write
(Kryo kryo, Output output, BigDecimal object) void
DefaultSerializers.BigIntegerSerializer.write
(Kryo kryo, Output output, BigInteger object) void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
DefaultSerializers.KryoSerializableSerializer.write
(Kryo kryo, Output output, KryoSerializable object) void
void
void
void
DefaultSerializers.StringBufferSerializer.write
(Kryo kryo, Output output, StringBuffer object) void
DefaultSerializers.StringBuilderSerializer.write
(Kryo kryo, Output output, StringBuilder object) void
void
void
void
DefaultSerializers.TreeSetSerializer.write
(Kryo kryo, Output output, Collection collection) void
void
void
void
void
void
This method can be called for different fields having the same type.void
void
void
OptionalSerializers.OptionalDoubleSerializer.write
(Kryo kryo, Output output, OptionalDouble object) void
OptionalSerializers.OptionalIntSerializer.write
(Kryo kryo, Output output, OptionalInt object) void
OptionalSerializers.OptionalLongSerializer.write
(Kryo kryo, Output output, OptionalLong object) void
void
void
void
void
void
TimeSerializers.LocalDateTimeSerializer.write
(Kryo kryo, Output out, LocalDateTime dateTime) void
void
void
TimeSerializers.OffsetDateTimeSerializer.write
(Kryo kryo, Output out, OffsetDateTime obj) void
TimeSerializers.OffsetTimeSerializer.write
(Kryo kryo, Output out, OffsetTime obj) void
void
void
void
TimeSerializers.ZonedDateTimeSerializer.write
(Kryo kryo, Output out, ZonedDateTime obj) void
void
TimeSerializers.ZoneOffsetSerializer.write
(Kryo kryo, Output out, ZoneOffset obj) void
private void
ExternalizableSerializer.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 Kryo
DefaultClassResolver.kryo
protected Kryo
ListReferenceResolver.kryo
protected Kryo
MapReferenceResolver.kryo
Methods in com.esotericsoftware.kryo.util with parameters of type Kryo