Skip to content

基于hashmap存储,双链表lrucache,lock并发

Notifications You must be signed in to change notification settings

goodshun/lds-lrucache

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lds-lrucache

  • 1.实现1⃣️继承linkedHashMap,简单快捷
  • 2.实现2⃣️ 构建双联表数据结构
  • 3.使用hashmap 做数据 存储
  • 4.ReentrantLock保证并发安全
  • 5.单例模式双重检测进行缓存初始化

About

基于hashmap存储,双链表lrucache,lock并发

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published