java.lang.Object
io.fluxzero.common.api.tracking.ReadResult
- All Implemented Interfaces:
JsonType,RequestResult
Result returned in response to a
Read request for a batch of messages.
Contains the retrieved MessageBatch and metadata such as request ID and timestamp.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classCompact representation of theReadResultused for monitoring. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiontoMetric()Produces a metric-friendly summary of the result for publishing to the Flux metrics log.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.fluxzero.common.api.RequestResult
getRequestId, getTimestamp
-
Constructor Details
-
ReadResult
public ReadResult()
-
-
Method Details
-
toMetric
Produces a metric-friendly summary of the result for publishing to the Flux metrics log.- Specified by:
toMetricin interfaceJsonType- Returns:
- a
ReadResult.Metricwith batch metadata and timestamp
-