C# Class GSF.IO.Unmanaged.MemoryPoolStreamCore.Settings

This class was created to allow settings update to be atomic.
Show file Open project: GridProtectionAlliance/openHistorian

Public Methods

Method Description
AddNewPage ( IntPtr pagePointer, int pageIndex ) : void
Clone ( ) : Settings
GetAllPageIndexes ( ) : IEnumerable

Returns all of the buffer pool page indexes used by this class

GetPointer ( int page ) : IntPtr
Settings ( ) : System

Private Methods

Method Description
EnsureCapacity ( ) : void
GetIndex ( int page ) : int

Method Details

AddNewPage() public method

public AddNewPage ( IntPtr pagePointer, int pageIndex ) : void
pagePointer System.IntPtr
pageIndex int
return void

Clone() public method

public Clone ( ) : Settings
return Settings

GetAllPageIndexes() public method

Returns all of the buffer pool page indexes used by this class
public GetAllPageIndexes ( ) : IEnumerable
return IEnumerable

GetPointer() public method

public GetPointer ( int page ) : IntPtr
page int
return System.IntPtr

Settings() public method

public Settings ( ) : System
return System