Show / Hide Table of Contents

Class LogConsistencyProviderAttribute

The [Orleans.Providers.LogConsistencyProvider] attribute is used to define which consistency provider to use for grains using the log-view state abstraction.

Specifying [Orleans.Providers.LogConsistencyProvider] property is recommended for all grains that derive from LogConsistentGrain, such as JournaledGrain. If no [Orleans.Providers.LogConsistencyProvider] attribute is specified, then the runtime tries to locate one as follows. First, it looks for a "Default" provider in the configuration file, then it checks if the grain type defines a default. If a consistency provider cannot be located for this grain, then the grain will fail to load into the Silo.

Inheritance
System.Object
LogConsistencyProviderAttribute
Namespace: Orleans.Providers
Assembly: Orleans.Core.Abstractions.dll
Syntax
public sealed class LogConsistencyProviderAttribute : Attribute

Constructors

| Improve this Doc View Source

LogConsistencyProviderAttribute()

Declaration
public LogConsistencyProviderAttribute()

Properties

| Improve this Doc View Source

ProviderName

The name of the provider to be used for consistency

Declaration
public string ProviderName { get; set; }
Property Value
Type Description
System.String

Extension Methods

ImmutableExt.AsImmutable<T>(T)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX