Namespace Serenity.AssetPrefetcher.Application.Interfaces
Interfaces
IAssetKeyCatalog
Neutral catalog that returns asset keys based on labels.
Concrete implementation (Unity/Addressables) lives in Infrastructure layer.
IAssetPrefetcherApp
Application layer port for asset prefetching operations. Provides the main API that UI and gameplay systems use to declare prefetch intentions. Orchestrates use cases without exposing Addressables or infrastructure details.
IAssetPrefetcherProvider
Domain port for obtaining the asset prefetch service.
Provides abstraction layer that does not expose composition details or singleton patterns.
IAssetPrefetcherService
Core interface for asset prefetching functionality. Provides methods to prefetch assets, manage contexts, and query cache status.
IEvictionService
Service responsible for cache eviction policies and victim selection.
Determines which cached items should be removed when budget constraints are exceeded.
IPrefetchPolicyProfile
Definition interface for a single prefetch policy profile asset.
Lets Application-layer code (installers, use cases) consume a designer-configured
profile without depending on the concrete Unity ScriptableObject type.
IPrefetchPolicyRegistry
Definition interface for a registry of prefetch policy profiles.
Lets Application-layer code look up a profile by ID without depending on the
concrete Unity ScriptableObject registry type.