Class Request
java.lang.Object
io.fluxzero.common.api.Request
- All Implemented Interfaces:
JsonType
- Direct Known Subclasses:
AwaitModelGraphProjection, Command, GetAggregateIds, GetDocument, GetDocuments, GetDocumentStats, GetEvents, GetFacetStats, GetModelChange, GetModelEvents, GetModelGraph, GetModelGraphProjectionStatus, GetModelMigration, GetModelMigrations, GetPosition, GetRelationships, GetSchedule, GetSearchCollections, GetSearchHistogram, GetValue, HasDocument, PlanModelDeletion, Read, ReadFromIndex, RegisterModelGraphProjection, SearchDocuments, SearchModelDocuments, SearchModelGraphDocuments, TrackModelUpdates
Base class for requests sent to the Fluxzero Runtime.
Each Request is automatically assigned a unique requestId to correlate it with its corresponding
RequestResult. This identifier is useful for tracing, debugging, and performance monitoring.
All requests implement JsonType, allowing them to optionally define a custom JsonType.toMetric()
representation for metrics logging.
Subclasses of this abstract class typically include payloads such as SearchDocuments,
GetDocument, GetFacetStats, etc.
- See Also:
-
Constructor Details
-
Request
protected Request() -
Request
protected Request(long requestId) Restores a transport-assigned request identifier.This constructor is reserved for lossless protocol decoding. Application requests should continue to use the no-argument constructor so identifiers remain unique within the client.
-