Click or drag to resize

TransactedObject Class

An object that participates in the software transactional memory (STM) system via TransactionContext and Transaction.
Inheritance Hierarchy

Namespace:  AGI.Foundation.Infrastructure.Threading
Assembly:  AGI.Foundation.Tracking (in AGI.Foundation.Tracking.dll) Version: 20.3.405.0 (20.3.405.0)
Syntax
public abstract class TransactedObject

The TransactedObject type exposes the following members.

Constructors
  NameDescription
Protected methodTransactedObject
Initializes a new instance with a specified owner.
Top
Properties
  NameDescription
Public propertyContext
Gets the transaction context in which this object can be modified.
Public propertyOwner
Gets the object that owns this transacted object, or if this object does not have an owner.
Top
Methods
  NameDescription
Protected methodAbort
Aborts the specified modification.
Protected methodCheckTransaction
Verifies that a specified transaction is in the same context as this transacted object and throws an ArgumentException if it is not.
Protected methodCleanup
Cleans up modifications that are no longer visible to any transaction.
Protected methodCommit
Commits the specified modification.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodNotify
Notifies interested parties of changes to this transacted object.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Protected methodValidateModification
Verifies a modification to ensure that it is still valid after other transactions have potentially committed modifications to this object.
Top
See Also