Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Fast Flexible Efficient In Memory Java LRU cache, As describe in

branch: master
examples Fix another typo (thanks henry).
lib first commit
src first commit
tests first commit
README.md Rename README to README.md
build.xml Add FileContentCache a sample usage
README.md

Cache -- An LRU Java Cache

DESCRIPTION

Fast Flexible efficient in memory LRU Java cache This repository has the sources to my post. You may copy or use any part of the code freely. Barak. Sample Usage:

 Cache<String, byte[]> fileContentCache =
            new Cache<String, byte[]>(new Compute<String, byte[]>() {
                @Override
                public byte[] compute(String key) throws Exception {
                    return readFileContent(new File(key));
                }
            }, 10);

See examples directory.

Something went wrong with that request. Please try again.