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> java.util.concurrent.CompletionStage<WithDataSubjectId<T>> |
fromBinaryAsync(java.lang.Class<T> payloadClass,
byte[] bytes) |
java.util.concurrent.CompletionStage<byte[]> |
toBinaryAsync(WithDataSubjectId<?> data) |
public WithDataSubjectIdSerialization(akka.actor.ActorSystem system)
public <T> java.util.concurrent.CompletionStage<WithDataSubjectId<T>> fromBinaryAsync(java.lang.Class<T> payloadClass, byte[] bytes)
public java.util.concurrent.CompletionStage<byte[]> toBinaryAsync(WithDataSubjectId<?> data)