Skip to content

GrainService.OnRangeChange(IRingRange, IRingRange, bool)

OnRangeChange(IRingRange, IRingRange, bool)

virtual
View source
public virtual Task OnRangeChange(IRingRange oldRange, IRingRange newRange, bool increased)
Invoked when the ring range owned by the service instance changes because of a change in the cluster state

Parameters

oldRangeIRingRange
The old range.
newRangeIRingRange
The new range.
increasedbool
A value indicating whether the range has increased.

Returns

A System.Threading.Tasks.Task representing the work performed.