Downloads Persistent Cache Stores

Persistent Cache Stores

A cache store is how Infinispan optional persists data - either to disk or some other form of durable storage. A number of cache store implementations are available for you to use, and you can even implement your own custom cache store quite easily. A good way to do so is to look at the source code of an existing cache store and modifying it accordingly. Learn more about Cache Stores and how to configure and use them in the docs.

Available Cache Stores

The following cache stores are part of the core Infinispan distribution and therefore are developed and released in-sync with Infinispan itself. Most of these cache stores are included in the infinispan-embedded JAR. Those which require additional dependencies are available in separate artifacts.

Single File Cache Store

This cache store implementation persists data to the filesystem in a single file.

Documentation
JDBC Cache Store

This cache store implementation persists data to a relational database via a JDBC driver.

Documentation
Soft-Index Cache Store

This cache store implementation persists data to filesystem, using memory-cached index offloaded to filesystem.

Documentation
JPA Cache Store

This cache store implementation persists data to a relational database via the JPA interface.

Documentation
RocksDB Cache Store

This cache store implementation persists data to RocksDB.

Documentation
Remote Cache Store

This cache store implementation persists data to a remote Infinispan cluster, over the Hot Rod wire protocol, effectively chaining clusters together.

Documentation

Extra Cache Stores

The following cache stores are developed and maintained independently of the Infinispan release cycle, so they might not be aligned with the latest version of the Cache Store SPI.

Cassandra Cache Store

This cache store implementation persists data to Cassandra.

Documentation
Cloud Cache Store

This cache store implementation persists data to cloud storage services, such as Amazon's S3 service or Rackspace's CloudFiles service. Internally makes use of JClouds for communication with cloud storage services.

Documentation
MongoDB Cache Store

This cache store implementation persists data to MongoDB.

Documentation
Redis Cache Store

This cache store implementation persists data to Redis.

Documentation
HBase Cache Store

This cache store implementation persists data to HBase.

Documentation
BerkeleyDB Cache Store

This cache store implementation persists data to Oracle's SleepyCat BerkeleyDB embedded database.

Documentation
JDBM Cache Store

This cache store implementation persists data into the JDBM embedded database.

Documentation