GrainService.OnRangeChange(IRingRange, IRingRange, Boolean) Method
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.
Invoked when the ring range owned by the service instance changes because of a change in the cluster state
public virtual System.Threading.Tasks.Task OnRangeChange (Orleans.Runtime.IRingRange oldRange, Orleans.Runtime.IRingRange newRange, bool increased);
abstract member OnRangeChange : Orleans.Runtime.IRingRange * Orleans.Runtime.IRingRange * bool -> System.Threading.Tasks.Task
override this.OnRangeChange : Orleans.Runtime.IRingRange * Orleans.Runtime.IRingRange * bool -> System.Threading.Tasks.Task
Public Overridable Function OnRangeChange (oldRange As IRingRange, newRange As IRingRange, increased As Boolean) As Task
Parameters
- oldRange
- IRingRange
The old range.
- newRange
- IRingRange
The new range.
- increased
- Boolean
A value indicating whether the range has increased.
Returns
A Task representing the work performed.