Class GetEventsResult
java.lang.Object
io.fluxcapacitor.common.api.eventsourcing.GetEventsResult
- All Implemented Interfaces:
JsonType
,RequestResult
Response to a
GetEvents
request, returning a batch of events for an aggregate.
This class is used by the Flux platform to deliver a segment of the event stream associated with an aggregate. It includes metadata for sequencing and tracking purposes.
Events are returned in an EventBatch
, which includes the aggregate ID, a list of SerializedMessage
s,
and a flag indicating whether the events were stored-only or also published.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Lightweight metric representation of aGetEventsResult
used for monitoring. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiontoMetric()
Converts this result to a minimal metric object for performance logging or monitoring.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.fluxcapacitor.common.api.RequestResult
getRequestId, getTimestamp
-
Constructor Details
-
GetEventsResult
public GetEventsResult()
-
-
Method Details