C# Class Raven.ManagedStorage.Degenerate.PersistentDictionary

Datei anzeigen Open project: ayende/Degenerated.Storage Class Usage Examples

Public Methods

Method 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

Method 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 method

public Add ( JToken key, byte value, System.Guid txId ) : bool
key JToken
value byte
txId System.Guid
return bool

CopyUncommitedData() public method

public CopyUncommitedData ( Stream tempData ) : void
tempData Stream
return void

GreaterThanOrEqual() public method

public GreaterThanOrEqual ( JToken key ) : IEnumerable
key JToken
return IEnumerable

PersistentDictionary() public method

public PersistentDictionary ( IPersistentSource persistentSource ) : System
persistentSource IPersistentSource
return System

Read() public method

public Read ( JToken key, System.Guid txId ) : byte[]
key JToken
txId System.Guid
return byte[]

Remove() public method

public Remove ( JToken key, System.Guid txId ) : bool
key JToken
txId System.Guid
return bool

Rollback() public method

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