Skip to content
Tracon

TraconStorageMeta

Namespace Tracon · Assembly Tracon.AspNetCore.dll

Reports which storage implementations are active.

public sealed record TraconStorageMeta : IEquatable<TraconStorageMeta>

objectTraconStorageMeta

IEquatable<TraconStorageMeta>

object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

In-memory stores are a supported mode, not a test helper. They do have limits, however — process lifetime and single node — and the UI should be able to show this to the user.

public TraconStorageMeta()

Type name of the agent definition store.

public required string AgentDefinitionStore { get; init; }

string

Type name of the job queue store.

public required string JobStore { get; init; }

string

Whether the background job worker is running in this process. If false, the queue can still be written to and read from; only this process does not lease jobs.

public required bool JobWorkerEnabled { get; init; }

bool

Whether all three stores are persistent. Returns false if any is in-memory.

public required bool Persistent { get; init; }

bool

Type name of the run store.

public required string RunStore { get; init; }

string

Type name of the session store.

public required string SessionStore { get; init; }

string

public override bool Equals(object? obj)

obj object?

bool

public bool Equals(TraconStorageMeta? other)

other TraconStorageMeta?

bool

public override int GetHashCode()

int

public override string ToString()

string

operator ==(TraconStorageMeta?, TraconStorageMeta?)

Section titled “ operator ==(TraconStorageMeta?, TraconStorageMeta?)”
public static bool operator ==(TraconStorageMeta? left, TraconStorageMeta? right)

left TraconStorageMeta?

right TraconStorageMeta?

bool

operator !=(TraconStorageMeta?, TraconStorageMeta?)

Section titled “ operator !=(TraconStorageMeta?, TraconStorageMeta?)”
public static bool operator !=(TraconStorageMeta? left, TraconStorageMeta? right)

left TraconStorageMeta?

right TraconStorageMeta?

bool