Skip to content

barakb/Cache

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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>

About

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

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages