TransactedProperty<T>.Cleanup Method |
Cleans up modifications that are no longer visible to any transaction.
Namespace:
AGI.Foundation.Infrastructure.Threading
Assembly:
AGI.Foundation.Tracking (in AGI.Foundation.Tracking.dll) Version: 24.3.420.0 (24.3.420.0)
Syntaxprotected override void Cleanup(
Object modificationDetails
)
Protected Overrides Sub Cleanup (
modificationDetails As Object
)
protected:
virtual void Cleanup(
Object^ modificationDetails
) override
abstract Cleanup :
modificationDetails : Object -> unit
override Cleanup :
modificationDetails : Object -> unit
Parameters
- modificationDetails
- Type: System.Object
The last modification that is still visible to transactions. Any modifications
after this one can be cleaned up.
Remarks
Typically, historical values are maintained as a linked list, where the previous (older)
modification is found by traversing the Next property of a given value body. When
this method is called, the value body referenced by the Next property is no longer
needed. It should be set to null so that it can be reclaimed by the garbage
collector.
See Also