This is the Linux app named JHCaching whose latest release can be downloaded as jhcaching-0.8.jar. It can be run online in the free hosting provider OnWorks for workstations.
Download and run online this app named JHCaching with OnWorks for free.
Follow these instructions in order to run this app:
- 1. Downloaded this application in your PC.
- 2. Enter in our file manager https://www.onworks.net/myfiles.php?username=XXXXX with the username that you want.
- 3. Upload this application in such filemanager.
- 4. Start the OnWorks Linux online or Windows online emulator or MACOS online emulator from this website.
- 5. From the OnWorks Linux OS you have just started, goto our file manager https://www.onworks.net/myfiles.php?username=XXXXX with the username that you want.
- 6. Download the application, install it and run it.
SCREENSHOTS:
JHCaching
DESCRIPTION:
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
Audience
Developers
Programming Language
Java
This is an application that can also be fetched from https://sourceforge.net/projects/jhcaching/. It has been hosted in OnWorks in order to be run online in an easiest way from one of our free Operative Systems.