Skip to content

Runtime Object and Cache Metadata

This page defines fixed metadata for runtime.object and cache.reference frames. Multi-value fields use the Runtime Control Value Registries.

Object Descriptor Metadata

Used by OBJECT_DECLARE.

OffsetFieldTypeRequiredMeaning
0object_idu64YesRuntime object identity.
8object_kindu16YesSee object_kind in the value registries.
10producer_roleu8YesSee role codes in the value registries.
11consumer_roleu8YesSee role codes in the value registries.
12session_idu32YesOwning session.
16byte_sizeu64YesObject size.
24compute_cost_unitsu32NoCompute units under the negotiated cost model.
28memory_location_hintu16NoSee memory_location_hint in the value registries.
30ownership_hintu16YesSee ownership_hint in the value registries.
32lifetime_hint_msu32NoSuggested lifetime.
36metadata_bytesu32NoOptional object metadata body length.
40reservedu64YesMust be zero.

Object Reference Metadata

Used by OBJECT_REF.

OffsetFieldTypeRequiredMeaning
0object_idu64YesReferenced object.
8operation_idu64NoOperation using the object.
16object_versionu64NoVersion or generation.
24offsetu64NoReferenced byte or region offset.
32lengthu64NoReferenced byte or region length.
40flagsu32YesSee flag masks in the value registries.
44metadata_bytesu32NoOptional reference metadata body length.

Object Release Metadata

Used by OBJECT_RELEASE.

OffsetFieldTypeRequiredMeaning
0object_idu64YesReleased object.
8operation_idu64NoOperation that no longer needs the object.
16release_reasonu16YesSee release_reason in the value registries.
18source_roleu8YesSee role codes in the value registries.
19flagsu8YesSee flag masks in the value registries.
20diagnostic_bytesu32NoOptional diagnostic body length.
24reservedu64YesMust be zero.

Object Delta Metadata

Used by OBJECT_PATCH and OBJECT_DELTA.

OffsetFieldTypeRequiredMeaning
0object_idu64YesPatched object.
8delta_sequenceu64YesMonotonic delta sequence for the object.
16region_offsetu64NoRegion offset.
24region_bytesu32NoRegion length.
28delta_bytesu32YesDelta payload length.
32flagsu32YesSee flag masks in the value registries.
36metadata_bytesu32NoOptional delta metadata body length.

Cache Reference Metadata

Used by CACHE_REFERENCE.

OffsetFieldTypeRequiredMeaning
0cache_key_hiu64YesHigh 64 bits of cache identity.
8cache_key_lou64YesLow 64 bits of cache identity.
16profile_idu16YesProfile that defines interpretation.
18reuse_scopeu16YesSee reuse_scope in the value registries.
20lease_idu64NoLease anchor.
28producer_trace_idu64NoTrace ID of producer.
36expiration_hint_msu32NoExpiration hint.
40metadata_bytesu32NoOptional metadata body length.
44flagsu32YesSee flag masks in the value registries.

Cache Miss Metadata

Used by CACHE_MISS.

OffsetFieldTypeRequiredMeaning
0cache_key_hiu64YesHigh 64 bits of cache identity.
8cache_key_lou64YesLow 64 bits of cache identity.
16miss_reasonu16YesSee miss_reason in the value registries.
18profile_idu16NoProfile that rejected interpretation.
20diagnostic_bytesu32NoOptional diagnostic body length.
24reservedu64YesMust be zero.

Conformance Requirement

Wire-level conformance must exercise these profiles by exchanging NNRP frames directly. SDK adapter manifests can help generate scenarios, but they do not replace direct client/server wire checks.

NNRP Documentation