---
title: "Public declaration reference: Orleans.Lattice.Replication.LatticeReplicationPreconditionResult to Orleans.Lattice.Replication.WireVersionNegotiationState - Replication Public API Reference"
url: "https://nsta1.github.io/Orleans.Lattice/docs/lattice.replication/api/public-declaration-reference-2.html"
source: "https://github.com/NSTA1/Orleans.Lattice/blob/release/10.5/docs/lattice.replication/api.md?plain=1#L1433-L2107"
agent_spec: "https://nsta1.github.io/Orleans.Lattice/docs/agents/api/replication.json"
package: "Orleans.Lattice.Replication"
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.replication/llms-full.txt"
---
# Public declaration reference: `Orleans.Lattice.Replication.LatticeReplicationPreconditionResult` to `Orleans.Lattice.Replication.WireVersionNegotiationState`

Part of [Public declaration reference](public-declaration-reference.md), in [Replication Public API Reference](../api.md).

## `Orleans.Lattice.Replication.LatticeReplicationPreconditionResult`

[Source](https://github.com/NSTA1/Orleans.Lattice/blob/release/10.5/src/lattice.replication/LatticeReplicationPreconditionResult.cs) (line 10).

`public readonly record struct LatticeReplicationPreconditionResult`

- `public bool IsSatisfied { get; init; }`
- `public string? FailureReason { get; init; }`
- `public static LatticeReplicationPreconditionResult Satisfied { get; }`
- `public static LatticeReplicationPreconditionResult Rejected(string reason)`

## `Orleans.Lattice.Replication.LatticeReplicationSecurityOptions`

[Source](https://github.com/NSTA1/Orleans.Lattice/blob/release/10.5/src/lattice.replication/Security/LatticeReplicationSecurityOptions.cs) (line 30).

`public sealed class LatticeReplicationSecurityOptions`

- `public bool RequireAuthentication { get; set; }`
- `public bool BindCredentialToOriginCluster { get; set; }`
- `public TimeSpan SecretRefreshInterval { get; set; }`
- `public bool ScanConfigurationForSecrets { get; set; }`

## `Orleans.Lattice.Replication.LatticeReplicationSecurityServiceCollectionExtensions`

[Source](https://github.com/NSTA1/Orleans.Lattice/blob/release/10.5/src/lattice.replication/Security/LatticeReplicationSecurityServiceCollectionExtensions.cs) (line 16).

`public static class LatticeReplicationSecurityServiceCollectionExtensions`

- `public static ISiloBuilder AddLatticeReplicationSecrets<TSource>(this ISiloBuilder builder) where TSource : class, ILatticeReplicationSecretSource`
- `public static ISiloBuilder AddLatticeReplicationSecrets<TSource>( this ISiloBuilder builder, Func<IServiceProvider, TSource> factory) where TSource : class, ILatticeReplicationSecretSource`
- `public static ISiloBuilder AddLatticeReplicationSecretsFromConfiguration( this ISiloBuilder builder, IConfiguration section)`
- `public static ISiloBuilder ConfigureLatticeReplicationSecurity( this ISiloBuilder builder, Action<LatticeReplicationSecurityOptions> configure)`

## `Orleans.Lattice.Replication.LatticeReplicationServiceCollectionExtensions`

[Source](https://github.com/NSTA1/Orleans.Lattice/blob/release/10.5/src/lattice.replication/LatticeReplicationServiceCollectionExtensions.HealthChecks.cs) (line 7).

`public static partial class LatticeReplicationServiceCollectionExtensions`

- `public static IHealthChecksBuilder AddLatticeReplicationHealthCheck( this IHealthChecksBuilder builder, string? name = null, HealthStatus? failureStatus = null, IEnumerable<string>? tags = null)`

[Source](https://github.com/NSTA1/Orleans.Lattice/blob/release/10.5/src/lattice.replication/LatticeReplicationServiceCollectionExtensions.ReplicationConfig.cs) (line 11).

`public static partial class LatticeReplicationServiceCollectionExtensions`

[Source](https://github.com/NSTA1/Orleans.Lattice/blob/release/10.5/src/lattice.replication/LatticeReplicationServiceCollectionExtensions.SystemTrees.cs) (line 6).

`public static partial class LatticeReplicationServiceCollectionExtensions`

- `public static ISiloBuilder ReplicateLatticeSystemTrees( this ISiloBuilder builder, bool includeAudit = false)`

[Source](https://github.com/NSTA1/Orleans.Lattice/blob/release/10.5/src/lattice.replication/LatticeReplicationServiceCollectionExtensions.WalSaturationFlowControl.cs) (line 6).

`public static partial class LatticeReplicationServiceCollectionExtensions`

- `public static Orleans.Hosting.ISiloBuilder AddWalSaturationReceiverFlowControl( this Orleans.Hosting.ISiloBuilder builder, Action<WalSaturationReceiverFlowControlOptions>? configure = null)`

[Source](https://github.com/NSTA1/Orleans.Lattice/blob/release/10.5/src/lattice.replication/LatticeReplicationServiceCollectionExtensions.cs) (line 16).

`public static partial class LatticeReplicationServiceCollectionExtensions`

- `public static ISiloBuilder AddLatticeReplication( this ISiloBuilder builder, Action<LatticeReplicationOptions> configure, bool enableRuntimeConfig = false)`
- `public static ISiloBuilder ConfigureLatticeReplication( this ISiloBuilder builder, Action<LatticeReplicationOptions> configure)`
- `public static ISiloBuilder ConfigureLatticeReplication( this ISiloBuilder builder, string treeName, Action<LatticeReplicationOptions> configure)`
- `public static ISiloBuilder AddLatticeAutoSharedDictionary( this ISiloBuilder builder, Action<CompressionDictionaryTrainingOptions>? configureTraining = null)`

[Source](https://github.com/NSTA1/Orleans.Lattice/blob/release/10.5/src/lattice.replication/LatticeSagaParticipantRegistrationExtensions.cs) (line 7).

`public static partial class LatticeReplicationServiceCollectionExtensions`

- `public static ISiloBuilder AddLatticeSagaParticipant<TParticipant>( this ISiloBuilder builder, string? name = null) where TParticipant : class, ISagaParticipant`

## `Orleans.Lattice.Replication.LatticeReplicationSharedSecret`

[Source](https://github.com/NSTA1/Orleans.Lattice/blob/release/10.5/src/lattice.replication/Security/LatticeReplicationSharedSecret.cs) (line 14).

`public static class LatticeReplicationSharedSecret`

- `public const int MinimumLength`
- `public static string Generate(int byteLength = 32)`
- `public static bool IsWellFormed(string? secret)`
- `public static bool FixedTimeEquals(string? a, string? b)`

## `Orleans.Lattice.Replication.LatticeReplicationTreeStatus`

[Source](https://github.com/NSTA1/Orleans.Lattice/blob/release/10.5/src/lattice.replication/LatticeReplicationTreeStatus.cs) (line 37).

`public readonly record struct LatticeReplicationTreeStatus( string TreeId, bool Enabled, LatticeMergeMode? Mode, bool Ambiguous)`

- `Primary constructor / positional members: ( string TreeId, bool Enabled, LatticeMergeMode? Mode, bool Ambiguous)`
- `public LatticeReplicationEnrollmentSource Source { get; init; }`

## `Orleans.Lattice.Replication.LatticeSystemTreeNames`

[Source](https://github.com/NSTA1/Orleans.Lattice/blob/release/10.5/src/lattice.replication/LatticeSystemTreeNames.cs) (line 38).

`public static class LatticeSystemTreeNames`

- `public const string MembershipGroups`
- `public const string MembershipEdges`
- `public const string AuthPolicy`
- `public const string AuthAudit`
- `public const string AdminAudit`
- `public const string ReplicationConfig`
- `public const string ReplicationConfigMapKey`
- `public static IReadOnlyDictionary<string, LatticeMergeMode> BuildReplicationConfigEnrolmentMap()`
- `public static IReadOnlyDictionary<string, LatticeMergeMode> BuildEnrolmentMap(bool includeAudit)`

## `Orleans.Lattice.Replication.LeafReReplayOutcome`

[Source](https://github.com/NSTA1/Orleans.Lattice/blob/release/10.5/src/lattice.replication/LeafReReplayOutcome.cs) (line 9).

`public readonly record struct LeafReReplayOutcome`

- `public bool Attempted { get; init; }`
- `public int RangesProcessed { get; init; }`
- `public int EntriesReReplayed { get; init; }`
- `public LeafReReplaySkipReason SkipReason { get; init; }`
- `public static LeafReReplayOutcome NotAttempted`

## `Orleans.Lattice.Replication.LeafReReplayRange`

[Source](https://github.com/NSTA1/Orleans.Lattice/blob/release/10.5/src/lattice.replication/LeafReReplayRange.cs) (line 17).

`public readonly record struct LeafReReplayRange`

- `public string? StartKey { get; init; }`
- `public string? EndKey { get; init; }`
- `public bool Contains(string? key)`

## `Orleans.Lattice.Replication.LeafReReplaySkipReason`

[Source](https://github.com/NSTA1/Orleans.Lattice/blob/release/10.5/src/lattice.replication/LeafReReplaySkipReason.cs) (line 10).

`public enum LeafReReplaySkipReason`

- `None = 0`
- `Disabled = 1`
- `RangeEmpty = 2`
- `WalTrimmed = 3`

## `Orleans.Lattice.Replication.LocalVcSeedReport`

[Source](https://github.com/NSTA1/Orleans.Lattice/blob/release/10.5/src/lattice.replication/LocalVcSeedReport.cs) (line 45).

`public readonly record struct LocalVcSeedReport( string TreeName, VersionVector? Frontier, long EntriesScanned, bool SeedApplied)`

- `Primary constructor / positional members: ( string TreeName, VersionVector? Frontier, long EntriesScanned, bool SeedApplied)`

## `Orleans.Lattice.Replication.LatticeReplicationHealthCheckOptions.LongTier`

[Source](https://github.com/NSTA1/Orleans.Lattice/blob/release/10.5/src/lattice.replication/LatticeReplicationHealthCheckOptions.cs) (line 164).

`public readonly record struct LongTier(long Degraded, long Unhealthy)`

- `Primary constructor / positional members: (long Degraded, long Unhealthy)`

## `Orleans.Lattice.Replication.MerkleWalkAbortReason`

[Source](https://github.com/NSTA1/Orleans.Lattice/blob/release/10.5/src/lattice.replication/MerkleWalkAbortReason.cs) (line 8).

`public enum MerkleWalkAbortReason`

- `None = 0`
- `DepthCapExceeded = 1`
- `ByteBudgetExceeded = 2`
- `RemoteUnavailable = 3`
- `VersionSkew = 4`

## `Orleans.Lattice.Replication.MerkleWalkOutcome`

[Source](https://github.com/NSTA1/Orleans.Lattice/blob/release/10.5/src/lattice.replication/MerkleWalkOutcome.cs) (line 9).

`public readonly record struct MerkleWalkOutcome`

- `public bool Localised { get; init; }`
- `public int LeavesLocalised { get; init; }`
- `public IReadOnlyList<LeafReReplayRange> LocalisedRanges { get; init; }`
- `public int DepthReached { get; init; }`
- `public MerkleWalkAbortReason AbortReason { get; init; }`
- `public long BytesInspected { get; init; }`
- `public static MerkleWalkOutcome NotLocalised`

## `Orleans.Lattice.Replication.MerkleWalkProbeRequest`

[Source](https://github.com/NSTA1/Orleans.Lattice/blob/release/10.5/src/lattice.replication/MerkleWalkProbeRequest.cs) (line 11).

`public readonly record struct MerkleWalkProbeRequest`

- `public string TreeName { get; init; }`
- `public int ShardIndex { get; init; }`
- `public string? RangeStartKey { get; init; }`
- `public string? RangeEndKey { get; init; }`
- `public int Depth { get; init; }`

## `Orleans.Lattice.Replication.MerkleWalkProbeResponse`

[Source](https://github.com/NSTA1/Orleans.Lattice/blob/release/10.5/src/lattice.replication/MerkleWalkProbeResponse.cs) (line 12).

`public readonly record struct MerkleWalkProbeResponse`

- `public bool Available { get; init; }`
- `public LeafProjectionDigest Digest { get; init; }`
- `public static MerkleWalkProbeResponse Unavailable`

## `Orleans.Lattice.Replication.NoOpReceiverFlowControlPolicy`

[Source](https://github.com/NSTA1/Orleans.Lattice/blob/release/10.5/src/lattice.replication/NoOpReceiverFlowControlPolicy.cs) (line 12).

`public sealed class NoOpReceiverFlowControlPolicy : IReceiverFlowControlPolicy`

- `public static NoOpReceiverFlowControlPolicy Instance { get; }`
- `public ValueTask<ReceiverFlowControlHint> EvaluateAsync( ReceiverFlowControlContext context, CancellationToken cancellationToken)`

## `Orleans.Lattice.Replication.NoParticipantSagaControlHandler`

[Source](https://github.com/NSTA1/Orleans.Lattice/blob/release/10.5/src/lattice.replication/NoParticipantSagaControlHandler.cs) (line 13).

`public sealed class NoParticipantSagaControlHandler : ILatticeSagaControlHandler`

- `public Task<SagaControlResponse> PrepareAsync(SagaControlRequest request, CancellationToken cancellationToken = default)`
- `public Task<SagaControlResponse> CommitAsync(SagaControlRequest request, CancellationToken cancellationToken = default)`
- `public Task<SagaControlResponse> AbortAsync(SagaControlRequest request, CancellationToken cancellationToken = default)`
- `public Task<SagaControlResponse> GetStatusAsync(SagaControlRequest request, CancellationToken cancellationToken = default)`

## `Orleans.Lattice.Replication.OperatorReseedDecision`

[Source](https://github.com/NSTA1/Orleans.Lattice/blob/release/10.5/src/lattice.replication/OperatorReseedDecision.cs) (line 36).

`public readonly record struct OperatorReseedDecision( bool Triggered, DateTimeOffset? LastRequestedAt, TimeSpan? RetryAfter)`

- `Primary constructor / positional members: ( bool Triggered, DateTimeOffset? LastRequestedAt, TimeSpan? RetryAfter)`

## `Orleans.Lattice.Replication.PeerChangeKind`

[Source](https://github.com/NSTA1/Orleans.Lattice/blob/release/10.5/src/lattice.replication/PeerChangeKind.cs) (line 13).

`public enum PeerChangeKind`

- `Added = 0`
- `Removed = 1`

## `Orleans.Lattice.Replication.PeerChanged`

[Source](https://github.com/NSTA1/Orleans.Lattice/blob/release/10.5/src/lattice.replication/PeerChanged.cs) (line 27).

`public readonly record struct PeerChanged(string PeerClusterId, PeerChangeKind Kind)`

- `Primary constructor / positional members: (string PeerClusterId, PeerChangeKind Kind)`

## `Orleans.Lattice.Replication.PeerHighWaterMarkRequest`

[Source](https://github.com/NSTA1/Orleans.Lattice/blob/release/10.5/src/lattice.replication/PeerHighWaterMarkRequest.cs) (line 12).

`public readonly record struct PeerHighWaterMarkRequest`

- `public string TreeName { get; init; }`
- `public string OriginClusterId { get; init; }`

## `Orleans.Lattice.Replication.PeerHighWaterMarkResponse`

[Source](https://github.com/NSTA1/Orleans.Lattice/blob/release/10.5/src/lattice.replication/PeerHighWaterMarkResponse.cs) (line 15).

`public readonly record struct PeerHighWaterMarkResponse`

- `public HybridLogicalClock Clock { get; init; }`

## `Orleans.Lattice.Replication.ReceiverFlowControlContext`

[Source](https://github.com/NSTA1/Orleans.Lattice/blob/release/10.5/src/lattice.replication/ReceiverFlowControlContext.cs) (line 16).

`public readonly record struct ReceiverFlowControlContext`

- `public string TreeName { get; init; }`
- `public string OriginClusterId { get; init; }`
- `public int EntryCount { get; init; }`
- `public double ApplyDurationMs { get; init; }`

## `Orleans.Lattice.Replication.ReceiverFlowControlHint`

[Source](https://github.com/NSTA1/Orleans.Lattice/blob/release/10.5/src/lattice.replication/ReceiverFlowControlHint.cs) (line 21).

`public readonly record struct ReceiverFlowControlHint`

- `public int? SuggestedBatchSize { get; init; }`
- `public int? PauseForMs { get; init; }`
- `public static ReceiverFlowControlHint None`

## `Orleans.Lattice.Replication.RemediationDisabledReason`

[Source](https://github.com/NSTA1/Orleans.Lattice/blob/release/10.5/src/lattice.replication/RemediationDisabledReason.cs) (line 16).

`public enum RemediationDisabledReason`

- `OptOut = 0`
- `BudgetExhausted = 1`
- `CircuitOpen = 2`

## `Orleans.Lattice.Replication.RemediationGuard`

[Source](https://github.com/NSTA1/Orleans.Lattice/blob/release/10.5/src/lattice.replication/RemediationGuard.cs) (line 39).

`public sealed class RemediationGuard`

- `public RemediationGuard()`
- `public bool TryBeginRemediation(string peer, int windowBudget, long windowTicks, long nowTicks)`
- `public void RecordEntriesShipped(string peer, int entries)`
- `public bool IsCircuitBlocking(string peer, long cooldownTicks, long nowTicks)`
- `public void RecordSuccess(string peer)`
- `public bool RecordFailure(string peer, int failureThreshold, long nowTicks)`
- `public static void PublishDisabled(string tree, string peer, RemediationDisabledReason reason)`
- `public static void ClearDisabled(string tree, string peer)`

## `Orleans.Lattice.Replication.RemoteSnapshotMetadata`

[Source](https://github.com/NSTA1/Orleans.Lattice/blob/release/10.5/src/lattice.replication/RemoteSnapshotMetadata.cs) (line 33).

`public readonly record struct RemoteSnapshotMetadata`

- `public string TreeName { get; init; }`
- `public string SourceClusterId { get; init; }`
- `public HybridLogicalClock AsOfHlc { get; init; }`
- `public VersionVector CausalStableFrontier { get; init; }`
- `public long ExportEpoch { get; init; }`
- `public SnapshotSourceGeneration? OpenGeneration { get; init; }`

## `Orleans.Lattice.Replication.RemoteSnapshotMetadataRequest`

[Source](https://github.com/NSTA1/Orleans.Lattice/blob/release/10.5/src/lattice.replication/RemoteSnapshotMetadataRequest.cs) (line 21).

`public readonly record struct RemoteSnapshotMetadataRequest`

- `public string TreeName { get; init; }`
- `public string SourceClusterId { get; init; }`
- `public HybridLogicalClock FromAsOfHlc { get; init; }`

## `Orleans.Lattice.Replication.RemoteSnapshotProvider`

[Source](https://github.com/NSTA1/Orleans.Lattice/blob/release/10.5/src/lattice.replication/RemoteSnapshotProvider.cs) (line 45).

`public sealed class RemoteSnapshotProvider : IBootstrapSnapshotSource`

- `public RemoteSnapshotProvider( IRemoteSnapshotTransport transport, ILogger<RemoteSnapshotProvider> logger)`
- `public Task<SnapshotStream> ExportAsync( string treeName, HybridLogicalClock asOfHlc, CancellationToken cancellationToken = default)`
- `public async Task<SnapshotStream> ExportAsync( string treeName, string sourceClusterId, HybridLogicalClock asOfHlc, CancellationToken cancellationToken = default)`

## `Orleans.Lattice.Replication.RemoteSnapshotStreamItem`

[Source](https://github.com/NSTA1/Orleans.Lattice/blob/release/10.5/src/lattice.replication/RemoteSnapshotStreamItem.cs) (line 20).

`public readonly record struct RemoteSnapshotStreamItem`

- `public SnapshotEntry Entry { get; init; }`
- `public SnapshotSourceGeneration? CloseGeneration { get; init; }`

## `Orleans.Lattice.Replication.ReplicationAck`

[Source](https://github.com/NSTA1/Orleans.Lattice/blob/release/10.5/src/lattice.replication/ReplicationAck.cs) (line 13).

`public readonly record struct ReplicationAck`

- `public bool Accepted { get; init; }`
- `public HybridLogicalClock HighestAppliedHlc { get; init; }`
- `public HybridLogicalClock? BlockedAtHlc { get; init; }`
- `public int? SuggestedBatchSize { get; init; }`
- `public int? PauseForMs { get; init; }`
- `public int? SupportedWireVersion { get; init; }`
- `public uint[]? AdvertisedDictionaryIds { get; init; }`
- `public AdvertisedCompressionDictionary[]? AdvertisedDictionaries { get; init; }`
- `public long? BootstrapEpoch { get; init; }`
- `public Guid? ReceiverLineage { get; init; }`
- `public bool SourceLineageRefused { get; init; }`

## `Orleans.Lattice.Replication.ReplicationBatch`

[Source](https://github.com/NSTA1/Orleans.Lattice/blob/release/10.5/src/lattice.replication/ReplicationBatch.cs) (line 17).

`public readonly record struct ReplicationBatch`

- `public string TargetClusterId { get; init; }`
- `public string TreeName { get; init; }`
- `public string OriginClusterId { get; init; }`
- `public ReadOnlyMemory<byte> Payload { get; init; }`
- `public ReplicationBatchEnvelope? Envelope { get; init; }`
- `public ReplicationBatchEncodedEnvelope? EncodedEnvelope { get; init; }`
- `public long? ReseedAfterEpoch { get; init; }`

## `Orleans.Lattice.Replication.ReplicationBatchEncodedEnvelope`

[Source](https://github.com/NSTA1/Orleans.Lattice/blob/release/10.5/src/lattice.replication/ReplicationBatchEncodedEnvelope.cs) (line 31).

`public readonly record struct ReplicationBatchEncodedEnvelope`

- `public EncodedBatchHeader Header { get; init; }`
- `public System.ReadOnlyMemory<System.ArraySegment<byte>> EncodedEntries { get; init; }`

## `Orleans.Lattice.Replication.ReplicationBatchEnvelope`

[Source](https://github.com/NSTA1/Orleans.Lattice/blob/release/10.5/src/lattice.replication/ReplicationBatchEnvelope.cs) (line 22).

`public readonly record struct ReplicationBatchEnvelope`

- `public int WireVersion { get; init; }`
- `public string TreeName { get; init; }`
- `public string OriginClusterId { get; init; }`
- `public IReadOnlyList<WalRecord> Entries { get; init; }`
- `public const int CurrentVersion`
- `public const int CurrentMinorVersion`

## `Orleans.Lattice.Replication.ReplicationContactDirection`

[Source](https://github.com/NSTA1/Orleans.Lattice/blob/release/10.5/src/lattice.replication/ReplicationPeerStats.cs) (line 13).

`public enum ReplicationContactDirection`

- `Outbound = 0`
- `Inbound = 1`

## `Orleans.Lattice.Replication.ReplicationPeerSnapshot`

[Source](https://github.com/NSTA1/Orleans.Lattice/blob/release/10.5/src/lattice.replication/ReplicationPeerStats.cs) (line 569).

`public readonly record struct ReplicationPeerSnapshot( string Tree, string Peer, long EntriesBehind, long BytesBehind, long ConsecutiveErrors, double LastContactSeconds)`

- `Primary constructor / positional members: ( string Tree, string Peer, long EntriesBehind, long BytesBehind, long ConsecutiveErrors, double LastContactSeconds)`
- `public ReplicationContactDirection Direction { get; init; }`
- `public long InFlight { get; init; }`

## `Orleans.Lattice.Replication.ReplicationPeerStats`

[Source](https://github.com/NSTA1/Orleans.Lattice/blob/release/10.5/src/lattice.replication/ReplicationPeerStats.StatusRead.cs) (line 3).

`public partial class ReplicationPeerStats`

[Source](https://github.com/NSTA1/Orleans.Lattice/blob/release/10.5/src/lattice.replication/ReplicationPeerStats.cs) (line 52).

`public partial class ReplicationPeerStats`

- `public ReplicationPeerStats()`
- `public void RecordBacklog(string tree, string peer, long entriesBehind, long bytesBehind)`
- `public void RecordInFlight(string tree, string peer, long depth)`
- `public void RecordSuccess(string tree, string peer)`
- `public void RecordError(string tree, string peer)`
- `public void RecordInboundSuccess(string tree, string originPeer)`
- `public void RecordInboundError(string tree, string originPeer)`
- `public IReadOnlyCollection<ReplicationPeerSnapshot> Snapshot()`

## `Orleans.Lattice.Replication.ReplicationTenantIsolationDecision`

[Source](https://github.com/NSTA1/Orleans.Lattice/blob/release/10.5/src/lattice.replication/ReplicationTenantIsolationDecision.cs) (line 18).

`public enum ReplicationTenantIsolationDecision`

- `Admit = 0`
- `RejectUnknownTenant = 1`
- `RejectOutOfRegion = 2`
- `RejectSuspendedTenant = 3`
- `RejectSourceNotResident = 4`
- `RejectMissingSourceIdentity = 5`

## `Orleans.Lattice.Replication.ReplicationTypeAliases`

[Source](https://github.com/NSTA1/Orleans.Lattice/blob/release/10.5/src/lattice.replication/ReplicationTypeAliases.cs) (line 12).

`public static class ReplicationTypeAliases`

## `Orleans.Lattice.Replication.SagaControlRequest`

[Source](https://github.com/NSTA1/Orleans.Lattice/blob/release/10.5/src/lattice.replication/SagaControlRequest.cs) (line 18).

`public readonly record struct SagaControlRequest`

- `public string SagaId { get; init; }`
- `public string TargetTree { get; init; }`
- `public string ManifestId { get; init; }`
- `public string CoordinatorClusterId { get; init; }`
- `public string? SetId { get; init; }`
- `public string? RequesterClusterId { get; init; }`

## `Orleans.Lattice.Replication.SagaControlResponse`

[Source](https://github.com/NSTA1/Orleans.Lattice/blob/release/10.5/src/lattice.replication/SagaControlResponse.cs) (line 15).

`public readonly record struct SagaControlResponse`

- `public string SagaId { get; init; }`
- `public SagaPhase Phase { get; init; }`
- `public SagaVote Vote { get; init; }`
- `public string Detail { get; init; }`

## `Orleans.Lattice.Replication.SagaParticipantPrepareResult`

[Source](https://github.com/NSTA1/Orleans.Lattice/blob/release/10.5/src/lattice.replication/SagaParticipantPrepareResult.cs) (line 19).

`public readonly record struct SagaParticipantPrepareResult(SagaVote Vote, string? Detail = null)`

- `Primary constructor / positional members: (SagaVote Vote, string? Detail = null)`

## `Orleans.Lattice.Replication.SagaPhase`

[Source](https://github.com/NSTA1/Orleans.Lattice/blob/release/10.5/src/lattice.replication/SagaPhase.cs) (line 10).

`public enum SagaPhase`

- `None = 0`
- `Prepared = 1`
- `Committed = 2`
- `Aborted = 3`

## `Orleans.Lattice.Replication.SagaVote`

[Source](https://github.com/NSTA1/Orleans.Lattice/blob/release/10.5/src/lattice.replication/SagaVote.cs) (line 9).

`public enum SagaVote`

- `None = 0`
- `Commit = 1`
- `Abort = 2`

## `Orleans.Lattice.Replication.SharedDictionaryNegotiation`

[Source](https://github.com/NSTA1/Orleans.Lattice/blob/release/10.5/src/lattice.replication/SharedDictionaryNegotiation.cs) (line 15).

`public static class SharedDictionaryNegotiation`

- `public static SharedDictionaryNegotiationResult Negotiate( uint configuredDictionaryId, IReadOnlyCollection<uint>? peerAdvertisedIds)`
- `public static SharedDictionaryNegotiationResult Negotiate( uint configuredDictionaryId, ulong configuredFingerprint, IReadOnlyCollection<AdvertisedCompressionDictionary>? peerAdvertised)`

## `Orleans.Lattice.Replication.SharedDictionaryNegotiationResult`

[Source](https://github.com/NSTA1/Orleans.Lattice/blob/release/10.5/src/lattice.replication/SharedDictionaryNegotiationResult.cs) (line 44).

`public readonly record struct SharedDictionaryNegotiationResult( uint EffectiveDictionaryId, bool Matched, bool PeerCapabilityKnown, bool FellBack, bool FingerprintMismatch = false)`

- `Primary constructor / positional members: ( uint EffectiveDictionaryId, bool Matched, bool PeerCapabilityKnown, bool FellBack, bool FingerprintMismatch = false)`

## `Orleans.Lattice.Replication.SharedDictionaryNegotiationSnapshot`

[Source](https://github.com/NSTA1/Orleans.Lattice/blob/release/10.5/src/lattice.replication/SharedDictionaryNegotiationSnapshot.cs) (line 31).

`public readonly record struct SharedDictionaryNegotiationSnapshot( string Tree, string Peer, uint EffectiveDictionaryId, bool Matched, bool PeerCapabilityKnown, bool FellBack, bool FingerprintMismatch = false)`

- `Primary constructor / positional members: ( string Tree, string Peer, uint EffectiveDictionaryId, bool Matched, bool PeerCapabilityKnown, bool FellBack, bool FingerprintMismatch = false)`

## `Orleans.Lattice.Replication.SharedDictionaryNegotiationState`

[Source](https://github.com/NSTA1/Orleans.Lattice/blob/release/10.5/src/lattice.replication/SharedDictionaryNegotiationState.cs) (line 23).

`public sealed class SharedDictionaryNegotiationState`

- `public void Record(string tree, string peer, SharedDictionaryNegotiationResult result)`
- `public IReadOnlyCollection<SharedDictionaryNegotiationSnapshot> Snapshot()`

## `Orleans.Lattice.Replication.SnapshotEntry`

[Source](https://github.com/NSTA1/Orleans.Lattice/blob/release/10.5/src/lattice.replication/SnapshotEntry.cs) (line 55).

`public readonly record struct SnapshotEntry`

- `public string Key { get; init; }`
- `public byte[] Value { get; init; }`
- `public HybridLogicalClock Timestamp { get; init; }`
- `public bool IsPrepared { get; init; }`
- `public bool IsTombstone { get; init; }`
- `public Guid TransactionId { get; init; }`
- `public int SourceShardIndex { get; init; }`
- `public int AtomicBatchSize { get; init; }`
- `public int AtomicBatchIndex { get; init; }`
- `public long ExpiresAtTicks { get; init; }`
- `public byte[]? Delta { get; init; }`
- `public Orleans.Lattice.LatticeMergeMode Mode { get; init; }`
- `public bool? SettledDecision { get; init; }`
- `public bool IsDecision`
- `public bool Equals(SnapshotEntry other)`
- `public override int GetHashCode()`

## `Orleans.Lattice.Replication.SnapshotSourceGeneration`

[Source](https://github.com/NSTA1/Orleans.Lattice/blob/release/10.5/src/lattice.replication/SnapshotSourceGeneration.cs) (line 8).

`public readonly record struct SnapshotSourceGeneration`

- `public string? PhysicalTreeId { get; init; }`
- `public long? ShardMapVersion { get; init; }`
- `public Guid? Lineage { get; init; }`
- `public long? DeleteEpoch { get; init; }`
- `public bool? IsDeleted { get; init; }`

## `Orleans.Lattice.Replication.SnapshotStream`

[Source](https://github.com/NSTA1/Orleans.Lattice/blob/release/10.5/src/lattice.replication/SnapshotStream.cs) (line 18).

`public sealed class SnapshotStream`

- `public string TreeName { get; }`
- `public HybridLogicalClock AsOfHlc { get; }`
- `public VersionVector CausalStableFrontier { get; }`
- `public SnapshotSourceGeneration? OpenGeneration { get; init; }`
- `public SnapshotSourceGeneration? CloseGeneration { get; internal set; }`
- `public IAsyncEnumerable<SnapshotEntry> Entries { get; }`
- `public SnapshotStream( string treeName, HybridLogicalClock asOfHlc, VersionVector causalStableFrontier, IAsyncEnumerable<SnapshotEntry> entries)`

## `Orleans.Lattice.Replication.WalSaturationReceiverFlowControlOptions`

[Source](https://github.com/NSTA1/Orleans.Lattice/blob/release/10.5/src/lattice.replication/WalSaturationReceiverFlowControlOptions.cs) (line 24).

`public sealed class WalSaturationReceiverFlowControlOptions`

- `public const double DefaultThrottledBatchRatio`
- `public const int DefaultThrottledPauseMs`
- `public const int DefaultSaturatedBatchSize`
- `public const int DefaultSaturatedPauseMs`
- `public double ThrottledBatchRatio { get; set; }`
- `public int ThrottledPauseMs { get; set; }`
- `public int SaturatedBatchSize { get; set; }`
- `public int SaturatedPauseMs { get; set; }`

## `Orleans.Lattice.Replication.WalSaturationReceiverFlowControlPolicy`

[Source](https://github.com/NSTA1/Orleans.Lattice/blob/release/10.5/src/lattice.replication/WalSaturationReceiverFlowControlPolicy.cs) (line 43).

`public sealed class WalSaturationReceiverFlowControlPolicy : IReceiverFlowControlPolicy`

- `public WalSaturationReceiverFlowControlPolicy( IWalSaturationSignal? signal, IOptionsMonitor<LatticeReplicationOptions> replicationOptions, IOptionsMonitor<WalSaturationReceiverFlowControlOptions> flowControlOptions)`
- `public ValueTask<ReceiverFlowControlHint> EvaluateAsync( ReceiverFlowControlContext context, CancellationToken cancellationToken)`

## `Orleans.Lattice.Replication.WireVersionDownEncoder`

[Source](https://github.com/NSTA1/Orleans.Lattice/blob/release/10.5/src/lattice.replication/ReplicationAck.cs) (line 520).

`public static class WireVersionDownEncoder`

- `public const int MinimumDownEncodableWireVersion`
- `public static void EnsureDownEncodable( int effectiveWireVersion, LatticeMergeMode mode, LatticeCompression compression)`
- `public static EncodedBatchHeader PrepareHeader( in EncodedBatchHeader header, int effectiveWireVersion)`

## `Orleans.Lattice.Replication.WireVersionNegotiation`

[Source](https://github.com/NSTA1/Orleans.Lattice/blob/release/10.5/src/lattice.replication/ReplicationAck.cs) (line 284).

`public static class WireVersionNegotiation`

- `public static WireVersionNegotiationResult Negotiate( int localCurrentVersion, int minimumSupportedVersion, int unknownPeerFloorVersion, int? peerAdvertisedVersion)`

## `Orleans.Lattice.Replication.WireVersionNegotiationResult`

[Source](https://github.com/NSTA1/Orleans.Lattice/blob/release/10.5/src/lattice.replication/ReplicationAck.cs) (line 408).

`public readonly record struct WireVersionNegotiationResult`

- `public int EffectiveWireVersion { get; init; }`
- `public bool DowngradeActive { get; init; }`
- `public bool PeerCapabilityKnown { get; init; }`

## `Orleans.Lattice.Replication.WireVersionNegotiationSnapshot`

[Source](https://github.com/NSTA1/Orleans.Lattice/blob/release/10.5/src/lattice.replication/ReplicationPeerStats.cs) (line 765).

`public readonly record struct WireVersionNegotiationSnapshot( string Tree, string Peer, int NegotiatedVersion, bool DowngradeActive, bool PeerCapabilityKnown)`

- `Primary constructor / positional members: ( string Tree, string Peer, int NegotiatedVersion, bool DowngradeActive, bool PeerCapabilityKnown)`

## `Orleans.Lattice.Replication.WireVersionNegotiationState`

[Source](https://github.com/NSTA1/Orleans.Lattice/blob/release/10.5/src/lattice.replication/ReplicationPeerStats.cs) (line 618).

`public class WireVersionNegotiationState`

- `public WireVersionNegotiationState()`
- `public void Record(string tree, string peer, WireVersionNegotiationResult result)`
- `public IReadOnlyCollection<WireVersionNegotiationSnapshot> Snapshot()`

Previous: [Public declaration reference: Orleans.Lattice.Replication.AdvertisedCompressionDictionary to Orleans.Lattice.Replication.LatticeReplicationPreconditionFailedException](public-declaration-reference-1.md). Contents: [Replication Public API Reference](../api.md).
