计算机英语20141203

本文深入探讨了英语词汇'eligible'和'evicted'的含义,并通过Android源码LruCache.java注释,阐述了它们在缓存管理中的实际应用场景。解释了Cache如何通过限制内容数量、移动访问项到队列头部以及在满载时移除尾部项来优化内存使用。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

eligible

英 ['elɪdʒɪb(ə)l]
美 ['ɛlɪdʒəbl]
  • n. 合格者;适任者;有资格者
  • adj. 合格的,合适的;符合条件的;有资格当选的

evicted

[网络短语]
  • evicted 被赶
  • evicted tenant 被赶走的住客
  • If Evicted 如果被驱赶
出自Android源码LruCache.java注释
 A cache that holds strong references to a limited number of values. Each time 
 a value is accessed, it is moved to the head of a queue. When a value is 
 added to a full cache, the value at the end of that queue is
evicted and may 
 become eligible for garbage collection.
Cache保存一个强引用来限制内容数量,每当Item被访问的时候,此Item就会移动到队列的头部。当cache已满的时候加入新的item时,在队列尾部的item会被回收。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值