Table of Contents

Orleans.Lattice.Api.State

This page documents Orleans.Lattice.Api.Abstractions 10.5.0, in the documentation for Orleans.Lattice 10.5.0 (release line 10.5), built 2026-12-05. It is also published as markdown, with every table and list, at orleans-lattice-api-state.md, and llms.txt lists every page.

Part of Public API.

Implemented by Orleans.Lattice.Api.State and exposed remotely by Orleans.Lattice.Api.State.Grpc. 52 public types.

Type Kind Summary
ILatticeStateMetricsObserver interface Transport-agnostic live metadata / metrics observation facade.
ILatticeStateObserver interface Transport-agnostic live change-observation facade over a cluster's lattice state.
ILatticeStateQuery interface Transport-agnostic read facade over a cluster's lattice state.
ApiStateTypeAliases static class Centralised Orleans serialization alias constants for every Orleans.Lattice.Api.State type that participates in the wire format.
CatalogRequest sealed record Paging and filtering request for the discovery / catalog endpoints (ListTreesAsync and ListViewsAsync).
ClusterInfo sealed record Identity and high-level metadata for the cluster a state-API client is connected to.
ClusterInfoRequest sealed record Request for GetClusterInfoAsync.
CoveredTreeCatalogPage sealed record One page of the subject trees a tag index covers, as surfaced by ListCoveredTreesAsync.
DeadLetterEntryRecord sealed record Read-only record of a single strict-mode dead-letter entry surfaced by ListDeadLettersAsync.
DeadLetterQueuePage sealed record One page of a tree's strict-mode dead-letter queue, in append (time) order.
DeadLetterQueueRequest sealed record Paging request for the per-tree dead-letter-queue listing (ListDeadLettersAsync).
DeadLetterSourceKind enum Identifies the ingest path that produced a dead-letter entry when strict-mode schema enforcement diverted a non-compliant item instead of applying it.
EntryDetailResult sealed record Result of GetEntryAsync: the full record for a single existing key, or a typed not-found that distinguishes an unknown tree from a missing key.
EntryHistoryBound enum Tells a consumer how a key's returned change history is bounded below, so it can distinguish a clean, durable timeline from a best-effort fallback that may have lost its oldest revisions.
EntryHistoryRequest sealed record Request for the per-key change-history endpoint (GetEntryHistoryAsync).
EntryHistoryResult sealed record Result of GetEntryHistoryAsync: a continuation-paged page of a key's revision timeline plus the history metadata (how the timeline is bounded and, when truncated, the oldest still-readable revision), or a typed not-found when the tree does not exist.
EntryRecord sealed record Read-only record of a single entry returned by the entry / key-range inspection endpoint.
EntryRevisionRecord sealed record Read-only record of a single revision in a key's change-history timeline, returned by GetEntryHistoryAsync.
EntryScanCancelRequest sealed record Request for the entry-scan cancel endpoint (CancelScanAsync).
EntryScanMode enum Selects the cursor isolation an entry scan (ScanEntriesAsync) opens.
EntryScanRequest sealed record Request for the entry / key-range inspection endpoint (ScanEntriesAsync).
EntryScanResult sealed record Result of ScanEntriesAsync: a snapshot-isolated, key-ordered page of entries plus an opaque continuation token, or a typed not-found when the tree does not exist.
LatticeStateCursorExpiredException sealed class (exception) Thrown when a change-observation subscription is resumed from a ContinuationToken that has fallen outside the WAL retention window, so the missed changes can no longer be replayed.
NodeKind enum Kind of a B+ tree node surfaced by the structure-query endpoint.
NodeStateSummary sealed record Read-only summary of a single B+ tree node, used by the tree-structure query endpoint to render the node graph.
RevisionRetention readonly record struct The retention shape that was actually applied to a single history revision when it was written, carried per row so a consumer can detect a retention-configuration transition by diffing adjacent revisions of the same key (the "retention changed here" boundary).
ShardHotness sealed record Per-shard hotness sample carried in a TreeMetrics when the request opts in via IncludeShardHotness.
ShardStateSummary sealed record Read-only, point-in-time summary of a single physical shard's state.
ShardSummariesResult sealed record Result of GetShardSummariesAsync: either the per-shard summaries or a typed not-found.
StateChangeKind enum The kind of state change carried by a StateChangeNotification.
StateChangeNotification sealed record A single live state-change notification yielded by ObserveAsync (and the gRPC change subscription built over it).
StateObserveRequest sealed record Request for the change-observation endpoint (ObserveAsync).
StateQueryStatus enum Outcome of a state-query lookup that can fail to resolve its target.
StructureRequest sealed record Request for the tree-structure query endpoint (GetTreeStructureAsync).
TagIndexCatalogPage sealed record One page of the tag-index catalog.
TagIndexStateSummary sealed record Read-only summary of a tag-index membership tree as surfaced by the cluster state API's tag-index discovery endpoint (ListTagIndexesAsync).
TagMember sealed record A single (tree, key) member of a tag, as surfaced by ScanTagMembersAsync: the key Key in subject tree TreeId currently carries the requested tag and still exists.
TagMemberScanPage sealed record One page of the members of a single tag across every tree a tag index covers, as surfaced by ScanTagMembersAsync.
TagMemberScanRequest sealed record Paging request for ScanTagMembersAsync: the members of a single tag across every subject tree a tag index covers.
TagValueCatalogPage sealed record One page of the distinct tag values carried by a single tag index over its subject tree.
TreeCatalogEntry sealed record A single entry in the tree catalog returned by ListTreesAsync: the lightweight "what trees exist?" projection the explorer opens with, sourced from the internal tree registry without the caller talking to registry grains.
TreeCatalogPage sealed record One page of the tree catalog.
TreeConfigSummary sealed record Effective per-tree configuration as observed by the read-only state API.
TreeLifecycleState enum Lifecycle state of a tree as seen by the read-only cluster state API.
TreeMetrics sealed record Low-cardinality live aggregates for a single tree, as sampled by the metrics-observation feed.
TreeMetricsRequest sealed record Request for a live metadata / metrics observation - either a one-shot poll (SampleAsync) or a sampled stream (ObserveAsync).
TreeMetricsSnapshot sealed record One sample tick of the metrics-observation feed.
TreeStateSummary sealed record Read-only, point-in-time summary of a single tree's state, aggregated by the cluster state API from the core diagnostics surface and tree registry.
TreeStructureResult sealed record Result of GetTreeStructureAsync: either a bounded, depth-limited node graph (one entry per shard root for a whole-tree read, or a single subtree for a sub-path descent) or a typed not-found.
TreeSummaryResult sealed record Result of GetTreeSummaryAsync: either a populated TreeStateSummary or a typed not-found, so an unknown tree never surfaces an Orleans-internal exception to callers.
ViewCatalogPage sealed record One page of the materialised-view catalog.
ViewStateSummary sealed record Read-only summary of a materialised view as surfaced by the cluster state API's discovery endpoint.

