Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Records exact publisher-owned generations and coordinates them with bounded cache retirement.

API: engine
Inherits: object
Project: Inno.Build.Toolchains

public sealed class Inno.Build.Toolchains.BuildCachePublisher
Kind Element Description
Constructors BuildCachePublisher.Constructor Creates a publisher for one absolute, non-overlapping cache boundary.
Methods BuildCachePublisher.AcquireUseAsync Pins publisher activity until publication, reading handoff and current-root updates finish.
Methods BuildCachePublisher.BeginWorkingDirectory Records a reusable workspace before its first payload write while the caller holds activity and producer leases. Existing unregistered directories are rejected, rather than adopted by cleanup authority.
Methods BuildCachePublisher.Describe Registers only explicitly recorded ownership, without discovering artifacts by extension or directory age.
Methods BuildCachePublisher.EnsureImmutableRegistration Establishes an immutable artifact’s ownership once, or confirms its unchanged registration without rewriting it.
Methods BuildCachePublisher.Record Records a completed generation and optionally selects it as a protected current root. The caller must hold this publisher’s activity lease and the artifact’s producer or reading lease.
Methods BuildCachePublisher.RecordIndex Registers an exact cache index and the publication directories required to keep it useful.
Methods BuildCachePublisher.RecordProcessUse Registers a process-owned loader directory and its dependencies before returning it to a loader. Retirement preserves the directory until every recorded process has exited. Repeated registrations retain the complete dependency closure of that process-owned operation.
Properties BuildCachePublisher.role Gets the declared lifecycle used by this publisher’s inventory and maintenance registration.