Uses of Interface
com.esotericsoftware.kryo.SerializerFactory
-
Packages that use SerializerFactory Package Description com.esotericsoftware.kryo com.esotericsoftware.kryo.serializers com.esotericsoftware.kryo.util -
-
Uses of SerializerFactory in com.esotericsoftware.kryo
Classes in com.esotericsoftware.kryo that implement SerializerFactory Modifier and Type Class Description static class
SerializerFactory.BaseSerializerFactory<T extends Serializer>
A serializer factory which always returns true forSerializerFactory.BaseSerializerFactory.isSupported(Class)
.static class
SerializerFactory.CompatibleFieldSerializerFactory
A serializer factory that returns new, configuredCompatibleFieldSerializer
instances.static class
SerializerFactory.FieldSerializerFactory
A serializer factory that returns new, configuredFieldSerializer
instances.static class
SerializerFactory.ReflectionSerializerFactory<T extends Serializer>
This factory instantiates new serializers of a given class via reflection.static class
SerializerFactory.SingletonSerializerFactory<T extends Serializer>
A serializer factory that always returns a given serializer instance rather than creating new serializer instances.static class
SerializerFactory.TaggedFieldSerializerFactory
A serializer factory that returns new, configuredTaggedFieldSerializer
instances.static class
SerializerFactory.VersionFieldSerializerFactory
A serializer factory that returns new, configuredVersionFieldSerializer
instances.Methods in com.esotericsoftware.kryo that return types with arguments of type SerializerFactory Modifier and Type Method Description Class<? extends SerializerFactory>
serializerFactory()
The factory used to create the serializer.Methods in com.esotericsoftware.kryo with parameters of type SerializerFactory Modifier and Type Method Description void
Kryo. addDefaultSerializer(Class type, SerializerFactory serializerFactory)
Instances of the specified class will use the specified factory to create a serializer whenKryo.register(Class)
orKryo.register(Class, int)
are called.void
Kryo. setDefaultSerializer(SerializerFactory serializer)
Sets the serializer factory to use when nodefault serializers
match an object's type. -
Uses of SerializerFactory in com.esotericsoftware.kryo.serializers
Methods in com.esotericsoftware.kryo.serializers that return types with arguments of type SerializerFactory Modifier and Type Method Description Class<? extends SerializerFactory>
elementSerializerFactory()
The factory used to create the element serializer.Class<? extends SerializerFactory>
keySerializerFactory()
The factory used to create the key serializer.Class<? extends SerializerFactory>
serializerFactory()
The factory used to create the serializer.Class<? extends SerializerFactory>
valueSerializerFactory()
The factory used to create the value serializer. -
Uses of SerializerFactory in com.esotericsoftware.kryo.util
Methods in com.esotericsoftware.kryo.util with type parameters of type SerializerFactory Modifier and Type Method Description static <T extends SerializerFactory>
TUtil. newFactory(Class<T> factoryClass, Class<? extends Serializer> serializerClass)
-