ILatticeStateMetricsObserver

Source (line 12).

public interface ILatticeStateMetricsObserver

  • Task<TreeMetricsSnapshot> SampleAsync(TreeMetricsRequest request, CancellationToken cancellationToken = default)
  • IAsyncEnumerable<TreeMetricsSnapshot> ObserveAsync(TreeMetricsRequest request, CancellationToken cancellationToken = default)

ILatticeStateObserver

Source (line 30).

public interface ILatticeStateObserver

  • IAsyncEnumerable<StateChangeNotification> ObserveAsync(StateObserveRequest request, CancellationToken cancellationToken = default)

ILatticeStateQuery

Source (line 16).

public interface ILatticeStateQuery

  • Task<TreeSummaryResult> GetTreeSummaryAsync(string treeId, bool deep = true, CancellationToken cancellationToken = default)
  • Task<ShardSummariesResult> GetShardSummariesAsync(string treeId, bool deep = true, CancellationToken cancellationToken = default)
  • Task<int?> GetPhysicalShardCountAsync(string treeId, CancellationToken cancellationToken = default)
  • Task<TreeCatalogPage> ListTreesAsync(CatalogRequest request, CancellationToken cancellationToken = default)
  • Task<ViewCatalogPage> ListViewsAsync(CatalogRequest request, CancellationToken cancellationToken = default)
  • Task<ClusterInfo> GetClusterInfoAsync(CancellationToken cancellationToken = default)
  • Task<TagIndexCatalogPage> ListTagIndexesAsync(CatalogRequest request, CancellationToken cancellationToken = default)
  • Task<TagValueCatalogPage> ListTagValuesAsync(CatalogRequest request, CancellationToken cancellationToken = default)
  • Task<CoveredTreeCatalogPage> ListCoveredTreesAsync(CatalogRequest request, CancellationToken cancellationToken = default)
  • Task<TagValueCatalogPage> ListIndexTagsAsync(CatalogRequest request, CancellationToken cancellationToken = default)
  • Task<TagMemberScanPage> ScanTagMembersAsync(TagMemberScanRequest request, CancellationToken cancellationToken = default)
  • Task<TreeStructureResult> GetTreeStructureAsync(StructureRequest request, CancellationToken cancellationToken = default)
  • Task<EntryScanResult> ScanEntriesAsync(EntryScanRequest request, CancellationToken cancellationToken = default)
  • Task<EntryDetailResult> GetEntryAsync(string treeId, string key, CancellationToken cancellationToken = default)
  • Task<EntryHistoryResult> GetEntryHistoryAsync(EntryHistoryRequest request, CancellationToken cancellationToken = default)
  • Task CancelScanAsync(string treeId, string? continuationToken, CancellationToken cancellationToken = default)
  • Task<int> GetDeadLetterCountAsync(string treeId, CancellationToken cancellationToken = default)
  • Task<DeadLetterQueuePage> ListDeadLettersAsync(DeadLetterQueueRequest request, CancellationToken cancellationToken = default)

