Skip to content

aotian16/AndroidMemCache

Repository files navigation

AndroidMemCache

A memory cache with expired time, base on LruCache.

Install

link

Use

MemCache<String, String> cache = new MemCache<>(20);
cache.get(key);
cache.put(key, value);
cache.put(key, value, DateUtil.TIME_UNIT_MINUTE * 3);
cache.remove(key);

Version history

No. Version Detail
1 0.0.2 first version

MIT

About

A memory cache with expired time, base on LruCache.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages