Location Utils
Essential knowledgeCore knowledge to understand Fluent Commerce
Intended Audience:
Technical User
Author:
Holger Lierse
Changed on:
17 Sept 2025
Overview
The`LocationUtils` class in the `util-sourcing` is a utility class that provides utilities for location-based sourcing decisions. It handles location-specific sourcing logic including distance calculations, location availability checks, and provide location-based caching optimization.Key points
- Location-Based Decisions: Handles location-specific sourcing logic.
- Distance Calculations: Calculates distances between locations for proximity-based sourcing.
- Location Availability: Checks if locations are active and available for sourcing.
- Caching Optimization: Provides location-based caching optimization.