ApiStateTypeAliases

Source (line 15).

public static class ApiStateTypeAliases

  • public const string TreeConfigSummary
  • public const string TreeStateSummary
  • public const string ShardStateSummary
  • public const string NodeStateSummary
  • public const string ViewStateSummary
  • public const string EntryRecord
  • public const string CatalogRequest
  • public const string TreeCatalogEntry
  • public const string TreeCatalogPage
  • public const string ViewCatalogPage
  • public const string StructureRequest
  • public const string EntryScanRequest
  • public const string EntryScanMode
  • public const string EntryScanCancelRequest
  • public const string StateChangeNotification
  • public const string StateObserveRequest
  • public const string TreeMetricsRequest
  • public const string ShardHotness
  • public const string TreeMetrics
  • public const string TreeMetricsSnapshot
  • public const string ClusterInfoRequest
  • public const string ClusterInfo
  • public const string TagIndexStateSummary
  • public const string TagIndexCatalogPage
  • public const string TagValueCatalogPage
  • public const string EntryHistoryRequest
  • public const string EntryRevisionRecord
  • public const string RevisionRetention
  • public const string EntryHistoryBound
  • public const string CoveredTreeCatalogPage
  • public const string TagMemberScanRequest
  • public const string TagMember
  • public const string TagMemberScanPage
  • public const string DeadLetterSourceKind
  • public const string DeadLetterEntryRecord
  • public const string DeadLetterQueueRequest
  • public const string DeadLetterQueuePage

CatalogRequest

Source (line 17).

public sealed record CatalogRequest

  • public const int DefaultPageSize
  • public const int MaxPageSize
  • public int PageSize { get; init; }
  • public string? PageToken { get; init; }
  • public bool IncludeSystemTrees { get; init; }
  • public bool IncludeViewStats { get; init; }
  • public string? SourceTreeId { get; init; }
  • public string? IndexName { get; init; }
  • public int EffectivePageSize

ClusterInfo

Source (line 18).

public sealed record ClusterInfo

  • public string ClusterId { get; init; }
  • public string ServiceId { get; init; }

ClusterInfoRequest

