Package com.loomcache.server.cache
@NullMarked
package com.loomcache.server.cache
-
ClassDescriptionTracks key access frequencies for hot-key preloading.Aggregate access distribution statistics.Access statistics for a single key.Interface for loading cache data from external sources.Warms cache from various sources for fast startup.Manages distributed entry listener subscriptions and broadcasts.Notifies listeners before and after eviction events.Event describing an eviction.Listener interface for eviction events.Reason for eviction.Estimates memory usage of cache entries and maps.Monitors JVM heap usage and cache memory consumption.Memory usage statistics.Memory threshold configuration. softLimit: 80% of heap — triggers background eviction hardLimit: 90% of heap — rejects new writesManages near-cache invalidation subscriptions and broadcasts.Sealed interface defining preload policies for cache warming.Preload all keys from the previous session.Preload the N most accessed keys from the previous session.Preload keys matching a regex pattern.Preload keys based on explicit priority values.Multi-tier eviction strategy for efficient memory management.Candidate for eviction.Result of eviction operation.Configuration for cache warming operations.Callback interface for monitoring cache warming progress.Real-time progress metrics during a cache warming operation.Final result of a cache warming operation.