C# Class Raven.ManagedStorage.Degenerate.PersistentDictionary

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

Méthodes publiques

Méthode Description
Add ( JToken key, byte value, System.Guid txId ) : bool
CopyUncommitedData ( Stream tempData ) : void
GreaterThanOrEqual ( JToken key ) : IEnumerable
PersistentDictionary ( IPersistentSource persistentSource ) : System
Read ( JToken key, System.Guid txId ) : byte[]
Remove ( JToken key, System.Guid txId ) : bool
Rollback ( System.Guid txId ) : void

Private Methods

Méthode Description
AddInteral ( JToken key, PositionInFile position ) : void
ApplyCommands ( IEnumerable cmds ) : void
ClearTransactionInMemoryData ( System.Guid txId ) : void
CompleteCommit ( System.Guid txId ) : void
CopyCommittedData ( Stream tempData, List cmds ) : void
GetCommandsToCommit ( System.Guid txId ) : List
ReadData ( long pos, int size ) : byte[]
ReadDataNoCaching ( long pos, int size ) : byte[]
RemoveInternal ( JToken key ) : void

Method Details

Add() public méthode

public Add ( JToken key, byte value, System.Guid txId ) : bool
key JToken
value byte
txId System.Guid
Résultat bool

CopyUncommitedData() public méthode

public CopyUncommitedData ( Stream tempData ) : void
tempData Stream
Résultat void

GreaterThanOrEqual() public méthode

public GreaterThanOrEqual ( JToken key ) : IEnumerable
key JToken
Résultat IEnumerable

PersistentDictionary() public méthode

public PersistentDictionary ( IPersistentSource persistentSource ) : System
persistentSource IPersistentSource
Résultat System

Read() public méthode

public Read ( JToken key, System.Guid txId ) : byte[]
key JToken
txId System.Guid
Résultat byte[]

Remove() public méthode

public Remove ( JToken key, System.Guid txId ) : bool
key JToken
txId System.Guid
Résultat bool

Rollback() public méthode

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