net.sf.ehcache.overview.html Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ehcache Show documentation
Show all versions of ehcache Show documentation
Ehcache is an open source, standards-based cache used to boost performance,
offload the database and simplify scalability. Ehcache is robust, proven and full-featured and
this has made it the most widely-used Java-based cache.
Overview
APIs for Ehcache, an in-process Java cache implementation. These can also be used as interfaces to manage data using BigMemory.
Introduction
============
ehcache is a pure Java, in-process cache with the following features:
1. Fast.
2. Simple.
3. Multiple eviction policies: LRU, LFU and FIFO.
4. Caches can be in memory or on disk.
5. Disk Stores can be persistent between VM restarts.
6. Distributed caching using multicast and RMI, with a pluggable API.
7. Cache and CacheManager listeners
8. Supports multiple Caches per CacheManager, and multiple CacheManagers per application.
9. Acts as a pluggable cache for Hibernate
10. Small foot print. Both in terms of size and memory requirements.
11. Minimal dependencies apart from J2SE.
12. Fully documented. See the online Documentation and the online JavaDoc.
13. Comprehensive Test Coverage. See the clover test report.
14. Available under the Apache 2.0 license. EHCache's copyright and licensing has been reviewed and approved by the Apache Software Foundation, making EHCache suitable for use in Apache projects.
15. Production tested. EHCache is used on a large and very busy eCommerce site.
16. Web caching, pull-through caches and other common caching implementations are provided in the ehcache-constructs module.
Java Requirements
=================
ehcache supports 1.6 and 1.7 at runtime. When compiling from source, the build process requires at least JDK1.6.
Dependencies
============
- SL4FJ API and binding (see http://slf4j.org)
Installation
============
Place the ehcache.jar into your classpath. Ensure the required dependencies are in the classpath.
Create an ehcache.xml configuration from the one supplied in the distribution and place it in your classpath.
Documentation
=============
See http://ehcache.org/ for full documentation.
The JavaDoc is in the distribution and also online at http://ehcache.org/