Beispiel #1
0
 public TransactionDeleteBuilder(DeleteBuilderImpl deleteBuilderImpl,
                                 CuratorTransactionImpl curatorTransaction,
                                 CuratorMultiTransactionRecord transaction)
 {
     _deleteBuilderImpl  = deleteBuilderImpl;
     _curatorTransaction = curatorTransaction;
     _transaction        = transaction;
 }
 public TransactionCreateBuilder(CreateBuilderImpl createBuilderImpl,
                                 CuratorTransactionImpl curatorTransaction,
                                 CuratorMultiTransactionRecord transaction)
 {
     _createBuilderImpl  = createBuilderImpl;
     _curatorTransaction = curatorTransaction;
     _transaction        = transaction;
 }
Beispiel #3
0
 public TransactionITransactionSetDataBuilder(SetDataBuilderImpl setDataBuilderImpl,
                                              CuratorMultiTransactionRecord transaction,
                                              CuratorTransactionImpl curatorTransaction)
 {
     _setDataBuilderImpl = setDataBuilderImpl;
     _transaction        = transaction;
     _curatorTransaction = curatorTransaction;
 }
 internal ITransactionCreateBuilder asTransactionCreateBuilder(
     CuratorTransactionImpl curatorTransaction,
     CuratorMultiTransactionRecord transaction)
 {
     return(new TransactionCreateBuilder(this, curatorTransaction, transaction));
 }
Beispiel #5
0
 ITransactionDeleteBuilder asTransactionDeleteBuilder(CuratorTransactionImpl curatorTransaction,
                                                      CuratorMultiTransactionRecord transaction)
 {
     return(new TransactionDeleteBuilder(this));
 }
Beispiel #6
0
 internal CuratorTransactionImpl(CuratorFrameworkImpl client)
 {
     this.client = client;
     transaction = new CuratorMultiTransactionRecord();
 }
Beispiel #7
0
 internal ITransactionSetDataBuilder asTransactionSetDataBuilder(CuratorTransactionImpl curatorTransaction,
                                                                 CuratorMultiTransactionRecord transaction)
 {
     return(new TransactionITransactionSetDataBuilder(this, transaction, curatorTransaction));
 }