JournalData Class

Contains information about the change journal on a volume.

public sealed class JournalData

Properties

NameDescription
AllocationDeltaThe size, in bytes, the journal can grow when needed, and purge from the start of the journal is it grows past MaximumSize.
FirstUSNIdentifies the first Usn in the journal. All USN's below this value have been purged.
FlagsWhether or not range tracking is turned on. The following are the possible values for the Flags member.
ID64-bit unique journal identifier.
IsActiveGets a value indicating whether a change journal is active on the volume.
LowestValidUSNThe lowest Usn that is valid for this journal and may be zero. All changes with this Usn or higher have been recorded in the journal.
MaxSupportedMajorVersionThe maximum version of the USN change journal that the file system supports.
MaximumSizeThe maximum size, in bytes, the journal can use on the volume.
MaximumUSNThe largest Usn that will ever to assigned to a record in this journal.
MinSupportedMajorVersionThe minimum version of the USN change journal that the file system supports.
NextUSNThe Usn that will be assigned to the next record appended to the journal.
RangeTrackChunkSizeThe granularity of tracked ranges. Valid only when you also set the Flags member to ChangeJournalFlags.TrackModifiedRangesEnable.
RangeTrackFileSizeThresholdFile size threshold to start tracking range for files with equal or larger size. Valid only when you also set the Flags member to ChangeJournalFlags.TrackModifiedRangesEnable.

AllocationDelta

JournalData.cs

The size, in bytes, the journal can grow when needed, and purge from the start of the journal is it grows past MaximumSize.

public ulong AllocationDelta { get; }

Property value

ulong

Identifies the first Usn in the journal. All USN's below this value have been purged.

public Usn FirstUSN { get; }

Property value

Usn

Whether or not range tracking is turned on. The following are the possible values for the Flags member.

public ChangeJournalFlags Flags { get; }

Property value

ChangeJournalFlags

64-bit unique journal identifier.

public ulong ID { get; }

Property value

ulong

Gets a value indicating whether a change journal is active on the volume.

public bool IsActive { get; }

Property value

bool

Remarks

When this is false, the volume has no change journal and every other property is zero. Reading entries in that state fails with a Win32Exception, so check this before enumerating. Use ChangeJournal.Create to create the journal.

LowestValidUSN

JournalData.cs

The lowest Usn that is valid for this journal and may be zero. All changes with this Usn or higher have been recorded in the journal.

public Usn LowestValidUSN { get; }

Property value

Usn

MaxSupportedMajorVersion

JournalData.cs

The maximum version of the USN change journal that the file system supports.

public ushort MaxSupportedMajorVersion { get; }

Property value

ushort

MaximumSize

JournalData.cs

The maximum size, in bytes, the journal can use on the volume.

public ulong MaximumSize { get; }

Property value

ulong

MaximumUSN

JournalData.cs

The largest Usn that will ever to assigned to a record in this journal.

public Usn MaximumUSN { get; }

Property value

Usn

MinSupportedMajorVersion

JournalData.cs

The minimum version of the USN change journal that the file system supports.

public ushort MinSupportedMajorVersion { get; }

Property value

ushort

The Usn that will be assigned to the next record appended to the journal.

public Usn NextUSN { get; }

Property value

Usn

RangeTrackChunkSize

JournalData.cs

The granularity of tracked ranges. Valid only when you also set the Flags member to ChangeJournalFlags.TrackModifiedRangesEnable.

public ulong RangeTrackChunkSize { get; }

Property value

ulong

RangeTrackFileSizeThreshold

JournalData.cs

File size threshold to start tracking range for files with equal or larger size. Valid only when you also set the Flags member to ChangeJournalFlags.TrackModifiedRangesEnable.

public long RangeTrackFileSizeThreshold { get; }

Property value

long