Redigera

Dela via


Orleans.Providers Namespace

Classes

ClusterClientMemoryStreamConfigurator<TSerializer>
DefaultMemoryMessageBodySerializer

Default IMemoryMessageBodySerializer implementation.

LegacyProviderConfigurator
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.

MemoryAdapterConfig

This configuration class is used to configure the MemoryStreamProvider. It tells the stream provider how many queues to create.

MemoryAdapterFactory<TSerializer>

Adapter factory for in memory stream provider. This factory acts as the adapter and the adapter factory. The events are stored in an in-memory grain that behaves as an event queue, this provider adapter is primarily used for testing

MemoryMessageBody

Message body used by the in-memory stream provider.

MemoryPooledCache<TSerializer>

Pooled cache for memory stream provider

MemoryStreamProvider

This is a persistent stream provider that uses in-memory grain to queue the events. This is primarily for test purposes.

MemoryStreamProvider<TSerializer>

This is a persistent stream provider that uses in-memory grain to queue the events. This is primarily for test purposes.

MemoryStreamQueueGrain

Memory stream queue grain. This grain works as a storage queue of event data. Enqueue and Dequeue operations are supported. the max event count sets the max storage limit to the queue.

ProviderConfigurationExtensions
ProviderConstants

Constant values used by providers.

ProviderInitializationException

Exception thrown whenever a provider has failed to be initialized.

ProviderStateException
SiloMemoryStreamConfigurator<TSerializer>
StorageProviderAttribute

The [Orleans.Providers.StorageProvider] attribute is used to define which storage provider to use for persistence of grain state.

Specifying [Orleans.Providers.StorageProvider] property is recommended for all grains which extend Grain<T>. If no [Orleans.Providers.StorageProvider] attribute is specified, then a "Default" storage provider will be used. If a suitable storage provider cannot be located for this grain, then the grain will fail to load into the Silo.

Structs

MemoryMessageData

Represents the event sent and received from an In-Memory queue grain.

Interfaces

IBootstrapProvider

Marker interface to be implemented by any app bootstrap classes that want to be loaded and auto-run during silo startup

IControllable

A general interface for controllable components inside Orleans runtime.

ILogConsistencyProviderRuntime

Provider-facing interface for log consistency

IMemoryMessageBodySerializer

Implementations of this interface are responsible for serializing MemoryMessageBody objects

IMemoryStreamQueueGrain

Interface for In-memory stream queue grain.

IProvider

Base interface for all type-specific provider interfaces in Orleans

IProviderBuilder<TBuilder>

Interface for providers which configure Orleans services.

IProviderConfiguration

Configuration information that a provider receives

IProviderManager

Internal provider management interface for instantiating dependent providers in a hierarchical tree of dependencies

IProviderRuntime

Interface to allow callbacks from providers into their assigned provider-manager. This allows access to runtime functionality, such as logging.

IStorageProviderRuntime

Provider-facing interface for manager of storage providers

Delegates

InvokeInterceptor

Handles the invocation of the provided request.