logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Namespace Serenity.AssetPrefetcher.Domain.ValueObjects

    Classes

    PrefetchBudget

    Value object representing budget constraints for prefetch operations.
    Defines maximum limits for cache items and memory usage.

    PrefetchPolicy

    Value object that defines the overall prefetch policy configuration.
    Combines strategy and eviction policy to control cache behavior.

    PrefetchProfile

    Complete configuration profile for asset prefetching operations.
    Combines budget constraints and policies into a reusable configuration unit.

    Structs

    AssetKey

    Immutable value object representing a unique identifier for an asset.
    Provides type safety and equality semantics for asset identification.

    CacheEntrySnapshot

    Snapshot of a cache entry for debugging and monitoring purposes.

    CacheStatusInfo

    Immutable value object containing cache status information for an asset. Provides current state and size information for cache queries.

    Entry

    Internal cache entry structure containing loaded asset, loading state, and size information.

    PrefetcherDiagnostics

    Immutable diagnostic snapshot of the asset prefetcher's current state.
    Provides comprehensive information about cache usage, queue status, and system limits.

    Enums

    CacheItemState

    Enumeration representing the various states of a cache item during its lifecycle.

    PrefetchEvictionPolicy

    Enumeration defining different policies for cache eviction when memory limits are reached.
    Determines which cached assets are removed when space is needed for new assets.

    PrefetchPriority

    Enumeration defining the priority levels for asset prefetch operations.
    Higher priority assets are processed before lower priority ones.

    PrefetchStrategy

    Enumeration defining different strategies for asset prefetching.
    Determines when and how assets are loaded into the cache.

    In this article
    © 2026 Serenity. All Rights Reserved