Edytuj

Udostępnij za pośrednictwem


MultiClusterData Class

Definition

Data stored and transmitted in the multicluster network. IMPORTANT: these objects can represent full state, partial state, or delta. So far includes multicluster-configuration and multicluster-gateway information. Data is gossip-able.

[System.Serializable]
public class MultiClusterData
[System.Serializable]
public class MultiClusterData : Orleans.Runtime.IMultiClusterGossipData
[<System.Serializable>]
type MultiClusterData = class
[<System.Serializable>]
type MultiClusterData = class
    interface IMultiClusterGossipData
Public Class MultiClusterData
Public Class MultiClusterData
Implements IMultiClusterGossipData
Inheritance
MultiClusterData
Attributes
Implements

Constructors

MultiClusterData()

Construct empty MultiClusterData.

MultiClusterData(GatewayEntry)

Construct MultiClusterData containing a single gateway entry.

MultiClusterData(IEnumerable<GatewayEntry>)

Construct MultiClusterData containing a collection of gateway entries.

MultiClusterData(IReadOnlyDictionary<SiloAddress,GatewayEntry>, MultiClusterConfiguration)

Construct MultiClusterData containing a collection of gateway entries and a multi-cluster configuration.

MultiClusterData(MultiClusterConfiguration)

Construct MultiClusterData containing a multi-cluster configuration.

Properties

Configuration

The admin-injected configuration. May be null if none has been injected yet, or if this object represents a partial state or delta.

Gateways

The dictionary of gateway entries and their current status.

IsEmpty

Whether there is actually any data in here.

Methods

IsActiveGatewayForCluster(SiloAddress, String)

Check whether a particular silo is an active gateway for a cluster

Merge(IMultiClusterGossipData, MultiClusterData)

incorporate source, producing new result, and report delta. Ignores expired entries in source, and removes expired entries from this.

Merge(IMultiClusterGossipData)

merge source into this object, and return result. Ignores expired entries in source, and removes expired entries from this.

Merge(MultiClusterData, MultiClusterData)

incorporate source, producing new result, and report delta. Ignores expired entries in source, and removes expired entries from this.

Merge(MultiClusterData)

merge source into this object, and return result. Ignores expired entries in source, and removes expired entries from this.

Minus(MultiClusterData)

Returns all data of this object except for what keys appear in exclude

ToString()

Display content of MultiCluster data as an (abbreviated) string.

Applies to