Modifier

Partager via


IGossipChannel Interface

Definition

Interface for gossip channel.

A gossip channel stores multicluster data (configuration, gateways) and exchanges this data with silos using a gossip-style communication, offering two different methods (Publish or Synchronize).

public interface IGossipChannel
type IGossipChannel = interface
Public Interface IGossipChannel

Properties

Name

A name for the channel.

Methods

Initialize(Guid, String)

Initialize the channel with given configuration.

Initialize(String, String)

Initialize the channel with given configuration.

Publish(IMultiClusterGossipData)

One-way small-scale gossip. Used to update small amounts of data (e.g. multicluster configuration, single gateway status) in the channel. The passed-in data is stored only if it is newer than the already stored data.

Publish(MultiClusterData)

One-way small-scale gossip. Used to update small amounts of data (e.g. multicluster configuration, single gateway status) in the channel. The passed-in data is stored only if it is newer than the already stored data.

Synchronize(IMultiClusterGossipData)

Two-way bulk gossip.

  • any passed-in information that is newer than stored information is stored.
  • any stored information that is newer than passed-in information is returned.
Synchronize(MultiClusterData)

Two-way bulk gossip.

  • any passed-in information that is newer than stored information is stored.
  • any stored information that is newer than passed-in information is returned.

Applies to