Skip to main content
Table of Contents

Class PartitionPosition

Namespace
Stratara.EventSourcing.EntityFrameworkCore.WriteStore.CommitOrder
Assembly
Stratara.EventSourcing.EntityFrameworkCore.dll

One row per partition: the last position handed out to an entry in that partition. Incremented inside the transaction that appends the entry, so that commit order and position order agree.

[ExcludeFromCodeCoverage]
public sealed class PartitionPosition
Inheritance
PartitionPosition
Inherited Members
Extension Methods

Properties

Partition

The partition this counter belongs to.

public int Partition { get; set; }

Property Value

int

Position

The last position handed out.

public long Position { get; set; }

Property Value

long