Bewerken

Delen via


ISiloStatusOracle Interface

Definition

Authoritative local, per-silo source for information about the status of other silos.

public interface ISiloStatusOracle
type ISiloStatusOracle = interface
Public Interface ISiloStatusOracle
Derived

Properties

CurrentStatus

Gets the current status of this silo.

SiloAddress

Gets the address of this silo.

SiloName

Gets the name of this silo.

Methods

BecomeActive()
Obsolete.

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

GetActiveSilos()

Gets the currently active silos.

GetApproximateMultiClusterGateways()
Obsolete.

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

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.

GetApproximateSiloStatuses(Boolean)

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

IsDeadSilo(SiloAddress)

Gets a value indicating whether the current silo is dead.

IsFunctionalDirectory(SiloAddress)

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

KillMyself()
Obsolete.

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

ShutDown()
Obsolete.

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

Start()
Obsolete.

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

Stop()
Obsolete.

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

SubscribeToSiloStatusEvents(ISiloStatusListener)

Subscribe to status events about all silos.

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.

UnSubscribeFromSiloStatusEvents(ISiloStatusListener)

UnSubscribe from status events about all silos.

Applies to