Source (line 12).

public sealed record ClusterInfoRequest

CoveredTreeCatalogPage

Source (line 94).

public sealed record CoveredTreeCatalogPage

  • public IReadOnlyList<string> Entries { get; init; }
  • public string? NextPageToken { get; init; }

DeadLetterEntryRecord

Source (line 19).

public sealed record DeadLetterEntryRecord

  • public required string Key { get; init; }
  • public byte[] ValuePreview { get; init; }
  • public int ValueByteLength { get; init; }
  • public required string Reason { get; init; }
  • public DeadLetterSourceKind Source { get; init; }
  • public DateTimeOffset TimestampUtc { get; init; }
  • public bool PreviewTruncated { get; init; }
  • public bool Equals(DeadLetterEntryRecord? other)
  • public override int GetHashCode()

DeadLetterQueuePage

Source (line 12).

public sealed record DeadLetterQueuePage

  • public IReadOnlyList<DeadLetterEntryRecord> Entries { get; init; }
  • public string? NextPageToken { get; init; }

DeadLetterQueueRequest

Source (line 13).

public sealed record DeadLetterQueueRequest

  • public const int DefaultPageSize
  • public const int MaxPageSize
  • public required string TreeId { get; init; }
  • public int PageSize { get; init; }
  • public string? PageToken { get; init; }
  • public int EffectivePageSize

DeadLetterSourceKind

Source (line 11).

public enum DeadLetterSourceKind

  • Replication
  • Restore
  • LocalRejected
  • Unknown

EntryDetailResult

Source (line 207).

public sealed record EntryDetailResult

  • public StateQueryStatus Status { get; init; }
  • public required string TreeId { get; init; }
  • public required string Key { get; init; }
  • public EntryRecord? Entry { get; init; }
  • public static EntryDetailResult Found(string treeId, EntryRecord entry)
  • public static EntryDetailResult TreeNotFound(string treeId, string key)
  • public static EntryDetailResult KeyNotFound(string treeId, string key)

EntryHistoryBound

Source (line 11).

public enum EntryHistoryBound

  • BoundedByAge
  • Truncated
  • WalWindowFallback

EntryHistoryRequest

Source (line 15).

public sealed record EntryHistoryRequest

  • public required string TreeId { get; init; }
  • public required string Key { get; init; }
  • public HybridLogicalClock? FromHlc { get; init; }
  • public HybridLogicalClock? ToHlc { get; init; }
  • public int Limit { get; init; }
  • public string? ContinuationToken { get; init; }
  • public int ValuePreviewBudget { get; init; }
  • public bool Reverse { get; init; }

EntryHistoryResult

Source (line 258).

public sealed record EntryHistoryResult

  • public StateQueryStatus Status { get; init; }
  • public required string TreeId { get; init; }
  • public required string Key { get; init; }
  • public IReadOnlyList<EntryRevisionRecord> Revisions { get; init; }
  • public string? ContinuationToken { get; init; }
  • public EntryHistoryBound Bound { get; init; }
  • public HybridLogicalClock EarliestAvailable { get; init; }
  • public static EntryHistoryResult Found(string treeId, string key, IReadOnlyList<EntryRevisionRecord> revisions, string? continuationToken, EntryHistoryBound bound, HybridLogicalClock earliestAvailable)
  • public static EntryHistoryResult TreeNotFound(string treeId, string key)
  • public static EntryHistoryResult KeyNotFound(string treeId, string key)

EntryRecord

Source (line 13).

public sealed record EntryRecord

  • public required string Key { get; init; }
  • public byte[] ValuePreview { get; init; }
  • public int ValueLength { get; init; }
  • public bool Truncated { get; init; }
  • public HybridLogicalClock Hlc { get; init; }
  • public bool IsTombstone { get; init; }
  • public long ExpiresAtTicks { get; init; }
  • public string? CrdtShape { get; init; }
  • public IReadOnlyList<CrdtMemberValue> CurrentMembers { get; init; }
  • public LatticeMergeMode? MergeMode { get; init; }
  • public bool Raw { get; init; }
  • public bool Equals(EntryRecord? other)
  • public override int GetHashCode()

