Vixen
caa30e12

ClusterLiveOperations

class Tools/Vixen.Cli/LiveOperations.cs:66
csharp
public sealed class ClusterLiveOperations

The real one, over an Orleans cluster client.

Read the guide page for this →

Remarks

⚠ Tools/ → Live/ is deliberately unconstrained — doc 27 § Repository layout says so in as many words, because a CLI that operates the fleet has to link it and pretending otherwise would have made this the exception instead.

Methods (6)

  • public ClusterLiveOperations(IClusterClient cluster)

    The real one, over an Orleans cluster client.

  • public Task<IReadOnlyList<ShardReport>> ShardsAsync(ShardKey key, CancellationToken cancellation)

    Every shard of a map.

  • public Task DrainAsync(ShardId shard, string reason, CancellationToken cancellation)

    Tells a shard to move its players out.

  • public Task<string> ExplainAsync(ShardKey key, PlayerKey player, CancellationToken cancellation)

    Why a player went where they went.

  • public Task<(RealmVersion Target, double Spread)> RolloutAsync(string region, CancellationToken cancellation)

    What a region's fleet is aiming at, and how far it has got.

  • public Task SetTargetAsync(string region, RealmVersion version, CancellationToken cancellation)

    Points a region's fleet at a version. Rolling back is this with the old pair.