TrackedDomainEventData instead, as it uses composition (instead of inheritance)@Deprecated public class GenericTrackedDomainEventEntry<T> extends AbstractDomainEventEntry<T> implements TrackedEventData<T>
EventStorageEngine to reconstruct an event from the underlying storage.| Constructor and Description |
|---|
GenericTrackedDomainEventEntry(long globalSequence,
String type,
String aggregateIdentifier,
long sequenceNumber,
String eventIdentifier,
Object timestamp,
String payloadType,
String payloadRevision,
T payload,
T metaData)
Deprecated.
Reconstruct an event entry from a stored object.
|
GenericTrackedDomainEventEntry(TrackingToken trackingToken,
String type,
String aggregateIdentifier,
long sequenceNumber,
String eventIdentifier,
Object timestamp,
String payloadType,
String payloadRevision,
T payload,
T metaData)
Deprecated.
Reconstruct an event entry from a stored object.
|
| Modifier and Type | Method and Description |
|---|---|
TrackingToken |
trackingToken()
Deprecated.
Returns the
TrackingToken of the serialized event. |
getAggregateIdentifier, getSequenceNumber, getTypegetEventIdentifier, getMetaData, getPayload, getTimestampclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetEventIdentifier, getMetaData, getPayload, getTimestamppublic GenericTrackedDomainEventEntry(TrackingToken trackingToken, String type, String aggregateIdentifier, long sequenceNumber, String eventIdentifier, Object timestamp, String payloadType, String payloadRevision, T payload, T metaData)
trackingToken - The tracking token of the event entrytype - The type of aggregate that published this eventaggregateIdentifier - The identifier of the aggregate that published this eventsequenceNumber - The sequence number of the event in the aggregateeventIdentifier - The identifier of the eventtimestamp - The time at which the event was originally createdpayloadType - The fully qualified class name or alias of the event payloadpayloadRevision - The revision of the event payloadpayload - The serialized payloadmetaData - The serialized metadatapublic GenericTrackedDomainEventEntry(long globalSequence,
String type,
String aggregateIdentifier,
long sequenceNumber,
String eventIdentifier,
Object timestamp,
String payloadType,
String payloadRevision,
T payload,
T metaData)
globalSequence is converted into a GlobalSequenceTrackingToken.globalSequence - The global sequence number of the event entrytype - The type of aggregate that published this eventaggregateIdentifier - The identifier of the aggregate that published this eventsequenceNumber - The sequence number of the event in the aggregateeventIdentifier - The identifier of the eventtimestamp - The time at which the event was originally createdpayloadType - The fully qualified class name or alias of the event payloadpayloadRevision - The revision of the event payloadpayload - The serialized payloadmetaData - The serialized metadatapublic TrackingToken trackingToken()
TrackedEventDataTrackingToken of the serialized event.trackingToken in interface TrackedEventData<T>Copyright © 2010–2018. All rights reserved.