Edit

Share via


IMembershipOracle Interface

Definition

Authoritative source for cluster membership.

public interface IMembershipOracle : Orleans.Runtime.IHealthCheckParticipant, Orleans.Runtime.ISiloStatusOracle
public interface IMembershipOracle : Orleans.Runtime.IHealthCheckable, Orleans.Runtime.IHealthCheckParticipant, Orleans.Runtime.ISiloStatusOracle
type IMembershipOracle = interface
    interface ISiloStatusOracle
    interface IHealthCheckParticipant
type IMembershipOracle = interface
    interface ISiloStatusOracle
    interface IHealthCheckParticipant
    interface IHealthCheckable
Public Interface IMembershipOracle
Implements IHealthCheckParticipant, ISiloStatusOracle
Public Interface IMembershipOracle
Implements IHealthCheckable, IHealthCheckParticipant, ISiloStatusOracle
Implements

Properties

CurrentStatus

Gets the current status of this silo.

(Inherited from ISiloStatusOracle)
SiloAddress

Gets the address of this silo.

(Inherited from ISiloStatusOracle)
SiloName

Gets the name of this silo.

(Inherited from ISiloStatusOracle)

Methods

BecomeActive()
Obsolete.

Turns this oracle into an Active state. Will update this silo in the SiloDirectory with SiloStatus.Active status.

(Inherited from ISiloStatusOracle)
CheckHealth(DateTime, String)

Returns a value indicating the health of this instance.

(Inherited from IHealthCheckable)
CheckHealth(DateTime)

Returns a value indicating the health of this instance.

(Inherited from IHealthCheckable)
GetActiveSilos()

Gets the currently active silos.

(Inherited from ISiloStatusOracle)
GetApproximateMultiClusterGateways()
Obsolete.

Get a list of silos that are designated to function as gateways.

(Inherited from ISiloStatusOracle)
GetApproximateSiloStatus(SiloAddress)

Gets the status of a given silo. This method returns an approximate view on the status of a given silo. In particular, this oracle may think the given silo is alive, while it may already have failed. If this oracle thinks the given silo is dead, it has been authoritatively told so by ISiloDirectory.

(Inherited from ISiloStatusOracle)
GetApproximateSiloStatuses(Boolean)

Gets the statuses of all silo. This method returns an approximate view on the statuses of all silo.

(Inherited from ISiloStatusOracle)
IsDeadSilo(SiloAddress)

Gets a value indicating whether the current silo is dead.

(Inherited from ISiloStatusOracle)
IsFunctionalDirectory(SiloAddress)

Gets a value indicating whether the current silo is valid for creating new activations on or for directory lookups.

(Inherited from ISiloStatusOracle)
KillMyself()
Obsolete.

Completely kill this oracle. Will update this silo in the SiloDirectory with SiloStatus.Dead status.

(Inherited from ISiloStatusOracle)
ShutDown()
Obsolete.

ShutDown this oracle. Will update this silo in the SiloDirectory with SiloStatus.ShuttingDown status.

(Inherited from ISiloStatusOracle)
Start()
Obsolete.

Start this oracle. Will register this silo in the SiloDirectory with SiloStatus.Starting status.

(Inherited from ISiloStatusOracle)
Stop()
Obsolete.

Stop this oracle. Will update this silo in the SiloDirectory with SiloStatus.Stopping status.

(Inherited from ISiloStatusOracle)
SubscribeToSiloStatusEvents(ISiloStatusListener)

Subscribe to status events about all silos.

(Inherited from ISiloStatusOracle)
TryGetSiloName(SiloAddress, String)

Gets the name of a silo. Silo name is assumed to be static and does not change across restarts of the same silo.

(Inherited from ISiloStatusOracle)
UnSubscribeFromSiloStatusEvents(ISiloStatusListener)

UnSubscribe from status events about all silos.

(Inherited from ISiloStatusOracle)

Applies to