C# Class Goedel.Persistence.IndexedKeyStore

Currently a placeholder class for an version of the keystore that potentially makes use of indexes appended to the log file increments to avoid the need to hold the entire structure in-memory.
Inheritance: LogPersistenceStore
Exibir arquivo Open project: hallambaker/Mathematical-Mesh

Public Methods

Method Description
Consolidate ( ) : void

Produce a consolidated log file containing all the data in the log.

IndexedKeyStore ( string FileName ) : System

Open an existing store in read only mode.

IndexedKeyStore ( string FileName, bool ReadOnly, string Type, string Comment ) : System

Open or create a persistence store in specified mode with the specified file name, content type and optional comment.

IndexedKeyStore ( string FileName, string Type, string Comment ) : System

Open or create a persistence store in read/write mode with the specified file name, content type and optional comment.

RollOver ( ) : void

Start writing to a new log file and close out the current log by writing termination records, closure indexes etc. Note that these are concurrent operations.

Method Details

Consolidate() public method

Produce a consolidated log file containing all the data in the log.
public Consolidate ( ) : void
return void

IndexedKeyStore() public method

Open an existing store in read only mode.
public IndexedKeyStore ( string FileName ) : System
FileName string The base file name.
return System

IndexedKeyStore() public method

Open or create a persistence store in specified mode with the specified file name, content type and optional comment.
public IndexedKeyStore ( string FileName, bool ReadOnly, string Type, string Comment ) : System
FileName string Log file.
ReadOnly bool If true, persistence store must exist /// and will be opened in read-only mode. If false, persistence store /// is opened in read/write mode and a new store will be created /// if none exists.
Type string Type of data to store (the schema name).
Comment string Comment to be written to the log.
return System

IndexedKeyStore() public method

Open or create a persistence store in read/write mode with the specified file name, content type and optional comment.
public IndexedKeyStore ( string FileName, string Type, string Comment ) : System
FileName string Log file.
Type string Type of data to store (the schema name).
Comment string Comment to be written to the log.
return System

RollOver() public method

Start writing to a new log file and close out the current log by writing termination records, closure indexes etc. Note that these are concurrent operations.
public RollOver ( ) : void
return void