Table of Contents

Struct PointSelector

Namespace
Typhon.Engine
Assembly
Typhon.Engine.dll

Which backup point an operation targets: the newest one, or one by its id. (Restore-to-LSN and restore-to-time come with #1418.)

public readonly struct PointSelector : IEquatable<PointSelector>
Implements
Inherited Members

Properties

BackupId

The selected id; 0 for Latest.

public uint BackupId { get; }

Property Value

uint

IsLatest

Whether this selects the newest point.

public bool IsLatest { get; }

Property Value

bool

Latest

The point with the highest id in the store.

public static PointSelector Latest { get; }

Property Value

PointSelector

Methods

ById(uint)

The point whose id is backupId.

public static PointSelector ById(uint backupId)

Parameters

backupId uint

A point id (1 or more).

Returns

PointSelector

Equals(object)

public override bool Equals(object obj)

Parameters

obj object

Returns

bool

Equals(PointSelector)

public bool Equals(PointSelector other)

Parameters

other PointSelector

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string