/// <summary> /// To check if the id block must shift: that a new id block must be created /// </summary> /// <returns> a boolean value to check if block of id is full </returns> public bool MustShift() { lock (_syncRoot) { return(_nextId.CompareTo(_maxId) > 0); } }