Skip to content

AgentPrismStorageMeta

Namespace AgentPrism · Assembly AgentPrism.AspNetCore.dll

Reports which storage implementations are active.

public sealed record AgentPrismStorageMeta : IEquatable<AgentPrismStorageMeta>

objectAgentPrismStorageMeta

IEquatable<AgentPrismStorageMeta>

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 AgentPrismStorageMeta()

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(AgentPrismStorageMeta? other)

other AgentPrismStorageMeta?

bool

public override int GetHashCode()

int

public override string ToString()

string

operator ==(AgentPrismStorageMeta?, AgentPrismStorageMeta?)

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

left AgentPrismStorageMeta?

right AgentPrismStorageMeta?

bool

operator !=(AgentPrismStorageMeta?, AgentPrismStorageMeta?)

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

left AgentPrismStorageMeta?

right AgentPrismStorageMeta?

bool