public final class CrdtSerializer
extends akka.serialization.SerializerWithStringManifest
implements akka.serialization.BaseSerializer
| Constructor and Description |
|---|
CrdtSerializer(akka.actor.ExtendedActorSystem system) |
| Modifier and Type | Method and Description |
|---|---|
Counter |
counterFromBinary(byte[] bytes) |
byte[] |
counterToProtoByteArray(Counter counter) |
Counter.Updated |
counterUpdatedFromBinary(byte[] bytes) |
byte[] |
counterUpdatedToProtoBufByteArray(Counter.Updated updated) |
java.lang.Object |
fromBinary(byte[] bytes,
java.lang.String manifest) |
java.lang.String |
manifest(java.lang.Object o) |
ORSet<java.lang.Object> |
orsetFromBinary(byte[] bytes) |
ORSet<java.lang.Object> |
orsetFromProto(Crdts.ORSet orset) |
Crdts.ORSet |
orsetToProto(ORSet<?> orset) |
akka.actor.ExtendedActorSystem |
system() |
byte[] |
toBinary(java.lang.Object o) |
VersionVector |
versionVectorFromBinary(byte[] bytes) |
VersionVector |
versionVectorFromProto(Crdts.VersionVector versionVector) |
Crdts.VersionVector |
versionVectorToProto(VersionVector versionVector) |
fromBinary, fromBinary, fromBinary, identifier, includeManifestclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic Counter counterFromBinary(byte[] bytes)
public byte[] counterToProtoByteArray(Counter counter)
public Counter.Updated counterUpdatedFromBinary(byte[] bytes)
public byte[] counterUpdatedToProtoBufByteArray(Counter.Updated updated)
public java.lang.Object fromBinary(byte[] bytes,
java.lang.String manifest)
fromBinary in class akka.serialization.SerializerWithStringManifestpublic java.lang.String manifest(java.lang.Object o)
manifest in class akka.serialization.SerializerWithStringManifestpublic ORSet<java.lang.Object> orsetFromBinary(byte[] bytes)
public ORSet<java.lang.Object> orsetFromProto(Crdts.ORSet orset)
public Crdts.ORSet orsetToProto(ORSet<?> orset)
public akka.actor.ExtendedActorSystem system()
system in interface akka.serialization.BaseSerializerpublic byte[] toBinary(java.lang.Object o)
toBinary in interface akka.serialization.SerializertoBinary in class akka.serialization.SerializerWithStringManifestpublic VersionVector versionVectorFromBinary(byte[] bytes)
public VersionVector versionVectorFromProto(Crdts.VersionVector versionVector)
public Crdts.VersionVector versionVectorToProto(VersionVector versionVector)