Synced
FileLease
Section titled “FileLease”
- Owns shared reading or exclusive writing rights coordinated by independent processes.
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.FileLease : System.IDisposableMembers
Section titled “Members”| Kind | Element | Description |
|---|---|---|
| Methods | FileLease.AcquireAsync | Waits for exclusive ownership without blocking an owner thread or changing shared data. |
| Methods | FileLease.AcquireSharedAsync | Pins an existing generation against exclusive retirement while permitting other readers. |
| Methods | FileLease.Dispose | Releases ownership; repeated disposal has no effect and the lease file is retained. |