Nebula
Worker

InstanceTransfer

A prepared crossing.

generated from the sources
public sealed class InstanceTransfer

A prepared crossing. It can be committed once, while the source authority and destination lease remain valid.

Properties

Ready

public bool Ready { get; }

Whether worker and client preparation succeeded. Commit still rechecks authority and the destination lease.

Finished

public bool Finished { get; }

True after a successful commit, expiration, or invalidation. Finished preparations cannot be reused.

Error

public string Error { get; }

Failure description, or null when no failure has been recorded. Inspect independently of Finished.

Destination

public Container Destination { get; }

Static container selected when preparation began.

RejectReason

public JoinRejectReason RejectReason { get; }

Why the preparation was refused, in typed form: JoinRejectReason.AtCapacity when the destination was at capacity and the admission hook refused this crossing, and JoinRejectReason.Denied when the hook refused a destination that was not (NebulaAdmission, docs/capacity-admission.md). JoinRejectReason.None for every other failure, which Error describes.

Saturation

public float Saturation { get; }

How saturated the destination was when it was refused; 0 when that was not the reason.

On this page