Class RoutePolicyDescriptor

Assembly: redb.Route.dll

Effective cluster-policy resolution result for a single compiled route.
Surfaces what the route requested versus what actually got applied at compile time —
the answer to "the route is marked .Cluster(true), but is it actually clustered?".

public sealed record RoutePolicyDescriptor : IEquatable<RoutePolicyDescriptor>

Inheritance

Object→RoutePolicyDescriptor

Implements

Properties

EffectivePolicy

Short tag describing the policy that was actually attached:

public string EffectivePolicy { get; init; }

PolicyFactoryType

Fully-qualified type name of the that produced the policy,

public string? PolicyFactoryType { get; init; }

Reason

Human-readable explanation, e.g. "No IRoutePolicyFactory registered — running on all nodes"

public string Reason { get; init; }

RequestedCluster

true if the route definition called .Cluster(true) (i.e., requested clustered execution).

public bool RequestedCluster { get; init; }

Constructors

RoutePolicyDescriptor(bool, string, string?, string)

Effective cluster-policy resolution result for a single compiled route.