Class TsakInProcessFallbackExtensions

Assembly: redb.Tsak.Core.Pro.dll

Explicit opt-in registration for in-process fallback implementations of cluster primitives.

These fallbacks let standalone hosting consume /
without conditional if (cluster.Enabled) guards in
caller code. The framework intentionally does NOT register them automatically — silently
substituting an in-process lock for a distributed one would mean "works in standalone,
silently broken in cluster" the moment a second node joins.

public static class TsakInProcessFallbackExtensions

Inheritance

Object→TsakInProcessFallbackExtensions

Methods

AddTsakAlwaysLeaderFallback(IServiceCollection)

Registers as the implementation of

public static IServiceCollection AddTsakAlwaysLeaderFallback(this IServiceCollection services)

AddTsakInProcessClusterFallbacks(IServiceCollection)

Registers both in-process fallbacks at once: →

public static IServiceCollection AddTsakInProcessClusterFallbacks(this IServiceCollection services)

AddTsakInProcessLockFallback(IServiceCollection)

Registers as the implementation of

public static IServiceCollection AddTsakInProcessLockFallback(this IServiceCollection services)