public interface SerializerFactory
Kryo
serializer discovers a new type for which no serializer is yet known. For example, when a factory is registered
via Kryo.setDefaultSerializer(SerializerFactory) a different serializer can be created dependent on the
type of a class.| Modifier and Type | Method and Description |
|---|---|
Serializer |
makeSerializer(Kryo kryo,
Class<?> type)
Creates a new serializer
|
Serializer makeSerializer(Kryo kryo, Class<?> type)
kryo - The serializer instance requesting the new serializer.type - The type of the object that is to be serialized.type.Copyright © 2015. All rights reserved.