---
title: "Orleans.Lattice.Api.TreeAdmin - Public API"
url: "https://nsta1.github.io/Orleans.Lattice/docs/lattice.api.abstractions/api/orleans-lattice-api-treeadmin.html"
source: "https://github.com/NSTA1/Orleans.Lattice/blob/release/10.5/docs/lattice.api.abstractions/api.md?plain=1#L2241-L2322"
agent_spec: "https://nsta1.github.io/Orleans.Lattice/docs/agents/api/state.json"
package: "Orleans.Lattice.Api.Abstractions"
version: "10.5.0"
documents: "Orleans.Lattice 10.5.0 (release line 10.5)"
built: "2026-12-05"
all-pages: "https://nsta1.github.io/Orleans.Lattice/llms.txt"
bundle: "https://nsta1.github.io/Orleans.Lattice/docs/lattice.api.abstractions/llms-full.txt"
---
# `Orleans.Lattice.Api.TreeAdmin`

Part of [Public API](../api.md).

Implemented by [`Orleans.Lattice.Api.TreeAdmin`](../../lattice.api.treeadmin/api.md) and exposed remotely by [`Orleans.Lattice.Api.TreeAdmin.Grpc`](../../lattice.api.treeadmin.grpc/README.md). 73 public types.

| Type | Kind | Summary |
|---|---|---|
| `ILatticeStorageUsageOperations` | interface | Accept-then-poll fresh storage usage. |
| `ILatticeTreeAdmin` | interface | Transport-agnostic tree administration control facade: one coherent, discoverable, authorized surface for whole-tree lifecycle and administration operations. |
| `ILatticeTreeAdminOperations` | interface | Accept-then-poll tree maintenance: a materialised-view rebuild or reconcile, a tag-index reconcile sweep, a WAL partition move, and a whole-tree orphaned-leaf audit or repair. |
| `ILatticeWalReclamation` | interface | Read-only WAL reclamation diagnostics for a tree: which durable pin holds the tree's write-ahead-log floor and whether it has wedged reclamation (issue #4195). |
| `ApiTreeAdminTypeAliases` | static class | Centralized Orleans serialization alias constants for the `Orleans.Lattice.Api.TreeAdmin` control-API package. |
| `BulkLoadOrderException` | sealed class (exception) | Thrown when a bulk-load chunk contains keys that are not in strictly ascending order. |
| `ClusterStorageUsageSummary` | sealed record | A cluster-wide storage accounting summary: total persisted bytes across every tree, split by surface, plus a per-tree breakdown. |
| `LatticeTreeAdminCapabilities` | sealed record | The read-only result of a tree-administration capability probe: which whole-tree administration operations the current caller may perform over a single tree, evaluated through the same fail-closed access gates the real operations use but with no side effects. |
| `ShardDiagnosticSnapshot` | sealed record | A single physical shard's diagnostic snapshot, carried as one row of a `TreeAdminDiagnosticReport`. |
| `ShardHotnessSnapshot` | sealed record | A single physical shard's read/write hotness sample, carried as one row of a `TreeHotnessReport`. |
| `ShardMapInspection` | sealed record | A read-only inspection of a tree's shard-map topology: how the virtual routing space maps onto physical shards. |
| `ShardProjectionDigestReport` | sealed record | A per-shard leaf-projection digest: a content hash plus lightweight counts that identify a shard's committed leaf state at a point in time. |
| `StorageUsageRefreshOperation` | static class | The tracked long-running operation that re-measures every tree's storage usage in the background (`StartStorageUsageRefreshAsync`): its kind, its phase and its unit. |
| `StorageUsageRefreshResults` | static class | Converts between the cluster totals of a storage-usage refresh and the string result map its tracked operation (`Kind`) records. |
| `TreeAdminDiagnosticReport` | sealed record | A whole-tree diagnostic report: one `ShardDiagnosticSnapshot` per physical shard plus tree-level roll-ups, sampled at a single instant. |
| `TreeAdminOperationKinds` | static class | The operation kinds the tree-administration facade runs as tracked long-running operations (`ILatticeTreeAdminOperations`). |
| `TreeAdminOperationPhases` | static class | The phase names a tree-administration operation reports in `Phase`. |
| `TreeAdminOperationResultKeys` | static class | The keys of the string result map a succeeded tree-administration operation carries in `Result`. |
| `TreeAdminOperationUnits` | static class | The unit names a tree-administration operation reports in `UnitName`. |
| `TreeAliasResolution` | sealed record | The alias state for a logical tree: which physical tree the logical id currently resolves to, and whether an explicit alias indirection is in effect. |
| `TreeBulkLoadChunkAck` | sealed record | The acknowledgement of a single appended bulk-load chunk from `AppendBulkLoadAsync`. |
| `TreeBulkLoadResult` | sealed record | The result of finalizing a resumable bulk-load session with `CommitBulkLoadAsync`. |
| `TreeBulkLoadSession` | sealed record | The result of opening a resumable bulk-load (tree creation) session with `BeginBulkLoadAsync`. |
| `TreeBulkLoadStreamOptions` | sealed record | Shapes a streamed bulk load through `BulkLoadStreamAsync`: how many entries each chunk carries, the chunk index the stream starts at, and - for a transport binding that streams the chunks over the wire - how many chunks may be in flight unacknowledged and how many times a broken stream is resumed. |
| `TreeCompactionTriggerResult` | sealed record | The outcome of an operator-triggered tombstone-compaction pass scoped to a single physical shard. |
| `TreeConfigurationReport` | sealed record | A read-only snapshot of a tree's registry-backed configuration: its structural sizing pins, its alias target, and its per-tree runtime overrides (publish-events, projection-digest maintenance, durable-history retention, WAL retained-byte ceiling). |
| `TreeConfigurationUpdate` | sealed record | A partial update to a tree's per-tree registry configuration. |
| `TreeCreationResult` | sealed record | The result of an explicit tree-creation request. |
| `TreeDeletionStatus` | sealed record | The read-only status of a tree's soft-deletion lifecycle, returned by the tree delete / recover / purge verbs and the standalone status read. |
| `TreeExistenceResult` | sealed record | The result of a tree-existence check: whether the named logical tree is registered in the tree registry. |
| `TreeHistoryRetention` | sealed record | A tree's effective durable-history retention policy: the resolved `TreeHistoryRetentionMode` applied to LWW value bytes and the age-bound window after which a revision row expires. |
| `TreeHistoryRetentionMode` | enum | How much of an LWW (last-writer-wins) byte value a tree's durable-history revision rows retain per revision. |
| `TreeHotnessReport` | sealed record | A whole-tree read/write hotness report: one `ShardHotnessSnapshot` per physical shard plus tree-level roll-ups, sampled at a single instant. |
| `TreeNotEmptyException` | sealed class (exception) | Thrown when a bulk-load (tree creation) session is opened against a tree that is not empty. |
| `TreeOrphanedLeafDisposition` | enum | What the orphaned-leaf audit or repair decided about one descent-unreachable leaf. |
| `TreeOrphanedLeafFinding` | sealed record | One descent-unreachable leaf the orphaned-leaf audit or repair found, and what was decided about it. |
| `TreeOrphanedLeafGap` | sealed record | One region of a tree over which an orphaned-leaf audit or repair could not establish a verdict, and why (issue 3301). |
| `TreeOrphanedLeafGapReason` | enum | Why an orphaned-leaf audit or repair could not establish a verdict over some part of a tree. |
| `TreeOrphanedLeafReport` | sealed record | The verdict of an orphaned-leaf audit or repair over one tree: every leaf found spliced into a shard's sibling chain but unreachable by descent from that shard's root, and what was decided about each. |
| `TreeReshardStatus` | sealed record | The read-only status of a tree's online reshard, returned by the reshard trigger verb and the standalone status read. |
| `TreeResizePhase` | enum | The step an online resize has reached, reported by `Phase`. |
| `TreeResizeStatus` | sealed record | The read-only status of a tree's online resize, returned by the resize trigger and undo verbs and the standalone status read. |
| `TreeRestoreMode` | enum | How a tree-administration restore applied a backup to its target tree. |
| `TreeRestoreResult` | sealed record | The outcome of a tree-administration restore (`RestoreTreeAsync` or a single member of `RestoreTreeSetAsync`): the backup and target it applied, the resolved idempotency key, the base-first ordered chain of backup ids replayed, and how many entries were installed. |
| `TreeRestoreSetResult` | sealed record | The per-member outcome of a backup-set restore (`RestoreTreeSetAsync`): one `TreeRestoreResult` for every member tree this cluster restored, in the order the backup engine applied them. |
| `TreeShardMapView` | sealed record | A read-only view of a tree's registry-persisted shard map: the durable record of how the virtual routing space maps onto physical shards, as stored in the tree registry. |
| `TreeSnapshotMode` | enum | Whether a tree-administration snapshot locks the source tree during the copy. |
| `TreeSnapshotPhase` | enum | The step a tree snapshot has reached, reported by `Phase`. |
| `TreeSnapshotStatus` | sealed record | The read-only status of a tree's snapshot machinery, returned by the snapshot capture verb and the standalone status read. |
| `TreeStatsReport` | sealed record | A rolled-up statistics snapshot for one tree: topology and live-key counts from the cheap diagnostic projection, joined with the tree's storage byte breakdown. |
| `TreeStorageUsageSnapshot` | sealed record | One tree's storage byte breakdown, carried as a row of a `ClusterStorageUsageSummary`. |
| `TreeTagIndexCatalog` | sealed record | The result of listing the cluster's tag indexes: one `TreeTagIndexInfo` per index discovered in the tree registry (its backing membership tree carries the reserved `tag-` prefix). |
| `TreeTagIndexInfo` | sealed record | A single entry in the tag-index catalog listing, describing one tag index's identity, backing membership tree, and the subject trees it currently covers. |
| `TreeTagIndexStatus` | sealed record | Read-only status of a single tag index: its identity, backing membership tree, the subject trees it currently covers, and whether its background reconciliation coordinator is idle. |
| `TreeTagReconcileReport` | sealed record | The idempotent outcome of an operator-driven tag-index reconciliation sweep, pairing the index identity with the counts the core reconcile pass reports: how much of the covered keyspace was inspected and how many orphaned membership rows were repaired. |
| `TreeViewCatalog` | sealed record | The result of listing the cluster's runtime-registered materialised views: a snapshot of every durable runtime-view registration. |
| `TreeViewInfo` | sealed record | A single entry in the materialised-view catalog listing, describing one runtime-registered view's identity and shape. |
| `TreeViewProviderCatalog` | sealed record | The runtime-view projection providers a caller may create a view with over one source tree (`ListViewProvidersAsync`): every provider the cluster's host registered, with its description and the shape of its payload. A pure projection; provider code is never run to produce it. |
| `TreeViewProviderField` | sealed record | One property of a described provider's JSON payload object. |
| `TreeViewProviderFieldKind` | enum | The JSON value type of a `TreeViewProviderField`: `Text`, `Number` or `Boolean`. |
| `TreeViewProviderInfo` | sealed record | One host-registered runtime-view projection provider, as `ListViewProvidersAsync` lists it. |
| `TreeViewReconcileResult` | sealed record | The outcome of a materialised-view reconcile: view anti-entropy that builds the expected view from current source state into a shadow generation, compares it against the live view via a content digest, and swaps the shadow in (repairing the view) only when they diverge. |
| `TreeViewStatus` | sealed record | The read-only status of a single materialised view, returned by the view status read and the view rebuild verb. |
| `TreeWalFloorHolder` | sealed record | The durable write-ahead-log materialiser pin holding a tree's WAL floor, and the leaf behind it. |
| `TreeWalFloorHolderState` | enum | The durable state of the leaf behind the pin holding a tree's WAL floor, read from the leaf's persisted checkpoint without activating it. |
| `TreeWalMoveOptions` | readonly record struct | Optional tunables for the tree-admin WAL move execute verb. |
| `TreeWalMoveOutcome` | enum | The classification of a WAL move or reclaim operation. |
| `TreeWalMovePlan` | sealed record | A read-only preview of a WAL move operation, returned by the tree-admin WAL move plan verb. |
| `TreeWalMoveReceipt` | sealed record | The result of a WAL move or reclaim operation, returned by the tree-admin WAL move execute and reclaim verbs. |
| `TreeWalPartitionPlacement` | readonly record struct | The provider placement of a single WAL partition: which storage provider key backs it and whether the reporting silo can currently resolve that key. |
| `TreeWalPlacement` | sealed record | A point-in-time view of a tree's durable WAL placement, returned by the tree-admin WAL placement inspection verb. |
| `TreeWalPlacementAudit` | sealed record | A health audit of a tree's WAL placement against the resolving silo's WAL storage provider catalog, returned by the tree-admin WAL placement audit verb. |
| `TreeWalReclamationReport` | sealed record | Which durable pin holds a tree's write-ahead-log floor, and whether that pin has wedged the tree's WAL reclamation. |

Member-level reference: the [shared contract declaration reference](../../lattice.api.treeadmin/api.md#shared-contract-declaration-reference) in the `Orleans.Lattice.Api.TreeAdmin` API page lists the declaration line and every public member of each type above.

Previous: [Orleans.Lattice.Api.Telemetry](orleans-lattice-api-telemetry.md). Next: [Orleans.Lattice.Api.TenantAdmin](orleans-lattice-api-tenantadmin.md). Contents: [Public API](../api.md).
