DefaultRelationalStoragePicker Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A strategy to pick a serializer or a deserializer for storage operations. This can be used to:
- Add a custom serializer or deserializer for use in storage provider operations.
- In combination with serializer or deserializer to update stored object version.
- Per-grain storage format selection
- 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) |