Uses of Record Class
cloud.opencode.base.cache.model.CacheEntry
Packages that use CacheEntry
-
Uses of CacheEntry in cloud.opencode.base.cache.model
Methods in cloud.opencode.base.cache.model that return CacheEntryModifier and TypeMethodDescriptionCacheEntry<K, V> CacheEntry.recordAccess()Create new entry with updated access time and count 创建更新访问时间和次数的新条目CacheEntry<K, V> Create new entry with updated value 创建更新值的新条目CacheEntry<K, V> CacheEntry.withWeight(long newWeight) Create new entry with updated weight 创建更新权重的新条目 -
Uses of CacheEntry in cloud.opencode.base.cache.spi
Methods in cloud.opencode.base.cache.spi with parameters of type CacheEntryModifier and TypeMethodDescriptionvoidEvictionPolicy.recordAccess(CacheEntry<K, V> entry) Record access to an entry 记录条目访问voidEvictionPolicy.recordWrite(CacheEntry<K, V> entry) Record write to an entry 记录条目写入Method parameters in cloud.opencode.base.cache.spi with type arguments of type CacheEntryModifier and TypeMethodDescriptionEvictionPolicy.selectVictim(Map<K, CacheEntry<K, V>> entries) Select victim entry to evict 选择要淘汰的条目