Provides the Cache interface and its main implementations.

Package Specification

The picture below shows the UML class diagram of this package:

UML Class diagram of net.sourceforge.rcache
Package UML Class Diagram

Package Usage

The basic usage of this package is fairly simple. If we want an in-memory cache of a certain class Data, keyed with String identifiers, we declare it as:

  Cache<String, Data> cache = new SoftCache<String, Data>();
  ...

Related Documentation