Data Members



autoCommit initially YES. if YES, every change that is added with addAtomicChange: immediately results in a commit

 BOOL autoCommit;


changeSet the changes that have been made within this transaction. Note: currently this is not a set but a list. May change in future versions

 NSMutableArray* changeSet;


observations a set of objects that registered in the notification center on one or more changes that are contained in this transaction. This list is filled during preparation (see prepare method)

 NSMutableSet* observations;


status the state of the transaction

 enum BNZTransactionStatus status;


the exception that may have interrupted the commit, if any

 NSException* commitException;


thread the thread in which this transaction is valid

 NSThread* thread;


threadLock a lock that is used by the BNZTransactionalNotificationCenter in clearToCommit to halt the commit of this thread until previous transactions this thread depends on have finished

 NSConditionLock* threadLock;


transactionsToWaitFor an array of transactions that are currently committing and that have a non-empty intersection of their change set with this transaction.

 NSMutableArray* transactionsToWaitFor;


(Last Updated 8/31/2006)