Class StandaloneClientProvider
Standalone implementation of .
Reads node URLs from config (Tsak:Web:Nodes[] or Tsak:Web:StandaloneUrl fallback).
No redb, no database — pure config-driven.
public sealed class StandaloneClientProvider : INodeClientProvider, IDisposable
Inheritance
Implements
Properties
IsCluster
True if running in cluster mode (multi-cluster topology from the redb object store).
public bool IsCluster { get; }
Topology
Current topology snapshot (may be null before first load).
public ClusterTopology? Topology { get; }
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()
GetControlClient(string)
Client for CONTROL operations (force-stop, context restart/stop, module ops) — they can
public TsakApiClient? GetControlClient(string nodeId)
LoadTopologyAsync(bool)
Load or refresh topology.
public Task<ClusterTopology> LoadTopologyAsync(bool forceRefresh = false)
RemoveNodeAsync(string)
Remove a dead node from cluster registry. No-op in standalone.
public Task<bool> RemoveNodeAsync(string nodeId)
SetCordonedAsync(string, bool)
Cordon (true) or uncordon (false) a node for planned maintenance.
public Task<bool> SetCordonedAsync(string nodeId, bool cordoned)