Orleans.Storage Namespace

Classes

AdoNetGrainStorage

A storage provider for writing grain state data to relational storage.

AdoNetGrainStorageFactory
AdoNetStorageProvider

A storage provider for writing grain state data to relational storage.

AzureBlobGrainStorage

Simple storage provider for writing grain state data to Azure blob storage in JSON format.

AzureBlobGrainStorageFactory
AzureBlobStorage

Simple storage provider for writing grain state data to Azure blob storage in JSON format.

AzureTableGrainStorage

Simple storage for writing grain state data to Azure table storage.

AzureTableGrainStorageFactory
AzureTableStorage

Simple storage provider for writing grain state data to Azure table storage.

BadGrainStorageConfigException

Exception thrown whenever a grain call is attempted with a bad / missing storage configuration settings for that grain.

BadProviderConfigException

Exception thrown whenever a grain call is attempted with a bad / missing storage provider configuration settings for that grain.

DefaultRelationalStoragePicker

A strategy to pick a serializer or a deserializer for storage operations. This can be used to:

  1. Add a custom serializer or deserializer for use in storage provider operations.
  2. In combination with serializer or deserializer to update stored object version.
  3. Per-grain storage format selection
  4. Switch storage format first by reading using the save format and then writing in the new format.
DefaultStorageProviderSerializerOptionsConfigurator<TOptions>

Provides default configuration for GrainStorageSerializer.

DynamoDBGrainStorage

Dynamo DB storage Provider. Persist Grain State in a DynamoDB table either in Json or Binary format.

DynamoDBGrainStorageFactory
DynamoDBStorageProvider

Dynamo DB storage Provider Persist Grain State in a DynamoDB table either in Json or Binary format

GrainStorageExtensions
GrainStorageHelpers

Utility functions for grain storage.

GrainStorageSerializer

Provides functionality for serializing and deserializing grain state, delegating to a prefered and fallback implementation of IGrainStorageSerializer.

GrainStorageSerializerExtensions

Extensions for IGrainStorageSerializer.

InconsistentStateException

Exception thrown when a storage detects an Etag inconsistency when attempting to perform a WriteStateAsync operation.

JsonGrainStorageSerializer

Grain storage serializer that uses Newtonsoft.Json

MemoryGrainStorage

This is a simple in-memory grain implementation of a storage provider.

MemoryGrainStorageFactory

Factory for creating MemoryGrainStorage

MemoryGrainStorageWithLatency

This is a simple in-memory implementation of a storage provider which presents fixed latency of storage calls. This class is useful for system testing and investigation of the effects of storage latency.

MemoryStorage

This is a simple in-memory grain implementation of a storage provider.

MemoryStorageWithLatency

This is a simple in-memory implementation of a storage provider which presents fixed latency of storage calls. This class is useful for system testing and investigation of the effects of storage latency.

MemoryStorageWithLatencyOptions

Options for the MemoryGrainStorageWithLatency storage provider.

OrleansDefaultHasher

A default implementation uses the same hash as Orleans in grains placement.

OrleansGrainStorageSerializer

Grain storage serializer that uses the Orleans Serializer.

OrleansStorageDefaultBinaryDeserializer

A default binary deserializer for storage providers.

OrleansStorageDefaultBinarySerializer

A default binary serializer for storage providers.

OrleansStorageDefaultJsonDeserializer

A default JSON deserializer for storage providers.

OrleansStorageDefaultJsonSerializer

A default JSON serializer for storage providers.

OrleansStorageDefaultXmlDeserializer

A default XML deserializer for storage providers.

OrleansStorageDefaultXmlSerializer

A default XML serializer for storage providers.

RelationalStorageProviderQueries

A container class for the queries currently used by the AdoNetGrainStorage.

ShardedStorageProvider

Simple storage provider for writing grain state data shared across a number of other storage providers.

StorageHasherPicker

IStorageHasherPicker.

StorageProviderUtils
TableStorageUpdateConditionNotSatisfiedException

Exception thrown when a storage provider detects an Etag inconsistency when attempting to perform a WriteStateAsync operation.

Structs

SerializationChoice

Struct contains choice on streaming, storage deserializer and storage serializer

Interfaces

IBlobContainerFactory

A factory for building container clients for blob storage using grainType and grainId

IGrainStorage

Interface to be implemented for a storage able to read and write Orleans grain state data.

IGrainStorageSerializer

Common interface for grain state serializers.

IHasher

An interface for all the hashing operations currently in Orleans Storage operations.

ILocalDataStore
IMemoryStorageGrain

Grain interface for internal memory storage grain used by Orleans in-memory storage provider.

IRestExceptionDecoder

Interface to be optionally implemented by storage to return richer exception details. TODO: Remove this interface. Move to decorator pattern for monitoring purposes. - jbragg

IStorageDeserializer

A canonical interface for a storage provider deserializer.

IStorageHasherPicker

A picker to choose from provided hash functions. Provides agility to update or change hashing functionality for both built-in and custom operations.

IStorageProvider

Interface to be implemented for a storage provider able to read and write Orleans grain state data.

IStorageProviderSerializerOptions

Interface to be implemented by the storage provider options.

IStorageSerializationPicker

A strategy to pick a serializer or a deserializer for storage operations. As for an example, this can be used to:

  1. Add a custom serializer or deserializer for use in storage provider operations (e.g. ProtoBuf or something else).
  2. In combination with serializer or deserializer to update stored object version.
  3. Per-grain storage format selection
  4. Switch storage format first by reading using the save format and then writing in the new format.
IStorageSerializer

A canonical interface for a storage provider serializer.