首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > The project will develop an in – memory object cache utilizing the LRU (least-recently-used) algorit

The project will develop an in – memory object cache utilizing the LRU (least-recently-used) algorit

  • 资源大小:1.53 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:1次
  • 资源积分:1积分
  • 标      签:

资 源 简 介

The cache will store the objects that are most accessed within a fixed size memory pool. Thus system is keep statistics and calculates tradeoffs (i.e. one large object vs. smaller objects). Requests for pages are first directed to the cache and, if the page is not in the cache, then to the auxiliary memory. In the latter case, a copy of the page is saved into the cache. If the cache is full, one of the pages in the cache must be eliminated. LRU (least-recently-used) algorithm replaces the least recently used page from the cache. This system has two service methods like “Add Service” and “Get Service” and two application methods like “remove()” and “LRU()”.

文 件 列 表

PriorityQueueApp.java
myCompare.java
Obj.java

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP