C# Class Neo4jClient.Transactions.Neo4jTransationSinglePhaseNotification

When TransactionPromotableSinglePhaseNotification fails to register as PSPE, then this class will be registered, and all the necessary work will be done in here
Inheritance: ISinglePhaseNotification
显示文件 Open project: Readify/Neo4jClient Class Usage Examples

Public Methods

Method Description
Commit ( Enlistment enlistment ) : void
Enlist ( Transaction tx ) : void
InDoubt ( Enlistment enlistment ) : void
Neo4jTransationSinglePhaseNotification ( ITransactionExecutionEnvironment transactionExecutionEnvironment ) : System
Prepare ( PreparingEnlistment preparingEnlistment ) : void
Rollback ( Enlistment enlistment ) : void
SinglePhaseCommit ( SinglePhaseEnlistment singlePhaseEnlistment ) : void

Method Details

Commit() public method

public Commit ( Enlistment enlistment ) : void
enlistment System.Transactions.Enlistment
return void

Enlist() public method

public Enlist ( Transaction tx ) : void
tx System.Transactions.Transaction
return void

InDoubt() public method

public InDoubt ( Enlistment enlistment ) : void
enlistment System.Transactions.Enlistment
return void

Neo4jTransationSinglePhaseNotification() public method

public Neo4jTransationSinglePhaseNotification ( ITransactionExecutionEnvironment transactionExecutionEnvironment ) : System
transactionExecutionEnvironment ITransactionExecutionEnvironment
return System

Prepare() public method

public Prepare ( PreparingEnlistment preparingEnlistment ) : void
preparingEnlistment System.Transactions.PreparingEnlistment
return void

Rollback() public method

public Rollback ( Enlistment enlistment ) : void
enlistment System.Transactions.Enlistment
return void

SinglePhaseCommit() public method

public SinglePhaseCommit ( SinglePhaseEnlistment singlePhaseEnlistment ) : void
singlePhaseEnlistment System.Transactions.SinglePhaseEnlistment
return void