@Entity public class SagaEntry<T> extends AbstractSagaEntry<byte[]>
revision, sagaId, sagaType, serializedSaga
Modifier | Constructor and Description |
---|---|
protected |
SagaEntry()
Constructor required by JPA.
|
|
SagaEntry(T saga,
String sagaIdentifier,
Serializer serializer)
Constructs a new SagaEntry for the given
saga . |
getRevision, getSagaId, getSagaType, getSerializedSaga
public SagaEntry(T saga, String sagaIdentifier, Serializer serializer)
saga
. The given saga must be serializable. The provided
saga is not modified by this operation.saga
- The saga to storesagaIdentifier
- The saga identifierserializer
- The serialization mechanism to convert the Saga to a byte streamprotected SagaEntry()
SagaEntry(Object, String, Serializer)
Copyright © 2010–2023. All rights reserved.