public abstract class AsyncSerializerWithStringManifest extends SerializerWithStringManifest implements AsyncSerializer
|Constructor and Description|
|Modifier and Type||Method and Description|
Produces an object from an array of bytes, with an optional type-hint.
Serializes the given object into an Array of Byte
fromBinary, identifier, includeManifest, manifest
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public AsyncSerializerWithStringManifest(ExtendedActorSystem system)
public final java.lang.Object fromBinary(byte bytes, java.lang.String manifest)
It's recommended to throw
if the manifest is unknown. This makes it possible to introduce new message
types and send them to nodes that don't know about them. This is typically
needed when performing rolling upgrades, i.e. running a cluster with mixed
versions for while.
NotSerializableException is treated as a transient
problem in the TCP based remoting layer. The problem will be logged
and message is dropped. Other exceptions will tear down the TCP connection
because it can be an indication of corrupt bytes from the underlying transport.
public final byte toBinary(java.lang.Object o)