RedisStorageOptions
class
Namespace: Orleans.Persistence
Redis grain storage options.
public class RedisStorageOptions : IStorageProviderSerializerOptionsConstructors
Properties
ConfigurationOptionsGets or sets the Redis client configuration.CreateMultiplexerThe delegate used to create a Redis connection multiplexer and indicate whether it is shared.DeleteStateOnClearWhether or not to delete state during a clear operation.EntryExpiryEntry expiry, null by default. A value should be set only for ephemeral environments, such as testing environments. Setting a value different fromnullwill cause duplicate activations in the cluster.GetStorageKeyGets the Redis key for the provided grain type and grain identifier. If not set, the default implementation will be used, which is equivalent to{ServiceId}/state/{grainId}/{grainType}.GrainStorageSerializerGets or sets the serializer to use for this storage provider.InitStageStage of silo lifecycle where storage should be initialized. Storage must be initialized prior to use.
Methods
DefaultCreateMultiplexer(RedisStorageOptions)The default multiplexer creation delegate.
