Redigera

Dela via


DefaultRelationalStoragePicker Class

Definition

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.
public class DefaultRelationalStoragePicker : Orleans.Storage.IStorageSerializationPicker
type DefaultRelationalStoragePicker = class
    interface IStorageSerializationPicker
Public Class DefaultRelationalStoragePicker
Implements IStorageSerializationPicker
Inheritance
DefaultRelationalStoragePicker
Implements

Constructors

DefaultRelationalStoragePicker(IEnumerable<IStorageDeserializer>, IEnumerable<IStorageSerializer>)

Constructs the serializers from the given configuration properties.

Properties

Deserializers

The configured deserializers.

Serializers

The configured serializers.

Methods

PickDeserializer(String, String, String, GrainReference, IGrainState, String)

Picks a deserializer using the given parameters. PickDeserializer(String, String, String, GrainReference, IGrainState, String)

PickSerializer(String, String, String, GrainReference, IGrainState, String)

Picks a serializer using the given parameters. PickSerializer(String, String, String, GrainReference, IGrainState, String)

Applies to