public void ShiftBeginAddress(long oldBeginAddress, long newBeginAddress) { epoch.BumpCurrentEpoch(() => { device.DeleteAddressRange(oldBeginAddress, newBeginAddress); objlogDevice.DeleteSegmentRange((int)(oldBeginAddress >> LogSegmentSizeBits), (int)(newBeginAddress >> LogSegmentSizeBits)); }); }
public void DeleteAddressRange(long fromAddress, long toAddress) { _device.DeleteSegmentRange( (int)(fromAddress >> _segmentSizeBits), (int)(toAddress >> _segmentSizeBits)); }