fallbackToAlternativeStore property

bool fallbackToAlternativeStore
final

Whether to retrieve a tile from another store if it exists, as a fallback, instead of throwing an error

Does not add tiles taken from other stores to the specified store.

When tiles are retrieved from other stores, it is counted as a miss for the specified store.

This may introduce notable performance reductions, especially if failures occur often or the root is particularly large, as an extra lookup with unbounded constraints is required for each tile.

See details on CacheBehavior for information. Fallback to an alternative store is always the last-resort option before throwing an error.

Defaults to true.

Implementation

final bool fallbackToAlternativeStore;