|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectakka.persistence.serialization.SnapshotSerializer
public class SnapshotSerializer
Snapshot serializer.
| Constructor Summary | |
|---|---|
SnapshotSerializer(ExtendedActorSystem system)
|
|
| Method Summary | |
|---|---|
static boolean |
doPatch()
|
java.lang.Object |
fromBinary(byte[] bytes,
scala.Option<java.lang.Class<?>> manifest)
Deserializes a Snapshot. |
int |
identifier()
Completely unique value to identify this implementation of Serializer, used to optimize network traffic Values from 0 to 16 is reserved for Akka internal usage |
boolean |
includeManifest()
Returns whether this serializer needs a manifest in the fromBinary method |
static byte[] |
key()
|
static int |
offset()
|
static byte[] |
replacement()
|
byte[] |
toBinary(java.lang.Object o)
Serializes a Snapshot. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface akka.serialization.Serializer |
|---|
fromBinary, fromBinary |
| Constructor Detail |
|---|
public SnapshotSerializer(ExtendedActorSystem system)
| Method Detail |
|---|
public static byte[] key()
public static int offset()
public static byte[] replacement()
public static boolean doPatch()
public int identifier()
Serializer
identifier in interface Serializerpublic boolean includeManifest()
Serializer
includeManifest in interface Serializerpublic byte[] toBinary(java.lang.Object o)
Snapshot. Delegates serialization of snapshot data to a matching
akka.serialization.Serializer.
toBinary in interface Serializero - (undocumented)
public java.lang.Object fromBinary(byte[] bytes,
scala.Option<java.lang.Class<?>> manifest)
Snapshot. Delegates deserialization of snapshot data to a matching
akka.serialization.Serializer.
fromBinary in interface Serializerbytes - (undocumented)manifest - (undocumented)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||