Class GetModelMigrationResult
java.lang.Object
io.fluxzero.common.api.AbstractRequestResult
io.fluxzero.common.api.search.GetModelMigrationResult
- All Implemented Interfaces:
JsonType, RequestResult
Production and staged state for an application-verified direct Model migration.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordContent-free metrics representation. -
Constructor Summary
ConstructorsConstructorDescriptionGetModelMigrationResult(long requestId, SerializedDocument productionDocument, Long productionDocumentIndex, SerializedDocument migratedDocument, ModelHeadState migratedHead) -
Method Summary
Modifier and TypeMethodDescriptiontoMetric()Converts this object into a compact metric representation for logging or monitoring.Methods inherited from class AbstractRequestResult
getRequestReceivedTimestamp, getResponseQueuedTimestamp, getResponseSendStartTimestamp, setRequestReceivedTimestamp, setResponseQueuedTimestamp, setResponseSendStartTimestampMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface RequestResult
getRequestId, getTimestamp
-
Constructor Details
-
GetModelMigrationResult
@ConstructorProperties({"requestId","productionDocument","productionDocumentIndex","migratedDocument","migratedHead"}) public GetModelMigrationResult(long requestId, SerializedDocument productionDocument, Long productionDocumentIndex, SerializedDocument migratedDocument, ModelHeadState migratedHead)
-
-
Method Details
-
toMetric
Description copied from interface:JsonTypeConverts this object into a compact metric representation for logging or monitoring.Used by the Fluxzero Java SDK to avoid logging large payloads directly while still tracking platform usage.
- Returns:
- a safe and compact object suitable for serialization to the metrics log
-