ConeyLiu / SimpleCache

A simple version of Guava cache

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SimpleCache

This is a special LRU cache for cache data into OFF_HEAP memory. Normally, we should manage the OFF_HEAP accurately, however there still some fragmentation with memory management(such as jemalloc) in now days. So this LRU cache is designed for this case, we will evict the entry when we can't request enough memory.

About

A simple version of Guava cache

License:Apache License 2.0


Languages

Language:Scala 100.0%