public class ResolvedEvent
extends java.lang.Object
| Constructor and Description |
|---|
ResolvedEvent(RecordedEvent event,
RecordedEvent link,
Position position) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
RecordedEvent |
getEvent()
The event, or the resolved linked event if the original event is a link.
|
RecordedEvent |
getLink()
The link event if the original event is a link.
|
RecordedEvent |
getOriginalEvent()
Returns the event that was read or which triggered the subscription.
|
java.util.Optional<Position> |
getPosition()
Returns the transaction log position of the resolved event.
|
int |
hashCode() |
java.lang.String |
toString() |
public ResolvedEvent(RecordedEvent event, RecordedEvent link, Position position)
public RecordedEvent getEvent()
public RecordedEvent getLink()
public RecordedEvent getOriginalEvent()
public java.util.Optional<Position> getPosition()
Positionpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object