资源简介

里面有数据库实验二的buffer管理模拟LRU算法java实现源码,以及LRU-k改进算法源码,两者比较,可以加分的,当然仅供参考,有待改进,希望能帮助学弟们,当时我也是煞费苦心,懂得,故在此分享

资源截图

代码片段和文件信息

package com.Storage_and_Buffer_Manager;

public class BCB {
int page_id=0;
int frame_id=0;
int latch=0;
int count=0;
int ftime=0;//time of the first recorded access
int stime=0;//time of the second recorded access
int dirty=0;
BCB next=null;
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2015-11-18 18:59  实验二\
     目录           0  2015-11-18 18:59  实验二\Storage_and_Buffer_Manager\
     文件         301  2015-11-15 16:47  实验二\Storage_and_Buffer_Manager\.classpath
     文件         402  2015-11-15 16:47  实验二\Storage_and_Buffer_Manager\.project
     目录           0  2015-11-18 18:59  实验二\Storage_and_Buffer_Manager\.settings\
     文件         629  2015-11-15 16:47  实验二\Storage_and_Buffer_Manager\.settings\org.eclipse.jdt.core.prefs
     目录           0  2015-11-18 18:59  实验二\Storage_and_Buffer_Manager\bin\
     目录           0  2015-11-18 18:59  实验二\Storage_and_Buffer_Manager\bin\com\
     目录           0  2015-11-18 18:59  实验二\Storage_and_Buffer_Manager\bin\com\Storage_and_Buffer_Manager\
     文件         588  2015-11-15 16:47  实验二\Storage_and_Buffer_Manager\bin\com\Storage_and_Buffer_Manager\BCB.class
     文件         550  2015-11-15 16:47  实验二\Storage_and_Buffer_Manager\bin\com\Storage_and_Buffer_Manager\Bframe.class
     文件        5466  2015-11-15 16:47  实验二\Storage_and_Buffer_Manager\bin\com\Storage_and_Buffer_Manager\BMgr.class
     文件        2539  2015-11-15 16:47  实验二\Storage_and_Buffer_Manager\bin\com\Storage_and_Buffer_Manager\DSMgr.class
     文件         380  2015-11-15 16:47  实验二\Storage_and_Buffer_Manager\bin\com\Storage_and_Buffer_Manager\LRU.class
     文件        2357  2015-11-15 16:47  实验二\Storage_and_Buffer_Manager\bin\com\Storage_and_Buffer_Manager\LRU2Cache.class
     文件        1095  2015-11-15 16:47  实验二\Storage_and_Buffer_Manager\bin\com\Storage_and_Buffer_Manager\LRUCache$Node.class
     文件        3862  2015-11-15 16:47  实验二\Storage_and_Buffer_Manager\bin\com\Storage_and_Buffer_Manager\LRUCache.class
     文件        3155  2015-11-15 16:47  实验二\Storage_and_Buffer_Manager\bin\com\Storage_and_Buffer_Manager\MaxHeap.class
     文件        2271  2015-11-15 16:47  实验二\Storage_and_Buffer_Manager\bin\com\Storage_and_Buffer_Manager\Node.class
     文件        8228  2015-11-15 16:47  实验二\Storage_and_Buffer_Manager\bin\com\Storage_and_Buffer_Manager\Test.class
     文件     3690270  2015-11-15 16:47  实验二\Storage_and_Buffer_Manager\data-5w-50w-zipf.txt
     目录           0  2015-11-18 18:59  实验二\Storage_and_Buffer_Manager\src\
     目录           0  2015-11-18 18:59  实验二\Storage_and_Buffer_Manager\src\com\
     目录           0  2015-11-18 18:59  实验二\Storage_and_Buffer_Manager\src\com\Storage_and_Buffer_Manager\
     文件         264  2015-11-15 16:47  实验二\Storage_and_Buffer_Manager\src\com\Storage_and_Buffer_Manager\BCB.java
     文件         346  2015-11-15 16:47  实验二\Storage_and_Buffer_Manager\src\com\Storage_and_Buffer_Manager\Bframe.java
     文件        6967  2015-11-15 16:47  实验二\Storage_and_Buffer_Manager\src\com\Storage_and_Buffer_Manager\BMgr.java
     文件        2076  2015-11-15 16:47  实验二\Storage_and_Buffer_Manager\src\com\Storage_and_Buffer_Manager\DSMgr.java
     文件         134  2015-11-15 16:47  实验二\Storage_and_Buffer_Manager\src\com\Storage_and_Buffer_Manager\LRU.java
     文件        1222  2015-11-15 16:47  实验二\Storage_and_Buffer_Manager\src\com\Storage_and_Buffer_Manager\LRU2Cache.java
     文件        3846  2015-11-15 16:47  实验二\Storage_and_Buffer_Manager\src\com\Storage_and_Buffer_Manager\LRUCache.java
............此处省略5个文件信息

评论

共有 条评论