C# Class Raven.Storage.Managed.TransactionStorageActions

Inheritance: ITransactionStorageActions
Mostra file Open project: nhsevidence/ravendb Class Usage Examples

Public Methods

Method Description
AddDocumentInTransaction ( string key, System.Guid etag, RavenJObject data, RavenJObject metadata, Raven.Abstractions.Data.TransactionInformation transactionInformation ) : System.Guid
CompleteTransaction ( System.Guid txId, Action perDocumentModified ) : void
DeleteDocumentInTransaction ( Raven.Abstractions.Data.TransactionInformation transactionInformation, string key, System.Guid etag ) : void
GetTransactionIds ( ) : IEnumerable
ModifyTransactionId ( System.Guid fromTxId, System.Guid toTxId, System.TimeSpan timeout ) : void
RollbackTransaction ( System.Guid txId ) : void
TransactionExists ( System.Guid txId ) : bool
TransactionStorageActions ( TableStorage storage, IUuidGenerator generator, OrderedPartCollection documentCodecs ) : System

Private Methods

Method Description
AssertValidEtag ( string key, Table doc, Table docInTx, System.Guid etag ) : void

Method Details

AddDocumentInTransaction() public method

public AddDocumentInTransaction ( string key, System.Guid etag, RavenJObject data, RavenJObject metadata, Raven.Abstractions.Data.TransactionInformation transactionInformation ) : System.Guid
key string
etag System.Guid
data RavenJObject
metadata RavenJObject
transactionInformation Raven.Abstractions.Data.TransactionInformation
return System.Guid

CompleteTransaction() public method

public CompleteTransaction ( System.Guid txId, Action perDocumentModified ) : void
txId System.Guid
perDocumentModified Action
return void

DeleteDocumentInTransaction() public method

public DeleteDocumentInTransaction ( Raven.Abstractions.Data.TransactionInformation transactionInformation, string key, System.Guid etag ) : void
transactionInformation Raven.Abstractions.Data.TransactionInformation
key string
etag System.Guid
return void

GetTransactionIds() public method

public GetTransactionIds ( ) : IEnumerable
return IEnumerable

ModifyTransactionId() public method

public ModifyTransactionId ( System.Guid fromTxId, System.Guid toTxId, System.TimeSpan timeout ) : void
fromTxId System.Guid
toTxId System.Guid
timeout System.TimeSpan
return void

RollbackTransaction() public method

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

TransactionExists() public method

public TransactionExists ( System.Guid txId ) : bool
txId System.Guid
return bool

TransactionStorageActions() public method

public TransactionStorageActions ( TableStorage storage, IUuidGenerator generator, OrderedPartCollection documentCodecs ) : System
storage Raven.Storage.Managed.Impl.TableStorage
generator IUuidGenerator
documentCodecs OrderedPartCollection
return System