Class KryoSerializer
java.lang.Object
org.eclipse.persistence.sessions.serializers.AbstractSerializer
org.eclipse.persistence.sessions.serializers.kryo.KryoSerializer
- All Implemented Interfaces:
Serializable
,Cloneable
,Serializer
Uses Kryo to serialize the object.
- See Also:
-
Constructor Summary
-
Method Summary
Methods inherited from class org.eclipse.persistence.sessions.serializers.AbstractSerializer
initialize
-
Constructor Details
-
KryoSerializer
public KryoSerializer()Default constructor.
-
-
Method Details
-
getType
- Specified by:
getType
in interfaceSerializer
- Overrides:
getType
in classAbstractSerializer
-
getKryo
Return an instance ofcom.esotericsoftware.kryo.Kryo
.- Returns:
- the instance of
com.esotericsoftware.kryo.Kryo
-
serialize
-
deserialize
-
toString
- Overrides:
toString
in classAbstractSerializer
-