public _IFunction4_147(CachingBin _enclosing) { this._enclosing = _enclosing; }
public _IProcedure4_22(CachingBin _enclosing) { this._enclosing = _enclosing; }
public _IRunnable_119(CachingBin _enclosing, IRunnable runnable) { this._enclosing = _enclosing; this.runnable = runnable; }
/// <exception cref="Db4objects.Db4o.Ext.Db4oIOException"></exception> private void WritePageToDisk(CachingBin.Page page) { base.Write(page._startAddress, page._buffer, page.Size()); page._dirty = false; }
public _IProcedure4_22(CachingBin _enclosing) { this._enclosing = _enclosing; }
/// <exception cref="Db4objects.Db4o.Ext.Db4oIOException"></exception> private void LoadPage(CachingBin.Page page, long pos) { long startAddress = pos - pos % _pageSize; page._startAddress = startAddress; int count = _bin.Read(page._startAddress, page._buffer, page._bufferSize); if (count > 0) { page._endAddress = startAddress + count; } else { page._endAddress = startAddress; } }
/// <exception cref="Db4objects.Db4o.Ext.Db4oIOException"></exception> private void FlushPage(CachingBin.Page page) { if (!page._dirty) { return; } WritePageToDisk(page); }
private void ResetPageAddress(CachingBin.Page page, long startAddress) { page._startAddress = startAddress; page._endAddress = startAddress + _pageSize; }
public _IFunction4_147(CachingBin _enclosing) { this._enclosing = _enclosing; }
public _IRunnable_119(CachingBin _enclosing, IRunnable runnable) { this._enclosing = _enclosing; this.runnable = runnable; }