Fast Flexible Efficient In Memory Java LRU cache, As describe in
Java
Switch branches/tags
Nothing to show
Latest commit e2f8e94 May 4, 2015 @barakb barakb Add maven dependency.
Permalink
Failed to load latest commit information.
src Fix javadoc, update pom May 4, 2015
.gitignore Delete lib. May 3, 2015
.travis.yml Add travis file. May 3, 2015
README.md Add maven dependency. May 4, 2015
pom.xml Add description and url May 4, 2015

README.md

Build Status

Cache -- An LRU Java Cache

DESCRIPTION

Fast Flexible efficient in memory LRU Java cache This repository has the sources to my post.

Barak.

Sample Usage:

    Cache<String, byte[]> fileContentCache =
            new Cache<>(key -> readFileContent(new File(key)), 10);

See example

Maven dependency

    <dependency>
        <groupId>com.github.barakb</groupId>
        <artifactId>concurrent-cache</artifactId>
        <version>1.0</version>
    </dependency>