RetentionReport class final

What one retention sweep did (or would do, for a dry run).

Annotations
  • @immutable

Constructors

RetentionReport({required int scanned, required int deletedFiles, required int deletedJobs, required int freedBytes, required bool dryRun, required DateTime startedAt, required DateTime finishedAt})
Creates a report.
const

Properties

deletedFiles int
How many files were deleted (or would be, when dryRun).
final
deletedJobs int
How many job records were deleted (or would be).
final
dryRun bool
Whether this was a dry run (nothing deleted).
final
finishedAt DateTime
When the sweep finished (UTC).
final
freedBytes int
Total bytes reclaimed (or that would be).
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scanned int
How many jobs and orphan objects were examined.
final
startedAt DateTime
When the sweep started (UTC).
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, Object?>
The report as a JSON-encodable map.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited