C# Class Raven.ManagedStorage.Degenerate.AggregateDictionary

Afficher le fichier Open project: ayende/Degenerated.Storage Class Usage Examples

Méthodes publiques

Méthode 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

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

Method Details

AggregateDictionary() public méthode

public AggregateDictionary ( IPersistentSource persistentSource, int countOfDictionaries ) : System
persistentSource IPersistentSource
countOfDictionaries int
Résultat System

Commit() public méthode

public Commit ( System.Guid txId ) : void
txId System.Guid
Résultat void

Compact() public méthode

public Compact ( ) : void
Résultat void

PerformIdleTasks() public méthode

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
Résultat void

this() public méthode

public this ( int i ) : PersistentDictionary
i int
Résultat PersistentDictionary