Edytuj

Udostępnij za pośrednictwem


GrainService.OnRangeChange(IRingRange, IRingRange, Boolean) Method

Definition

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.

Applies to