RootStats class

Provides statistics about a RootDirectory

Constructors

RootStats(RootDirectory _rootDirectory, {bool forceRecalculation = false})
Provides statistics about a RootDirectory

Properties

hashCode → int
The hash code for this object.
no setterinherited
noCache → RootStats
Force re-calculation for all statistics instead of retrieving from stats cache
no setter
rootLength → int
Retrieve the number of stored tiles in all sub-stores
no setter
rootLengthAsync → Future<int>
Retrieve the number of stored tiles in all sub-stores
no setter
rootSize → double
Retrieve the size of the root in kibibytes (KiB)
no setter
rootSizeAsync → Future<double>
Retrieve the size of the root in kibibytes (KiB)
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
storesAvailable → List<StoreDirectory>
Retrieve all the available StoreDirectorys
no setter
storesAvailableAsync → Future<List<StoreDirectory>>
Retrieve all the available StoreDirectorys
no setter

Methods

invalidateCachedStatistics(String? statType) → void
Remove the cached statistics synchronously
invalidateCachedStatisticsAsync(String? statType) → Future<void>
Remove the cached statistics asynchronously
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited
watchChanges({Duration? debounce = const Duration(milliseconds: 200), List<StoreDirectory> recursive = const [], List<ChangeType> events = const [ChangeType.ADD, ChangeType.MODIFY, ChangeType.REMOVE], List<RootParts> rootParts = RootParts.values, List<StoreParts> storeParts = StoreParts.values}) → Stream<void>
Watch for changes in the current cache

Operators

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