Skip to content

IRingRange Methods

Represents a range or set of ranges around a virtual ring where points along the ring are identified using System.UInt32 values.

InRange(uint)

abstract
View source
public abstract bool InRange(uint value)
Returns a value indicating whether value is within this ring range.

Parameters

valueuint
The value to check.

Returns

true if the reminder is in our responsibility range, false otherwise.

InRange(GrainId)

View source
public bool InRange(GrainId grainId)
Returns a value indicating whether grainId is within this ring range.

Parameters

grainIdGrainId
The value to check.

Returns

true if the reminder is in our responsibility range, false otherwise.