protected override void SetDataAreaSize(long length) { lock (CheckPointLock) { if (dataStream != null) dataStream.SetLength(length); } }