Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Loads canonical runtime assets exclusively from a verified catalog and content-addressed artifact bundles.

  • Separates immutable artifact preparation from owner-thread asset materialization.

API: engine
Implements: System.IDisposable, Inno.Assets.IAssetLookup, Inno.Assets.IAssetReferenceResolver, Inno.Assets.IAssetPropertyStateResolver, Inno.Assets.IAssetArtifactLookup, Inno.Assets.IAssetResidency
Inherits: Inno.Assets.AssetResidencyProvider
Project: Inno.Assets

public sealed class Inno.Assets.AssetDatabase : Inno.Assets.AssetResidencyProvider, System.IDisposable, Inno.Assets.IAssetLookup, Inno.Assets.IAssetReferenceResolver, Inno.Assets.IAssetPropertyStateResolver, Inno.Assets.IAssetArtifactLookup, Inno.Assets.IAssetResidency

This database never reads project source files, creates source mounts, runs importers, or writes content. One runtime session owns one database instance and disposes it before releasing its identity services.

Kind Element Description
Constructors AssetDatabase.Constructor Creates a read-only runtime asset database from one verified immutable content store.
Methods AssetDatabase.AcquireArtifact Acquires one verified immutable artifact output for an explicit lifetime.
Methods AssetDatabase.AcquireAsync(Inno.Assets.AssetPath,System.Threading.CancellationToken) Acquires a canonical runtime asset by path for an explicit residency lifetime.
Methods AssetDatabase.AcquireAsync(System.Guid,System.Threading.CancellationToken) Acquires a canonical runtime asset by persistent identity for an explicit residency lifetime.
Methods AssetDatabase.CompletePendingLoads Publishes completed cold loads on the database owner thread without waiting for outstanding IO.
Methods AssetDatabase.Dispose Stops publication and releases canonical assets before dependency edges and the payload read gate.
Methods AssetDatabase.GetDependencies Gets the direct persistent dependencies declared by one loaded or cataloged asset.
Methods AssetDatabase.Load(Inno.Assets.AssetPath) Loads the canonical asset at one catalog path.
Methods AssetDatabase.Load(System.Guid) Loads the canonical asset with one persistent identity.
Methods AssetDatabase.RestoreProperties Restores serialized properties to the existing asset object.
Methods AssetDatabase.TrimToBudget Evicts least-recently-used unpinned assets until the configured payload budget is met.
Methods AssetDatabase.TryGetArtifact Tries to resolve one named immutable artifact output by persistent asset identity.
Methods AssetDatabase.TryLoad(Inno.Assets.AssetPath,“0@) Tries to load the canonical asset at one catalog path.
Methods AssetDatabase.TryLoad(System.Guid,“0@) Tries to load the canonical asset with one persistent identity.
Properties AssetDatabase.preparationStatistics Gets immutable cold-load admission, unique IO and peak reservation counters for this database lifetime.
Properties AssetDatabase.preparingBytes Gets encoded bytes reserved by cold-load closures, including completed IO awaiting owner publication.
Properties AssetDatabase.residencyStatistics Gets current materialized asset count, payload bytes, and the configured budget.