Vixen
02b45cc4
csharp
public record class OrchestratorOptions

What a silo needs to know that is not a grain's business.

Read the guide page for this →

Fields and properties (4)

  • public string ClusterId

    Which cluster this silo belongs to. Two silos with different ids are two clusters, however close together they are running.

  • public string ServiceId

    Which service. Stable across deployments of the same game — it is what grain storage is keyed by, so changing it is changing which state a fresh cluster inherits.

  • public IReadOnlyDictionary<string, MapOptions> Maps

    What each map is, keyed by Keys.ForMap's spelling of its shard key.

  • public MapOptions? Default

    What a map nobody configured gets. Null refuses instead, which is the right default for a production cluster and the wrong one for a development loop.

Methods (1)

  • public OrchestratorOptions(string ClusterId, string ServiceId, IReadOnlyDictionary<string, MapOptions> Maps, MapOptions? Default)

    What a silo needs to know that is not a grain's business.

Used by (2)

  • MapGrainVixen.Live.Orchestrator
  • OrchestratorHostVixen.Live.Orchestrator