public abstract class SerializerInstance
extends java.lang.Object
It is legal to create multiple serialization / deserialization streams from the same SerializerInstance as long as those streams are all used within the same thread.
Constructor and Description |
---|
SerializerInstance() |
Modifier and Type | Method and Description |
---|---|
abstract <T> T |
deserialize(java.nio.ByteBuffer bytes,
java.lang.ClassLoader loader,
scala.reflect.ClassTag<T> evidence$3) |
abstract <T> T |
deserialize(java.nio.ByteBuffer bytes,
scala.reflect.ClassTag<T> evidence$2) |
abstract DeserializationStream |
deserializeStream(java.io.InputStream s) |
abstract <T> java.nio.ByteBuffer |
serialize(T t,
scala.reflect.ClassTag<T> evidence$1) |
abstract SerializationStream |
serializeStream(java.io.OutputStream s) |
public abstract <T> java.nio.ByteBuffer serialize(T t, scala.reflect.ClassTag<T> evidence$1)
public abstract <T> T deserialize(java.nio.ByteBuffer bytes, scala.reflect.ClassTag<T> evidence$2)
public abstract <T> T deserialize(java.nio.ByteBuffer bytes, java.lang.ClassLoader loader, scala.reflect.ClassTag<T> evidence$3)
public abstract SerializationStream serializeStream(java.io.OutputStream s)
public abstract DeserializationStream deserializeStream(java.io.InputStream s)