public class KryoSerializer extends AbstractSerializer
Constructor and Description |
---|
KryoSerializer() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
deserialize(java.lang.Object bytes,
Session session) |
java.lang.Object |
getKryo() |
java.lang.Class |
getType() |
java.lang.Object |
serialize(java.lang.Object object,
Session session) |
java.lang.String |
toString() |
initialize
public java.lang.Class getType()
getType
in interface Serializer
getType
in class AbstractSerializer
public java.lang.Object getKryo()
public java.lang.Object serialize(java.lang.Object object, Session session)
public java.lang.Object deserialize(java.lang.Object bytes, Session session)
public java.lang.String toString()
toString
in class AbstractSerializer