mirror of
				https://github.com/apache/cloudstack.git
				synced 2025-10-26 08:42:29 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			291 lines
		
	
	
		
			12 KiB
		
	
	
	
		
			HTML
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			291 lines
		
	
	
		
			12 KiB
		
	
	
	
		
			HTML
		
	
	
		
			Executable File
		
	
	
	
	
| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
 | |
| <!--NewPage-->
 | |
| <HTML>
 | |
| <HEAD>
 | |
| <!-- Generated by javadoc (build 1.5.0_13) on Sun Jul 13 13:05:49 EST 2008 -->
 | |
| <TITLE>
 | |
| Overview (ehcache)
 | |
| </TITLE>
 | |
| 
 | |
| <META NAME="keywords" CONTENT="Overview">
 | |
| 
 | |
| <LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
 | |
| 
 | |
| <SCRIPT type="text/javascript">
 | |
| function windowTitle()
 | |
| {
 | |
|     parent.document.title="Overview (ehcache)";
 | |
| }
 | |
| </SCRIPT>
 | |
| <NOSCRIPT>
 | |
| </NOSCRIPT>
 | |
| 
 | |
| </HEAD>
 | |
| 
 | |
| <BODY BGCOLOR="white" onload="windowTitle();">
 | |
| 
 | |
| 
 | |
| <!-- ========= START OF TOP NAVBAR ======= -->
 | |
| <A NAME="navbar_top"><!-- --></A>
 | |
| <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
 | |
| <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
 | |
| <TR>
 | |
| <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
 | |
| <A NAME="navbar_top_firstrow"><!-- --></A>
 | |
| <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
 | |
|   <TR ALIGN="center" VALIGN="top">
 | |
|   <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev">  <FONT CLASS="NavBarFont1Rev"><B>Overview</B></FONT> </TD>
 | |
|   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <FONT CLASS="NavBarFont1">Package</FONT> </TD>
 | |
|   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <FONT CLASS="NavBarFont1">Class</FONT> </TD>
 | |
|   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <FONT CLASS="NavBarFont1">Use</FONT> </TD>
 | |
|   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
 | |
|   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
 | |
|   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
 | |
|   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
 | |
|   </TR>
 | |
| </TABLE>
 | |
| </TD>
 | |
| <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
 | |
| <a href="/" target="_top">ehcache</a></EM>
 | |
| </TD>
 | |
| </TR>
 | |
| 
 | |
| <TR>
 | |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
 | |
|  PREV 
 | |
|  NEXT</FONT></TD>
 | |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
 | |
|   <A HREF="index.html?overview-summary.html" target="_top"><B>FRAMES</B></A>   
 | |
|  <A HREF="overview-summary.html" target="_top"><B>NO FRAMES</B></A>   
 | |
|  <SCRIPT type="text/javascript">
 | |
|   <!--
 | |
|   if(window==top) {
 | |
|     document.writeln('<A HREF="allclasses-noframe.html"><B>All Classes</B></A>');
 | |
|   }
 | |
|   //-->
 | |
| </SCRIPT>
 | |
| <NOSCRIPT>
 | |
|   <A HREF="allclasses-noframe.html"><B>All Classes</B></A>
 | |
| </NOSCRIPT>
 | |
| 
 | |
| 
 | |
| </FONT></TD>
 | |
| </TR>
 | |
| </TABLE>
 | |
| <A NAME="skip-navbar_top"></A>
 | |
| <!-- ========= END OF TOP NAVBAR ========= -->
 | |
| 
 | |
| <HR>
 | |
| 
 | |
|   Introduction
 | |
| ============
 | |
| ehcache is a pure Java, in-process cache with the following features:
 | |
| 
 | |
|    1.
 | |
| <P>
 | |
| <B>See:</B>
 | |
| <BR>
 | |
|           <A HREF="#overview_description"><B>Description</B></A>
 | |
| <P>
 | |
| 
 | |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
 | |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
 | |
| <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
 | |
| <B>Packages</B></FONT></TH>
 | |
| </TR>
 | |
| <TR BGCOLOR="white" CLASS="TableRowColor">
 | |
| <TD WIDTH="20%"><B><A HREF="net/sf/ehcache/package-summary.html">net.sf.ehcache</A></B></TD>
 | |
| <TD>This package contains the public API for using ehcache.</TD>
 | |
| </TR>
 | |
| <TR BGCOLOR="white" CLASS="TableRowColor">
 | |
| <TD WIDTH="20%"><B><A HREF="net/sf/ehcache/bootstrap/package-summary.html">net.sf.ehcache.bootstrap</A></B></TD>
 | |
| <TD>This package contains the bootstrap cache loader interface and abstract factory.</TD>
 | |
| </TR>
 | |
| <TR BGCOLOR="white" CLASS="TableRowColor">
 | |
| <TD WIDTH="20%"><B><A HREF="net/sf/ehcache/config/package-summary.html">net.sf.ehcache.config</A></B></TD>
 | |
