Class CacheEviction
java.lang.Object
io.fluxzero.common.caching.CacheEviction
Represents an eviction from a
Cache.
These events are typically emitted when a cached object is removed from memory due to expiration, memory pressure, manual eviction, or cache size constraints.
Eviction events are useful for metrics reporting and operational observability, particularly when monitoring cache hit/miss ratios and understanding retention behaviors under load.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumIndicates the cause for a cache entry eviction. -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
CacheEviction
public CacheEviction()
-