LRU caching map is Least Recent Used Map, (see Wiki), meaning that a Key,Value pair is stored in the cache, with a "expireTime", but every time the Key is retrieved (get method) the expire time is extended.
It is a simple POJO one jar library.
With complete documentation with examples and javadoc.

When the cache reaches is "maxSize" or a cleanup of the cache is performed (automatically by deamon thread dependent on the "LRUCachingMapConfiguration"),
it is the keys with least recent used (lowest expire time) that is discarded first.

This library has extended configuration, so you have the ability to set how times a keys expired time can be extended.
See more about the configuration abilities at Configuration.


Additionally this library has "ValueManager" interface, which wraps how the Value is stored.
This can be in Memory or in a Persistent storage like File, FileReference or Database which will give ability to restore the cache.

Features

  • LRU Cache
  • Persistence
  • One library
  • Java
  • JPA
  • File
  • Memory
  • Extendable
  • Generic
  • POJO

Project Samples

Project Activity

See All Activity >

Categories

Libraries

License

Creative Commons Attribution ShareAlike License V3.0

Follow JHCaching

JHCaching Web Site

Other Useful Business Software
Simplify IT and security with a single endpoint management platform Icon
Simplify IT and security with a single endpoint management platform

Automate the hardest parts of IT

NinjaOne automates the hardest parts of IT, delivering visibility, security, and control over all endpoints for more than 20,000 customers. The NinjaOne automated endpoint management platform is proven to increase productivity, reduce security risk, and lower costs for IT teams and managed service providers. The company seamlessly integrates with a wide range of IT and security technologies. NinjaOne is obsessed with customer success and provides free and unlimited onboarding, training, and support.
Learn More
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of JHCaching!

Additional Project Details

Languages

English

Intended Audience

Developers

Programming Language

Java

Related Categories

Java Libraries

Registered

2016-01-25