A replica of Memcached in Java but worse.
My only interaction with Memcached is while reading this article. So not much experience with it. I just found its concept interesting and cool, and so I made it for fun.
For those who don't know what Memcached is, Memcached is.. rather, MemeCached is simply a HashMap that stores key-value mappings but only for a set amount of time. After that time has passed those values are forgotten about and simply deleted from the map. There is possibility to define a callback that will get called when a value is forgotten about.
Check out the tests for examples on how to use it.
If you actually want to use this, you can install it:
$ mvn clean install
And add the dependency to your project:
<dependency>
<groupId>telos-matter</groupId>
<artifactId>memeCached</artifactId>
<version>0.5</version>
</dependency>