EntryRevisionRecord

Source (line 15).

public sealed record EntryRevisionRecord

  • public HybridLogicalClock Hlc { get; init; }
  • public HistoryRowKind Kind { get; init; }
  • public MutationCategory Category { get; init; }
  • public required string SourceKey { get; init; }
  • public string? OriginClusterId { get; init; }
  • public byte[]? ValuePreview { get; init; }
  • public int ValueLength { get; init; }
  • public bool Truncated { get; init; }
  • public long ValueHash { get; init; }
  • public byte[]? Delta { get; init; }
  • public LatticeMergeMode Mode { get; init; }
  • public IReadOnlyList<CrdtMemberChange> MemberChanges { get; init; }
  • public RevisionRetention Retention { get; init; }
  • public string? EndKey { get; init; }
  • public bool Equals(EntryRevisionRecord? other)
  • public override int GetHashCode()

EntryScanCancelRequest

Source (line 15).

public sealed record EntryScanCancelRequest

  • public required string TreeId { get; init; }
  • public string? ContinuationToken { get; init; }

EntryScanMode

Source (line 12).

public enum EntryScanMode

  • Snapshot
  • Live
  • LivePointInTime

EntryScanRequest

Source (line 19).

public sealed record EntryScanRequest

  • public required string TreeId { get; init; }
  • public string? StartInclusive { get; init; }
  • public string? EndExclusive { get; init; }
  • public bool Reverse { get; init; }
  • public int PageSize { get; init; }
  • public string? ContinuationToken { get; init; }
  • public int ValuePreviewBudget { get; init; }
  • public LatticePredicateNode? Predicate { get; init; }
  • public string? IndexName { get; init; }
  • public string? Tag { get; init; }
  • public EntryScanMode Mode { get; init; }

EntryScanResult

Source (line 148).

public sealed record EntryScanResult

  • public StateQueryStatus Status { get; init; }
  • public required string TreeId { get; init; }
  • public IReadOnlyList<EntryRecord> Entries { get; init; }
  • public string? ContinuationToken { get; init; }
  • public static EntryScanResult Found(string treeId, IReadOnlyList<EntryRecord> entries, string? continuationToken)
  • public static EntryScanResult NotFound(string treeId)
  • public static EntryScanResult IndexNotFound(string treeId)

LatticeStateCursorExpiredException

Source (line 10).

public sealed class LatticeStateCursorExpiredException : Exception

  • public LatticeStateCursorExpiredException()
  • public LatticeStateCursorExpiredException(string message)
  • public LatticeStateCursorExpiredException(string message, Exception innerException)

NodeKind

Source (line 30).

public enum NodeKind

  • ShardRoot
  • Internal
  • Leaf

NodeStateSummary

Source (line 13).

public sealed record NodeStateSummary

  • public NodeKind Kind { get; init; }
  • public required string NodeId { get; init; }
  • public int ShardIndex { get; init; }
  • public int Depth { get; init; }
  • public string? KeyRangeLow { get; init; }
  • public string? KeyRangeHigh { get; init; }
  • public int ChildCount { get; init; }
  • public long SubtreeKeyCount { get; init; }
  • public long SubtreeTombstoneCount { get; init; }
  • public bool SplitInProgress { get; init; }
  • public bool HasMoreChildren { get; init; }
  • public IReadOnlyList<NodeStateSummary> Children { get; init; }

RevisionRetention

Source (line 14).

public readonly record struct RevisionRetention

  • public HistoryRetentionMode Mode { get; init; }
  • public bool ValueRetained { get; init; }

ShardHotness

Source (line 11).

public sealed record ShardHotness

  • public int ShardIndex { get; init; }
  • public double OpsPerSecond { get; init; }
  • public long LiveKeys { get; init; }
  • public bool SplitInProgress { get; init; }

ShardStateSummary

Source (line 9).

