C# Класс 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.
Наследование: LogPersistenceStore
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

Consolidate() публичный Метод

Produce a consolidated log file containing all the data in the log.
public Consolidate ( ) : void
Результат void

IndexedKeyStore() публичный Метод

Open an existing store in read only mode.
public IndexedKeyStore ( string FileName ) : System
FileName string The base file name.
Результат System

IndexedKeyStore() публичный Метод

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.
Результат System

IndexedKeyStore() публичный Метод

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.
Результат System

RollOver() публичный Метод

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
Результат void