GetBlock() private méthode

Populates the pointer data inside args for the desired block as specified in args. This function will block if needing to retrieve data from the disk.
private GetBlock ( PageReplacementAlgorithm pageLock, BlockArguments args ) : void
pageLock PageReplacementAlgorithm The reusable lock information about what this block is currently using.
args GSF.IO.Unmanaged.BlockArguments Contains what block needs to be read and when this function returns, /// it will contain the proper pointer information for this block.
Résultat void
Exemple #1
0
 /// <summary>
 /// Gets a block for the following Io session.
 /// </summary>
 /// <param name="args">the <see cref="BlockArguments"/> to use to read and write to a block</param>
 public override void GetBlock(BlockArguments args)
 {
     if (IsDisposed)
     {
         throw new ObjectDisposedException(GetType().FullName);
     }
     m_stream.GetBlock(this, args);
 }