public sealed record ShardStateSummary

  • public int ShardIndex { get; init; }
  • public int Depth { get; init; }
  • public bool RootIsLeaf { get; init; }
  • public long LiveKeys { get; init; }
  • public long Tombstones { get; init; }
  • public double OpsPerSecond { get; init; }
  • public bool SplitInProgress { get; init; }

ShardSummariesResult

Source (line 61).

public sealed record ShardSummariesResult

  • public StateQueryStatus Status { get; init; }
  • public required string TreeId { get; init; }
  • public IReadOnlyList<ShardStateSummary> Shards { get; init; }
  • public static ShardSummariesResult Found(string treeId, IReadOnlyList<ShardStateSummary> shards)
  • public static ShardSummariesResult NotFound(string treeId)

StateChangeKind

Source (line 10).

public enum StateChangeKind

  • Set
  • Delete
  • DeleteRange

StateChangeNotification

Source (line 23).

public sealed record StateChangeNotification

  • public required string TreeId { get; init; }
  • public required string Key { get; init; }
  • public string? EndExclusiveKey { get; init; }
  • public StateChangeKind Kind { get; init; }
  • public HybridLogicalClock Hlc { get; init; }
  • public MutationCategory Category { get; init; }
  • public required string Position { get; init; }

StateObserveRequest

Source (line 21).

public sealed record StateObserveRequest

  • public required string TreeId { get; init; }
  • public string? StartInclusive { get; init; }
  • public string? EndExclusive { get; init; }
  • public string? ContinuationToken { get; init; }
  • public bool IncludeMaintenance { get; init; }

StateQueryStatus

Source (line 6).

public enum StateQueryStatus

  • Found
  • TreeNotFound
  • KeyNotFound
  • IndexNotFound

StructureRequest

Source (line 18).

public sealed record StructureRequest

  • public const int DefaultDepthLimit
  • public const int MaxDepthLimit
  • public const int DefaultMaxNodes
  • public const int MaxNodeBudget
  • public required string TreeId { get; init; }
  • public int? ShardIndex { get; init; }
  • public string? SubPathNodeId { get; init; }
  • public int DepthLimit { get; init; }
  • public int MaxNodes { get; init; }
  • public int EffectiveDepthLimit
  • public int EffectiveMaxNodes

TagIndexCatalogPage

Source (line 51).

public sealed record TagIndexCatalogPage

  • public IReadOnlyList<TagIndexStateSummary> Entries { get; init; }
  • public string? NextPageToken { get; init; }

TagIndexStateSummary

Source (line 11).

public sealed record TagIndexStateSummary

  • public required string IndexName { get; init; }
  • public required string TreeId { get; init; }
  • public int ShardCount { get; init; }

TagMember

Source (line 12).

public sealed record TagMember

  • public required string TreeId { get; init; }
  • public required string Key { get; init; }

TagMemberScanPage

Source (line 116).

public sealed record TagMemberScanPage

  • public IReadOnlyList<TagMember> Entries { get; init; }
  • public string? NextPageToken { get; init; }

TagMemberScanRequest

Source (line 16).

public sealed record TagMemberScanRequest

  • public const int DefaultPageSize
  • public const int MaxPageSize
  • public required string IndexName { get; init; }
  • public required string Tag { get; init; }
  • public int PageSize { get; init; }
  • public string? PageToken { get; init; }
  • public int EffectivePageSize

TagValueCatalogPage

Source (line 72).

public sealed record TagValueCatalogPage

  • public IReadOnlyList<string> Entries { get; init; }
  • public string? NextPageToken { get; init; }

TreeCatalogEntry

Source (line 12).

public sealed record TreeCatalogEntry

  • public required string TreeId { get; init; }
  • public bool IsAlias { get; init; }
  • public string? PhysicalTreeId { get; init; }
  • public TreeLifecycleState Lifecycle { get; init; }
  • public int ShardCount { get; init; }
  • public required TreeConfigSummary Config { get; init; }
  • public string? RestoreShadowOfTreeId { get; init; }

TreeCatalogPage

Source (line 11).

public sealed record TreeCatalogPage

  • public IReadOnlyList<TreeCatalogEntry> Entries { get; init; }
  • public string? NextPageToken { get; init; }

