Synced
ProcessOwnedDirectory
Section titled “ProcessOwnedDirectory”
- Claims a new temporary directory before payload writes and preserves failed cleanup for later retirement.
Required contracts
Section titled “Required contracts”API: engine
Implements: System.IDisposable
Inherits: object
Project: Inno.Core.IO
Declaration
Section titled “Declaration”public sealed class Inno.Core.IO.ProcessOwnedDirectory : System.IDisposableMembers
Section titled “Members”| Kind | Element | Description |
|---|---|---|
| Methods | ProcessOwnedDirectory.CreateAsync | Creates a fresh directory and ownership record under an explicitly supplied file boundary. |
| Methods | ProcessOwnedDirectory.CreateForProcessAsync | Creates a directory protected by this process lifetime when the caller can retain only file metadata. Payload consumers in other processes must register their lifetimes before using it. |
| Methods | ProcessOwnedDirectory.Dispose | Releases only this directory after its other recorded process lifetimes have exited. |
| Methods | ProcessOwnedDirectory.ReadClaims | Reads only current explicit claims, without inferring ownership from arbitrary directory names. |
| Methods | ProcessOwnedDirectory.RegisterCurrentProcess | Records a subprocess lifetime while a previously claimed parent directory remains protected. |
| Methods | ProcessOwnedDirectory.RetireMetadataUnderOwnership | Retires claims for absent payloads while the caller exclusively owns the persistent root gate. |
| Properties | ProcessOwnedDirectory.directory | Gets the newly claimed absolute directory; its parent and persistent lease are not payloads. |