@@ -0,0 +1,623 @@
+package Cache;%0A%0Aimport java.util.Date;%0A%0Aimport Cache.CacheItem.CacheReason;%0A%0Apublic class CacheItemCandidate %7B%0A%09%0A%09public enum CacheCandidateReason%7BNewEntity, ModifiedEntity%7D%0A%09private int fileId;%0A%09private CacheCandidateReason casheCandidateReason;%0A%09private int LOC;%0A%09%0A%09public CacheItemCandidate(int file_id, CacheCandidateReason cReason, int loc)%0A%09%7B%0A%09%09this.fileId = file_id;%0A%09%09this.casheCandidateReason = cReason;%0A%09%09this.LOC = loc;%0A%09%7D%0A%09public int getFileId()%0A%09%7B%0A%09%09return fileId;%0A%09%7D%0A%09%0A%09%0A%09public CacheCandidateReason getCacheCandidateReason()%0A%09%7B%0A%09%09return casheCandidateReason;%0A%09%7D%0A%09%0A%09public int getLOC()%0A%09%7B%0A%09%09return LOC;%0A%09%7D%0A%0A%7D%0A

add a new class CacheItemCandidate for choosing the largest per-version prefetch files