Skip to content

IVersionManager Methods

Functionality for managing how grain interface versions are negotiated.

SetCompatibilityStrategy(CompatibilityStrategy)

abstract
View source
[Orleans.Alias(SetCompatibilityStrategy)]
public abstract Task SetCompatibilityStrategy(CompatibilityStrategy strategy)
Set the compatibility strategy.

Parameters

strategyCompatibilityStrategy
The strategy to set. Set to null to revert to the default strategy provided in configuration.

Returns

A System.Threading.Tasks.Task representing the operation.

SetCompatibilityStrategy(GrainInterfaceType, CompatibilityStrategy)

abstract
View source
[Orleans.Alias(SetCompatibilityStrategyForInterface)]
public abstract Task SetCompatibilityStrategy(GrainInterfaceType interfaceType, CompatibilityStrategy strategy)
Set the compatibility strategy for a specific interface.

Parameters

interfaceTypeGrainInterfaceType
The type of the interface.
strategyCompatibilityStrategy
The strategy to set. Set to null to revert to the default strategy provided in configuration.

Returns

A System.Threading.Tasks.Task representing the operation.

SetSelectorStrategy(GrainInterfaceType, VersionSelectorStrategy)

abstract
View source
[Orleans.Alias(SetSelectorStrategyForInterface)]
public abstract Task SetSelectorStrategy(GrainInterfaceType interfaceType, VersionSelectorStrategy strategy)
Set the selector strategy for a specific interface.

Parameters

interfaceTypeGrainInterfaceType
The type of the interface.
strategyVersionSelectorStrategy
The strategy to set. Set to null to revert to the default strategy provided in configuration.

Returns

A System.Threading.Tasks.Task representing the operation.

SetSelectorStrategy(VersionSelectorStrategy)

abstract
View source
[Orleans.Alias(SetSelectorStrategy)]
public abstract Task SetSelectorStrategy(VersionSelectorStrategy strategy)
Set the selector strategy.

Parameters

strategyVersionSelectorStrategy
The strategy to set. Set to null to revert to the default strategy provided in configuration.

Returns

A System.Threading.Tasks.Task representing the operation.