StoreStats class
Provides statistics about an FMTCStore
If the store is not in the expected state (of existence) when invoking an operation, then an error will be thrown (StoreNotExists). It is recommended to check StoreManagement.ready when necessary.
- Available extensions
Properties
-
all
→ Future<
({int hits, int length, int misses, double size})> -
Retrieve the following statistics about the specified store (all available):
no setter
-
cacheHitsAsync
→ Future<
int> -
Available on StoreStats, provided by the StoreStatsDeprecations extension
Retrieve the number of successful tile retrievals when browsingno setter -
cacheMissesAsync
→ Future<
int> -
Available on StoreStats, provided by the StoreStatsDeprecations extension
Retrieve the number of unsuccessful tile retrievals when browsingno setter - hashCode → int
-
The hash code for this object.
no setterinherited
-
hits
→ Future<
int> -
Retrieve the number of successful tile retrievals when browsing
no setter
-
length
→ Future<
int> -
Retrieve the number of tiles belonging to this store
no setter
-
misses
→ Future<
int> -
Retrieve the number of unsuccessful tile retrievals when browsing
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
size
→ Future<
double> -
Retrieve the total number of KiBs of all tiles' bytes (not 'real total'
size)
no setter
-
storeLengthAsync
→ Future<
int> -
Available on StoreStats, provided by the StoreStatsDeprecations extension
Retrieve the number of tiles belonging to this storeno setter -
storeSizeAsync
→ Future<
double> -
Available on StoreStats, provided by the StoreStatsDeprecations extension
Retrieve the total number of KiBs of all tiles' bytes (not 'real total' size)no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
tileImage(
{double? size, Key? key, double scale = 1.0, ImageFrameBuilder? frameBuilder, ImageErrorWidgetBuilder? errorBuilder, String? semanticLabel, bool excludeFromSemantics = false, Color? color, Animation< double> ? opacity, BlendMode? colorBlendMode, BoxFit? fit, AlignmentGeometry alignment = Alignment.center, ImageRepeat repeat = ImageRepeat.noRepeat, Rect? centerSlice, bool matchTextDirection = false, bool gaplessPlayback = false, bool isAntiAlias = false, FilterQuality filterQuality = FilterQuality.low, int? cacheWidth, int? cacheHeight}) → Future<Image?> - Retrieve the tile most recently modified in the specified store, if any tiles exist , then render the bytes to an Image
-
tileImageAsync(
{double? size, Key? key, double scale = 1.0, ImageFrameBuilder? frameBuilder, ImageErrorWidgetBuilder? errorBuilder, String? semanticLabel, bool excludeFromSemantics = false, Color? color, Animation< double> ? opacity, BlendMode? colorBlendMode, BoxFit? fit, AlignmentGeometry alignment = Alignment.center, ImageRepeat repeat = ImageRepeat.noRepeat, Rect? centerSlice, bool matchTextDirection = false, bool gaplessPlayback = false, bool isAntiAlias = false, FilterQuality filterQuality = FilterQuality.low, int? cacheWidth, int? cacheHeight}) → Future<Image?> -
Available on StoreStats, provided by the StoreStatsDeprecations extension
, then render the bytes to an Image -
toString(
) → String -
A string representation of this object.
inherited
-
watchChanges(
{bool triggerImmediately = false}) → Stream< void> - Watch for changes in the specified stores
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited