Two-Level LRU Cache

A two-level LRU cache composed of a smaller L1 cache in memory and a larger L2 cache on disk

License

License

GroupId

GroupId

com.wu-man
ArtifactId

ArtifactId

twolevellrucache
Last Version

Last Version

0.8.0
Release Date

Release Date

Type

Type

jar
Description

Description

Two-Level LRU Cache
A two-level LRU cache composed of a smaller L1 cache in memory and a larger L2 cache on disk
Source Code Management

Source Code Management

https://github.com/wuman/twolevellrucache

Download twolevellrucache

How to add to project

<!-- https://jarcasting.com/artifacts/com.wu-man/twolevellrucache/ -->
<dependency>
    <groupId>com.wu-man</groupId>
    <artifactId>twolevellrucache</artifactId>
    <version>0.8.0</version>
</dependency>
// https://jarcasting.com/artifacts/com.wu-man/twolevellrucache/
implementation 'com.wu-man:twolevellrucache:0.8.0'
// https://jarcasting.com/artifacts/com.wu-man/twolevellrucache/
implementation ("com.wu-man:twolevellrucache:0.8.0")
'com.wu-man:twolevellrucache:jar:0.8.0'
<dependency org="com.wu-man" name="twolevellrucache" rev="0.8.0">
  <artifact name="twolevellrucache" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.wu-man', module='twolevellrucache', version='0.8.0')
)
libraryDependencies += "com.wu-man" % "twolevellrucache" % "0.8.0"
[com.wu-man/twolevellrucache "0.8.0"]

Dependencies

compile (2)

Group / Artifact Type Version
com.jakewharton : disklrucache jar 2.0.2
commons-io : commons-io jar 2.4

Project Modules

There are no modules declared in this project.

TwoLevelLruCache

Feature Image

A two-level LRU cache composed of a smaller, first level LruCache in memory and a larger, second level DiskLruCache.

The keys must be of String type. The values must be convertible to and from a byte stream using a Converter.

INCLUDING IN YOUR PROJECT

There are two ways to include TwoLevelLruCache in your projects:

  1. You can download the released jar file in the Downloads page.

  2. If you use Maven to build your project you can simply add a dependency to this library.

     <dependency>
         <groupId>com.wu-man</groupId>
         <artifactId>twolevellrucache</artifactId>
         <version>0.8.0</version>
     </dependency>
    

DEPENDENCY

TwoLevelLruCache depends on the following libraries:

CONTRIBUTE

If you would like to contribute code to TwoLevelLruCache you can do so through GitHub by forking the repository and sending a pull request.

DEVELOPER

LICENSE

Copyright 2012 David Wu
Copyright 2011 The Android Open Source Project

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Bitdeli Badge

Versions

Version
0.8.0
0.7.2
0.7.1
0.7
0.6
0.5
0.4
0.3
0.2
0.1