Vixen
02b45cc4
csharp
public interface IRealmGrains

The grains a realm talks to, behind one seam.

Read the guide page for this →

Remarks

⚠ Not a convenience — it is what makes RealmCluster testable. An IClusterClient cannot be stood up without a cluster, so a test of "does a shard report ready, and does it drain when told to" would need a silo. Behind this interface it needs four fakes that return Tasks.

It is deliberately three lookups and nothing else. Anything richer would be a second orchestrator API on the realm side, and the whole point of ADR-016 is that a realm asks narrow questions rarely.

Methods (3)

Used by (3)

  • ClusterGrainsVixen.Live.Realm.Cluster
  • FakeClusterVixen.Live.Realm.Cluster.Tests
  • RealmClusterVixen.Live.Realm.Cluster