FlatTrackingData Class

Definition

Class used to store and interrogate inputs and outputs recorded by tracking operations.

public ref class FlatTrackingData
public class FlatTrackingData
type FlatTrackingData = class
Public Class FlatTrackingData
Inheritance
FlatTrackingData

Constructors

FlatTrackingData(ITask, ITaskItem[], Boolean)

Constructor

FlatTrackingData(ITask, ITaskItem[], DateTime)

Constructor

FlatTrackingData(ITaskItem[], Boolean)

Constructor

FlatTrackingData(ITaskItem[], DateTime)

Constructor

FlatTrackingData(ITaskItem[], ITaskItem[], DateTime)

Constructor

FlatTrackingData(ITaskItem[], ITaskItem[], DateTime, String[], IDictionary<String,DateTime>)

Constructor

FlatTrackingData(ITaskItem[], ITaskItem[], DateTime, String[], IDictionary<String,DateTime>, Boolean)

Constructor

Properties

DependencyTable

Gets the dependency table.

MissingFiles

Missing files have been detected in the TLog

NewestFileName

The path for the newest file we have seen

NewestFileTime

The time for the newest file we have seen

NewestFileTimeUtc

The time for the newest file we have seen

NewestTLogFileName

The path of the newest TLog file

NewestTLogTime

The time of the newest Tlog

NewestTLogTimeUtc

The time of the newest Tlog

OldestFileName

The path for the oldest file we have seen

OldestFileTime

The time for the oldest file we have seen

OldestFileTimeUtc

The time for the oldest file we have seen

SkipMissingFiles

Should files in the TLog but no longer exist be skipped or recorded?

TlogFiles

The TLog files that back this structure

TlogsAvailable

Are all the TLogs that were passed to us actually available on disk?

TreatRootMarkersAsEntries

Should root markers in the TLog be treated as file accesses, or only as markers?

Methods

FileIsExcludedFromDependencyCheck(String)

Test to see if the specified file is excluded from tracked dependency checking

FinalizeTLogs(Boolean, ITaskItem[], ITaskItem[], ITaskItem[])

Once tracked operations have been completed then we need to compact / finalize the Tlogs based on the success of the tracked execution. If it fails, then we clean out the TLogs. If it succeeds then we clean temporary files from the TLogs and re-write them.

GetLastWriteTimeUtc(String)

Returns cached value for last write time of file. Update the cache if it is the first time someone asking for that file

IsUpToDate(Task, UpToDateCheckType, ITaskItem[], ITaskItem[])

Checks to see if the tracking data indicates that everything is up to date according to UpToDateCheckType. Note: If things are not up to date, then the TLogs are compacted to remove all entries in preparation to re-track execution of work.

IsUpToDate(TaskLoggingHelper, UpToDateCheckType, FlatTrackingData, FlatTrackingData)

Simple check of up to date state according to the tracking data and the UpToDateCheckType. Note: No tracking log compaction will take place when using this overload

SaveTlog()

This method will re-write the tlogs from the output table

SaveTlog(DependencyFilter)

This method will re-write the tlogs from the current table

UpdateFileEntryDetails()

Update the current state of entry details for the dependency table

Applies to