zno2

随笔分类 -  cache

LRUCache (least recently used)
摘要:import java.util.HashMap; import java.util.LinkedList; import java.util.Map; /** * Caching with the LRU (Least Recently Used) algorithm. * */ public c 阅读全文

posted @ 2023-08-25 16:30 zno2 阅读(41) 评论(0) 推荐(0)

java map缓存数据自动过期
摘要:package ztest; import java.util.Date; import java.util.HashMap; import java.util.Iterator; import java.util.Map; import java.util.Timer; import java.u 阅读全文

posted @ 2023-06-01 16:53 zno2 阅读(580) 评论(0) 推荐(0)

都有哪些 cache ?
摘要:1. spring http://www.springframework.org/schema/cache 2. ehcache LOGO关键词:palindrome [ˈpælɪndrəʊm] 正读和倒读都一样的词 A simple, fast, thread safe, standards ba 阅读全文

posted @ 2016-08-05 17:49 zno2 阅读(256) 评论(0) 推荐(0)

Cache Algorithms
摘要:1. 平均内存引用时间 T = average memory reference time m = miss ratio = 1 - (hit ratio) Tm = time to make a main memory access when there is a miss (or, with m 阅读全文

posted @ 2016-08-05 17:48 zno2 阅读(216) 评论(0) 推荐(0)

导航