C# (CSharp) GSF.IO.FileStructure.Media BufferedFile - 6 examples found. These are the top rated real world C# (CSharp) examples of GSF.IO.FileStructure.Media.BufferedFile extracted from open source projects. You can rate examples to help us improve the quality of examples.
A buffered file stream utilizes the MemoryPool to intellectually cache the contents of files.
This class is a special purpose class that can only be used for the TransactionalFileStructure and can not buffer general purpose file. The cache algorithm is a least recently used algorithm. This is accomplised by incrementing a counter every time a page is accessed and dividing by 2 every time a collection occurs from the MemoryPool.