| <TD>This package contains the cache configuration code.</TD>
 | |
| </TR>
 | |
| <TR BGCOLOR="white" CLASS="TableRowColor">
 | |
| <TD WIDTH="20%"><B><A HREF="net/sf/ehcache/constructs/asynchronous/package-summary.html">net.sf.ehcache.constructs.asynchronous</A></B></TD>
 | |
| <TD> </TD>
 | |
| </TR>
 | |
| <TR BGCOLOR="white" CLASS="TableRowColor">
 | |
| <TD WIDTH="20%"><B><A HREF="net/sf/ehcache/constructs/blocking/package-summary.html">net.sf.ehcache.constructs.blocking</A></B></TD>
 | |
| <TD>Doug Lea in his book Concurrent Programming in Java talks about concurrency support constructs.</TD>
 | |
| </TR>
 | |
| <TR BGCOLOR="white" CLASS="TableRowColor">
 | |
| <TD WIDTH="20%"><B><A HREF="net/sf/ehcache/constructs/concurrent/package-summary.html">net.sf.ehcache.constructs.concurrent</A></B></TD>
 | |
| <TD>This package contains the Mutex class and Sync interface taken as is, with fixed for checkstyle and
 | |
|     javadoc errors from version 1.3.4 of Doug Lea's concurrency package.</TD>
 | |
| </TR>
 | |
| <TR BGCOLOR="white" CLASS="TableRowColor">
 | |
| <TD WIDTH="20%"><B><A HREF="net/sf/ehcache/constructs/web/package-summary.html">net.sf.ehcache.constructs.web</A></B></TD>
 | |
| <TD><p/>
 | |
| Constructs useful for Java EE Web Container environments, specifically the Servlet 2.3 and later specifications.</TD>
 | |
| </TR>
 | |
| <TR BGCOLOR="white" CLASS="TableRowColor">
 | |
| <TD WIDTH="20%"><B><A HREF="net/sf/ehcache/constructs/web/filter/package-summary.html">net.sf.ehcache.constructs.web.filter</A></B></TD>
 | |
| <TD><p/>
 | |
| Caching filters compliant with the filters in the Servlet 2.3 specification.</TD>
 | |
| </TR>
 | |
| <TR BGCOLOR="white" CLASS="TableRowColor">
 | |
| <TD WIDTH="20%"><B><A HREF="net/sf/ehcache/distribution/package-summary.html">net.sf.ehcache.distribution</A></B></TD>
 | |
| <TD>This package is for cache replication.</TD>
 | |
| </TR>
 | |
| <TR BGCOLOR="white" CLASS="TableRowColor">
 | |
| <TD WIDTH="20%"><B><A HREF="net/sf/ehcache/distribution/jgroups/package-summary.html">net.sf.ehcache.distribution.jgroups</A></B></TD>
 | |
| <TD>This package is for cache replication using Jgroups.</TD>
 | |
| </TR>
 | |
| <TR BGCOLOR="white" CLASS="TableRowColor">
 | |
| <TD WIDTH="20%"><B><A HREF="net/sf/ehcache/event/package-summary.html">net.sf.ehcache.event</A></B></TD>
 | |
| <TD>This package contains interfaces and classes for listening to events.</TD>
 | |
| </TR>
 | |
| <TR BGCOLOR="white" CLASS="TableRowColor">
 | |
| <TD WIDTH="20%"><B><A HREF="net/sf/ehcache/exceptionhandler/package-summary.html">net.sf.ehcache.exceptionhandler</A></B></TD>
 | |
| <TD>This package is for exception handling.</TD>
 | |
| </TR>
 | |
| <TR BGCOLOR="white" CLASS="TableRowColor">
 | |
| <TD WIDTH="20%"><B><A HREF="net/sf/ehcache/extension/package-summary.html">net.sf.ehcache.extension</A></B></TD>
 | |
| <TD>This package contains interfaces and classes for the cache extension mechanism.</TD>
 | |
| </TR>
 | |
| <TR BGCOLOR="white" CLASS="TableRowColor">
 | |
| <TD WIDTH="20%"><B><A HREF="net/sf/ehcache/hibernate/package-summary.html">net.sf.ehcache.hibernate</A></B></TD>
 | |
| <TD>This package contains interfaces and classes for Hibernate3.1 and higher.</TD>
 | |
| </TR>
 | |
| <TR BGCOLOR="white" CLASS="TableRowColor">
 | |
| <TD WIDTH="20%"><B><A HREF="net/sf/ehcache/jcache/package-summary.html">net.sf.ehcache.jcache</A></B></TD>
 | |
| <TD>This package contains an implementation of JSR-107: the JCACHE API.</TD>
 | |
| </TR>
 | |
| <TR BGCOLOR="white" CLASS="TableRowColor">
 | |
