Uses of Enum Class
cloud.opencode.base.cache.model.RemovalCause
Packages that use RemovalCause
Package
Description
-
Uses of RemovalCause in cloud.opencode.base.cache.event
Methods in cloud.opencode.base.cache.event that return RemovalCauseModifier and TypeMethodDescriptionCacheEvent.removalCause()Returns the value of theremovalCauserecord component.Methods in cloud.opencode.base.cache.event that return types with arguments of type RemovalCauseModifier and TypeMethodDescriptionCacheEvent.optionalRemovalCause()Get optional removal cause 获取可选的移除原因Methods in cloud.opencode.base.cache.event with parameters of type RemovalCauseModifier and TypeMethodDescriptionstatic <K,V> CacheEvent <K, V> CacheEvent.evict(String cacheName, K key, V oldValue, RemovalCause cause) Create EVICT event 创建 EVICT 事件Constructors in cloud.opencode.base.cache.event with parameters of type RemovalCauseModifierConstructorDescriptionCacheEvent(CacheEvent.EventType type, String cacheName, K key, V value, V oldValue, RemovalCause removalCause, boolean isHit, Instant timestamp) Creates an instance of aCacheEventrecord class. -
Uses of RemovalCause in cloud.opencode.base.cache.model
Subclasses with type arguments of type RemovalCause in cloud.opencode.base.cache.modelModifier and TypeClassDescriptionenumCache Entry Removal Cause - Enum indicating why a cache entry was removed 缓存条目移除原因 - 表示缓存条目被移除原因的枚举Methods in cloud.opencode.base.cache.model that return RemovalCauseModifier and TypeMethodDescriptionstatic RemovalCauseReturns the enum constant of this class with the specified name.static RemovalCause[]RemovalCause.values()Returns an array containing the constants of this enum class, in the order they are declared. -
Uses of RemovalCause in cloud.opencode.base.cache.spi
Methods in cloud.opencode.base.cache.spi with parameters of type RemovalCauseModifier and TypeMethodDescriptionvoidRemovalListener.onRemoval(K key, V value, RemovalCause cause) Called when an entry is removed from cache 当条目从缓存中移除时调用