public class WithDataSubjectIdSerialization
extends java.lang.Object
WithDataSubjectId inside other serializers.
Useful when different parts of the event or snapshot are associated with different subjects.| Constructor and Description |
|---|
WithDataSubjectIdSerialization(akka.actor.ActorSystem system) |
| Modifier and Type | Method and Description |
|---|---|
<T> scala.concurrent.Future<WithDataSubjectId<T>> |
fromBinaryAsync(byte[] bytes) |
scala.concurrent.Future<byte[]> |
toBinaryAsync(WithDataSubjectId<?> data) |
public WithDataSubjectIdSerialization(akka.actor.ActorSystem system)
public <T> scala.concurrent.Future<WithDataSubjectId<T>> fromBinaryAsync(byte[] bytes)
public scala.concurrent.Future<byte[]> toBinaryAsync(WithDataSubjectId<?> data)