RedBase Documentation

Welcome to the RedBase documentation portal. Browse the API reference, explore code examples, and learn how to build with REDB.

API Reference

Browse the REDB API documentation. Select a namespace or type from the tree on the left, or click on items below.

Showing: redb.Tsak.Core.Pro Show all

redb.Tsak.Core.Pro.Cluster

Classes

C ClusterOptions Configuration options for cluster coordination.

redb.Tsak.Core.Pro.Cluster.Contracts

Classes

C LeaderSnapshot A consistent, point-in-time view of leadership. Read it (via )
C LockResult Result of a distributed lock acquisition attempt.

Interfaces

I IAssignmentManager Manages module-to-node assignments in the cluster.
I IClusterBootstrap Bootstraps the cluster tree structure: ClusterRoot → Group → Node.
I IClusterCoordinator Main cluster coordination service.
I IDistributedLock Distributed lock service using the redb object store with TTL-based expiry.
I ILeaderElection Distributed leader election via redb distributed locks.
I INodeRegistry Manages cluster node registration and heartbeat.

redb.Tsak.Core.Pro.Cluster.Models

Classes

C TsakAssignmentProps Redb props class for module-to-node assignment (live scheduling).
C TsakClusterRootProps Redb props class for the cluster root node in the tree hierarchy.
C TsakGroupProps Redb props class for a cluster group within the tree hierarchy.
C TsakLockProps Redb props class for distributed locks (leader election, etc.).
C TsakNodeProps Props of the redb scheme for cluster node registration and heartbeat tracking.

Enums

E AssignmentState State of a module assignment on a cluster node.

redb.Tsak.Core.Pro.Cluster.Policies

Classes

C ClusteredRoutePolicy Route policy that ensures only one node in the cluster runs the route consumer.
C ClusteredRoutePolicyFactory Factory that automatically creates for routes
C ClusteredRoutePolicyOptions Options for .

redb.Tsak.Core.Pro.Cluster.Services

Classes

C AlwaysLeaderElection Standalone fallback for : the current node is always the leader.
C ClusterCoordinator Main cluster coordination service.
C InProcessLock In-process implementation of intended for standalone hosting.
C NodeCordonState Process-local cordon flag for this node. A cordoned node keeps its current work running but
C RedbAssignmentManager Module assignment manager on redb storage ().
C RedbClusterBootstrap Bootstraps the cluster tree: ClusterRoot → Group.
C RedbClusterDirectory on redb storage: the clusters of the database are its cluster
C RedbDistributedLock Distributed lock on redb storage.
C RedbLeaderElection Leader election via the redb-backed distributed lock ().
C RedbNodeRegistry Node registry on redb storage ().
C RollingUpdateCoordinator Coordinates rolling updates across cluster nodes.

redb.Tsak.Core.Pro.Controllers

Classes

C ClusterController Cluster status and operations.

redb.Tsak.Core.Pro.Extensions

Classes

C DistributedLockExtensions Convenience extensions over .
C TsakClusterExtensions DI registration for the cluster subsystem (Pro).
C TsakInProcessFallbackExtensions Explicit opt-in registration for in-process fallback implementations of cluster primitives.

redb.Tsak.Core.Pro.Monitoring

Classes

C ClusterMetricsReporter Periodically writes a metrics snapshot to redb for cluster-wide aggregation.