Logo FsShelter

SupervisorInput Type

External inputs the orchestrator feeds into the pure step function.

Union cases

Union case Description

ElectionUpdate(selfIsMaster, nowMs)

Full Usage: ElectionUpdate(selfIsMaster, nowMs)

Parameters:
    selfIsMaster : bool
    nowMs : int64

Latest election decision after a membership change or tick.

selfIsMaster : bool
nowMs : int64

Shutdown

Full Usage: Shutdown

Caller invoked the Shutdown returned by `runCluster`.

StabilizeElapsed nowMs

Full Usage: StabilizeElapsed nowMs

Parameters:
    nowMs : int64

Stabilize timer fired at `nowMs`.

nowMs : int64

Instance members

Instance member Description

this.IsElectionUpdate

Full Usage: this.IsElectionUpdate

Returns: bool
Returns: bool

this.IsShutdown

Full Usage: this.IsShutdown

Returns: bool
Returns: bool

this.IsStabilizeElapsed

Full Usage: this.IsStabilizeElapsed

Returns: bool
Returns: bool

Type something to start searching.