TreeConfigSummary

Source (line 17).

public sealed record TreeConfigSummary

  • public int ShardCount { get; init; }
  • public int VirtualShardCount { get; init; }
  • public int? MaxLeafKeys { get; init; }
  • public int? MaxInternalChildren { get; init; }
  • public int WalPartitions { get; init; }
  • public TimeSpan SoftDeleteDuration { get; init; }

TreeLifecycleState

Source (line 6).

public enum TreeLifecycleState

  • Active
  • SoftDeleted
  • Purging

TreeMetrics

Source (line 12).

public sealed record TreeMetrics

  • public required string TreeId { get; init; }
  • public TreeLifecycleState Lifecycle { get; init; }
  • public int ShardCount { get; init; }
  • public long LiveKeys { get; init; }
  • public long Tombstones { get; init; }
  • public int MinDepth { get; init; }
  • public int MaxDepth { get; init; }
  • public int ShardsSplitting { get; init; }
  • public int? ViewCount { get; init; }
  • public long? ViewLagTotal { get; init; }
  • public IReadOnlyList<ShardHotness> ShardHotness { get; init; }
  • public bool DetailPaused { get; init; }

TreeMetricsRequest

Source (line 14).

public sealed record TreeMetricsRequest

  • public IReadOnlyList<string>? TreeIds { get; init; }
  • public bool IncludeShardHotness { get; init; }
  • public bool IncludeViewLag { get; init; }
  • public bool IncludeSystemTrees { get; init; }
  • public TimeSpan? SampleInterval { get; init; }

TreeMetricsSnapshot

Source (line 14).

public sealed record TreeMetricsSnapshot

  • public DateTimeOffset SampledAt { get; init; }
  • public bool IsInitial { get; init; }
  • public IReadOnlyList<TreeMetrics> Trees { get; init; }
  • public IReadOnlyList<string> RemovedTreeIds { get; init; }

TreeStateSummary

Source (line 10).

public sealed record TreeStateSummary

  • public required string TreeId { get; init; }
  • public TreeLifecycleState Lifecycle { get; init; }
  • public int ShardCount { get; init; }
  • public long TotalLiveKeys { get; init; }
  • public long TombstoneCount { get; init; }
  • public int MinDepth { get; init; }
  • public int MaxDepth { get; init; }
  • public int ShardsSplitting { get; init; }
  • public TreeConfigSummary? Config { get; init; }
  • public DateTimeOffset SampledAt { get; init; }

TreeStructureResult

Source (line 94).

public sealed record TreeStructureResult

  • public StateQueryStatus Status { get; init; }
  • public required string TreeId { get; init; }
  • public IReadOnlyList<NodeStateSummary> Roots { get; init; }
  • public bool Truncated { get; init; }
  • public static TreeStructureResult Found(string treeId, IReadOnlyList<NodeStateSummary> roots, bool truncated)
  • public static TreeStructureResult NotFound(string treeId)

TreeSummaryResult

Source (line 31).

public sealed record TreeSummaryResult

  • public StateQueryStatus Status { get; init; }
  • public required string TreeId { get; init; }
  • public TreeStateSummary? Summary { get; init; }
  • public static TreeSummaryResult Found(TreeStateSummary summary)
  • public static TreeSummaryResult NotFound(string treeId)

ViewCatalogPage

Source (line 31).

public sealed record ViewCatalogPage

  • public IReadOnlyList<ViewStateSummary> Entries { get; init; }
  • public string? NextPageToken { get; init; }

ViewStateSummary

Source (line 10).

public sealed record ViewStateSummary

  • public required string ViewName { get; init; }
  • public required string SourceTreeId { get; init; }
  • public long? Lag { get; init; }
  • public long? EntryCount { get; init; }
  • public string? LastDigest { get; init; }
  • public bool IsAggregation { get; init; }
  • public bool IsHistory { get; init; }
  • public string? ProjectionProviderKey { get; init; }
  • public string? ProjectionVersion { get; init; }