Class GetEventsResult
java.lang.Object
io.fluxzero.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 Fluxzero Runtime 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 SerializedMessages,
and a flag indicating whether the events were stored-only or also published.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classLightweight metric representation of aGetEventsResultused 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 Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface RequestResult
getRequestId, getTimestamp
-
Constructor Details
-
GetEventsResult
public GetEventsResult()
-
-
Method Details