C# Class Raven.ManagedStorage.Degenerate.AggregateDictionary

Mostra file Open project: ayende/Degenerated.Storage Class Usage Examples

Public Methods

Method Description
AggregateDictionary ( IPersistentSource persistentSource, int countOfDictionaries ) : System
Commit ( System.Guid txId ) : void
Compact ( ) : void
PerformIdleTasks ( ) : void

This method should be called when the application is idle It is used for book keeping tasks such as compacting the data storage file.

this ( int i ) : PersistentDictionary

Private Methods

Method Description
CompactionRequired ( ) : bool
Initialze ( ) : void
ReadCommands ( long lastGoodPosition ) : IEnumerable
WriteCommands ( IEnumerable cmds, Stream log ) : void

Method Details

AggregateDictionary() public method

public AggregateDictionary ( IPersistentSource persistentSource, int countOfDictionaries ) : System
persistentSource IPersistentSource
countOfDictionaries int
return System

Commit() public method

public Commit ( System.Guid txId ) : void
txId System.Guid
return void

Compact() public method

public Compact ( ) : void
return void

PerformIdleTasks() public method

This method should be called when the application is idle It is used for book keeping tasks such as compacting the data storage file.
public PerformIdleTasks ( ) : void
return void

this() public method

public this ( int i ) : PersistentDictionary
i int
return PersistentDictionary