Redigera

Dela via


ILogConsistencyProtocolServices Interface

Definition

Functionality for use by log view adaptors that use custom consistency or replication protocols. Abstracts communication between replicas of the log-consistent grain in different clusters.

public interface ILogConsistencyProtocolServices
type ILogConsistencyProtocolServices = interface
Public Interface ILogConsistencyProtocolServices

Properties

ActiveClusters

List of all clusters that currently appear to have at least one active gateway reporting to the multi-cluster network. There are no guarantees that this membership view is complete or consistent. If there is no multi-cluster network, returns a list containing the single element "I".

GrainReference

The untyped reference for this grain.

MultiClusterConfiguration

The current multicluster configuration of this silo (as injected by the administrator) or null if none.

MultiClusterEnabled

Whether this cluster is running in a multi-cluster network.

MyClusterId

The id of this cluster. Returns "I" if no multi-cluster network is present.

RegistrationStrategy

The multicluster registration strategy for this grain.

SerializationManager

The serialization manager.

Methods

CaughtException(String, Exception)

Log an exception that was caught in the log-consistency protocol.

CaughtUserCodeException(String, String, Exception)

Log an exception that occurred in user code, for some callback

Log(LogLevel, String, Object[])

Output the specified message at the specified log level.

Log(Severity, String, Object[])

Output the specified message at the specified log level.

ProtocolError(String, Boolean)

Log an error that occurred in a log-consistency protocol.

SendMessage(ILogConsistencyProtocolMessage, String)

Send a message to a remote cluster.

SubscribeToMultiClusterConfigurationChanges()
UnsubscribeFromMultiClusterConfigurationChanges()

Applies to