all property

Future<({int hits, int length, int misses, double size})> all

Retrieve the following statistics about the specified store (all available):

  • size: total number of KiBs of all tiles' bytes (not 'real total' size)
  • length: number of tiles belonging
  • hits: number of successful tile retrievals when browsing
  • misses: number of unsuccessful tile retrievals when browsing

Prefer using all when multiple statistics are required instead of getting them individually. Only one backend operation is required to get all the stats, and so is more efficient.

Implementation

Future<({double size, int length, int hits, int misses})> get all =>
    FMTCBackendAccess.internal.getStoreStats(storeName: _storeName);