| <TD WIDTH="20%"><B><A HREF="net/sf/ehcache/loader/package-summary.html">net.sf.ehcache.loader</A></B></TD>
 | |
| <TD>This package contains a cache loaders and associated factories.</TD>
 | |
| </TR>
 | |
| <TR BGCOLOR="white" CLASS="TableRowColor">
 | |
| <TD WIDTH="20%"><B><A HREF="net/sf/ehcache/management/package-summary.html">net.sf.ehcache.management</A></B></TD>
 | |
| <TD>This package contains JMX MBeans and implementations for management of ehcache.</TD>
 | |
| </TR>
 | |
| <TR BGCOLOR="white" CLASS="TableRowColor">
 | |
| <TD WIDTH="20%"><B><A HREF="net/sf/ehcache/store/package-summary.html">net.sf.ehcache.store</A></B></TD>
 | |
| <TD>Store package.</TD>
 | |
| </TR>
 | |
| <TR BGCOLOR="white" CLASS="TableRowColor">
 | |
| <TD WIDTH="20%"><B><A HREF="net/sf/ehcache/util/package-summary.html">net.sf.ehcache.util</A></B></TD>
 | |
| <TD>Util package.</TD>
 | |
| </TR>
 | |
| </TABLE>
 | |
| 
 | |
| <P>
 | |
|  <A NAME="overview_description"><!-- --></A>
 | |
| <P>
 | |
| <pre>
 | |
|   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 3.1, 3 and 2.1.
 | |
|    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 1.1 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.3, 1.4, 1.5 and 1.6 at runtime. When compiling from source, the build process requires at least JDK1.5.
 | |
| 
 | |
| ehcache does not work with JDK1.1 and is not tested on JDK1.2.
 | |
| 
 | |
| Dependencies
 | |
| ============
 | |
| For JDK1.4, ehcache requires commons-logging from Apache's Jakarta project.
 | |
| 
 | |
| For JDK 1.3, ehcache requires:
 | |
| 
 | |
| - Apache Jakarta's commons-collections, version 2.1.1
 | |
| - Apache xerces (xml-apis.jar and xercesImpl.jar), version 2.5
 | |
| 
 | |
| All three dependencies are also Hibernate dependencies, so if you are using ehcache as a Hibernate plugin, dependency requirements are met.
 | |
| 
 | |
| 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.sourceforge.net/documentation for full documentation.
 | |
| 
 | |
| The JavaDoc is in the distribution and also online at http://ehcache.sourceforge.net/javadoc.
 | |
| </pre>
 | |
| <P>
 | |
| 
 | |
| <P>
 | |
| <HR>
 | |
| 
 | |
| 
 | |
| <!-- ======= START OF BOTTOM NAVBAR ====== -->
 | |
| <A NAME="navbar_bottom"><!-- --></A>
 | |
| <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
 | |
| <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
 | |
| <TR>
 | |
| <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
 | |
| <A NAME="navbar_bottom_firstrow"><!-- --></A>
 | |
| <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
 | |
|   <TR ALIGN="center" VALIGN="top">
 | |
|   <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev">  <FONT CLASS="NavBarFont1Rev"><B>Overview</B></FONT> </TD>
 | |
|   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <FONT CLASS="NavBarFont1">Package</FONT> </TD>
 | |
|   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <FONT CLASS="NavBarFont1">Class</FONT> </TD>
 | |
|   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <FONT CLASS="NavBarFont1">Use</FONT> </TD>
 | |
|   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
 | |
|   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
 | |
|   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
 | |
|   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
 | |
|   </TR>
 | |
| </TABLE>
 | |
| </TD>
 | |
| <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
 | |
| <a href="/" target="_top">ehcache</a></EM>
 | |
| </TD>
 | |
| </TR>
 | |
| 
 | |
| <TR>
 | |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
 | |
|  PREV 
 | |
|  NEXT</FONT></TD>
 | |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
 | |
|   <A HREF="index.html?overview-summary.html" target="_top"><B>FRAMES</B></A>   
 | |
|  <A HREF="overview-summary.html" target="_top"><B>NO FRAMES</B></A>   
 | |
|  <SCRIPT type="text/javascript">
 | |
|   <!--
 | |
|   if(window==top) {
 | |
|     document.writeln('<A HREF="allclasses-noframe.html"><B>All Classes</B></A>');
 | |
|   }
 | |
|   //-->
 | |
| </SCRIPT>
 | |
| <NOSCRIPT>
 | |
|   <A HREF="allclasses-noframe.html"><B>All Classes</B></A>
 | |
| </NOSCRIPT>
 | |
| 
 | |
| 
 | |
| </FONT></TD>
 | |
| </TR>
 | |
| </TABLE>
 | |
| <A NAME="skip-navbar_bottom"></A>
 | |
| <!-- ======== END OF BOTTOM NAVBAR ======= -->
 | |
| 
 | |
| <HR>
 | |
| 
 | |
| </BODY>
 | |
| </HTML>
 |