mirror of https://github.com/apache/cloudstack.git
1486 lines
55 KiB
HTML
Executable File
1486 lines
55 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:39 EST 2008 -->
|
|
<TITLE>
|
|
CacheConfiguration (ehcache)
|
|
</TITLE>
|
|
|
|
<META NAME="keywords" CONTENT="net.sf.ehcache.config.CacheConfiguration class">
|
|
|
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
|
|
|
|
<SCRIPT type="text/javascript">
|
|
function windowTitle()
|
|
{
|
|
parent.document.title="CacheConfiguration (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="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/CacheConfiguration.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-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">
|
|
<A HREF="../../../../net/sf/ehcache/config/BeanHandler.html" title="class in net.sf.ehcache.config"><B>PREV CLASS</B></A>
|
|
<A HREF="../../../../net/sf/ehcache/config/CacheConfiguration.BootstrapCacheLoaderFactoryConfiguration.html" title="class in net.sf.ehcache.config"><B>NEXT CLASS</B></A></FONT></TD>
|
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
<A HREF="../../../../index.html?net/sf/ehcache/config/CacheConfiguration.html" target="_top"><B>FRAMES</B></A>
|
|
<A HREF="CacheConfiguration.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>
|
|
<TR>
|
|
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
|
SUMMARY: <A HREF="#nested_class_summary">NESTED</A> | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
|
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
|
DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
|
</TR>
|
|
</TABLE>
|
|
<A NAME="skip-navbar_top"></A>
|
|
<!-- ========= END OF TOP NAVBAR ========= -->
|
|
|
|
<HR>
|
|
<!-- ======== START OF CLASS DATA ======== -->
|
|
<H2>
|
|
<FONT SIZE="-1">
|
|
net.sf.ehcache.config</FONT>
|
|
<BR>
|
|
Class CacheConfiguration</H2>
|
|
<PRE>
|
|
java.lang.Object
|
|
<IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>net.sf.ehcache.config.CacheConfiguration</B>
|
|
</PRE>
|
|
<DL>
|
|
<DT><B>All Implemented Interfaces:</B> <DD>java.lang.Cloneable</DD>
|
|
</DL>
|
|
<HR>
|
|
<DL>
|
|
<DT><PRE>public class <B>CacheConfiguration</B><DT>extends java.lang.Object<DT>implements java.lang.Cloneable</DL>
|
|
</PRE>
|
|
|
|
<P>
|
|
A value object to represent Cache configuration that can be set by the BeanHandler.
|
|
|
|
e.g.
|
|
<cache name="testCache1"
|
|
maxElementsInMemory="10000"
|
|
eternal="false"
|
|
timeToIdleSeconds="3600"
|
|
timeToLiveSeconds="10"
|
|
overflowToDisk="true"
|
|
diskPersistent="true"
|
|
diskExpiryThreadIntervalSeconds="120"
|
|
maxElementsOnDisk="10000"
|
|
/>
|
|
<P>
|
|
|
|
<P>
|
|
<DL>
|
|
<DT><B>Version:</B></DT>
|
|
<DD>$Id: CacheConfiguration.java 704 2008-07-13 00:17:52Z gregluck $</DD>
|
|
<DT><B>Author:</B></DT>
|
|
<DD><a href="mailto:gluck@thoughtworks.com">Greg Luck</a></DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<P>
|
|
<!-- ======== NESTED CLASS SUMMARY ======== -->
|
|
|
|
<A NAME="nested_class_summary"><!-- --></A>
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
|
<B>Nested Class Summary</B></FONT></TH>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> class</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../net/sf/ehcache/config/CacheConfiguration.BootstrapCacheLoaderFactoryConfiguration.html" title="class in net.sf.ehcache.config">CacheConfiguration.BootstrapCacheLoaderFactoryConfiguration</A></B></CODE>
|
|
|
|
<BR>
|
|
Configuration for the BootstrapCacheLoaderFactoryConfiguration.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> class</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../net/sf/ehcache/config/CacheConfiguration.CacheEventListenerFactoryConfiguration.html" title="class in net.sf.ehcache.config">CacheConfiguration.CacheEventListenerFactoryConfiguration</A></B></CODE>
|
|
|
|
<BR>
|
|
Configuration for the CachePeerListenerFactoryConfiguration.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> class</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../net/sf/ehcache/config/CacheConfiguration.CacheExceptionHandlerFactoryConfiguration.html" title="class in net.sf.ehcache.config">CacheConfiguration.CacheExceptionHandlerFactoryConfiguration</A></B></CODE>
|
|
|
|
<BR>
|
|
Configuration for the BootstrapCacheLoaderFactoryConfiguration.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> class</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../net/sf/ehcache/config/CacheConfiguration.CacheExtensionFactoryConfiguration.html" title="class in net.sf.ehcache.config">CacheConfiguration.CacheExtensionFactoryConfiguration</A></B></CODE>
|
|
|
|
<BR>
|
|
Configuration for the CacheExtensionFactoryConfiguration.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> class</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../net/sf/ehcache/config/CacheConfiguration.CacheLoaderFactoryConfiguration.html" title="class in net.sf.ehcache.config">CacheConfiguration.CacheLoaderFactoryConfiguration</A></B></CODE>
|
|
|
|
<BR>
|
|
Configuration for the CacheLoaderFactoryConfiguration.</TD>
|
|
</TR>
|
|
</TABLE>
|
|
<!-- =========== FIELD SUMMARY =========== -->
|
|
|
|
<A NAME="field_summary"><!-- --></A>
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
|
<B>Field Summary</B></FONT></TH>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>protected <A HREF="../../../../net/sf/ehcache/config/CacheConfiguration.BootstrapCacheLoaderFactoryConfiguration.html" title="class in net.sf.ehcache.config">CacheConfiguration.BootstrapCacheLoaderFactoryConfiguration</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../net/sf/ehcache/config/CacheConfiguration.html#bootstrapCacheLoaderFactoryConfiguration">bootstrapCacheLoaderFactoryConfiguration</A></B></CODE>
|
|
|
|
<BR>
|
|
The BootstrapCacheLoaderFactoryConfiguration.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>protected java.util.List</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../net/sf/ehcache/config/CacheConfiguration.html#cacheEventListenerConfigurations">cacheEventListenerConfigurations</A></B></CODE>
|
|
|
|
<BR>
|
|
The event listener factories added by BeanUtils.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>protected <A HREF="../../../../net/sf/ehcache/config/CacheConfiguration.CacheExceptionHandlerFactoryConfiguration.html" title="class in net.sf.ehcache.config">CacheConfiguration.CacheExceptionHandlerFactoryConfiguration</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../net/sf/ehcache/config/CacheConfiguration.html#cacheExceptionHandlerFactoryConfiguration">cacheExceptionHandlerFactoryConfiguration</A></B></CODE>
|
|
|
|
<BR>
|
|
The CacheExceptionHandlerFactoryConfiguration.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>protected java.util.List</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../net/sf/ehcache/config/CacheConfiguration.html#cacheExtensionConfigurations">cacheExtensionConfigurations</A></B></CODE>
|
|
|
|
<BR>
|
|
The cache extension factories added by BeanUtils.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>protected <A HREF="../../../../net/sf/ehcache/config/CacheConfiguration.CacheLoaderFactoryConfiguration.html" title="class in net.sf.ehcache.config">CacheConfiguration.CacheLoaderFactoryConfiguration</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../net/sf/ehcache/config/CacheConfiguration.html#cacheLoaderFactoryConfiguration">cacheLoaderFactoryConfiguration</A></B></CODE>
|
|
|
|
<BR>
|
|
The CacheLoaderFactoryConfiguration.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>protected long</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../net/sf/ehcache/config/CacheConfiguration.html#diskExpiryThreadIntervalSeconds">diskExpiryThreadIntervalSeconds</A></B></CODE>
|
|
|
|
<BR>
|
|
The interval in seconds between runs of the disk expiry thread.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>protected boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../net/sf/ehcache/config/CacheConfiguration.html#diskPersistent">diskPersistent</A></B></CODE>
|
|
|
|
<BR>
|
|
For caches that overflow to disk, whether the disk cache persists between CacheManager instances.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>protected int</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../net/sf/ehcache/config/CacheConfiguration.html#diskSpoolBufferSizeMB">diskSpoolBufferSizeMB</A></B></CODE>
|
|
|
|
<BR>
|
|
The size of the disk spool used to buffer writes</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>protected boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../net/sf/ehcache/config/CacheConfiguration.html#eternal">eternal</A></B></CODE>
|
|
|
|
<BR>
|
|
Sets whether elements are eternal.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>protected int</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../net/sf/ehcache/config/CacheConfiguration.html#maxElementsInMemory">maxElementsInMemory</A></B></CODE>
|
|
|
|
<BR>
|
|
the maximum objects to be held in the <A HREF="../../../../net/sf/ehcache/store/MemoryStore.html" title="class in net.sf.ehcache.store"><CODE>MemoryStore</CODE></A>.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>protected int</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../net/sf/ehcache/config/CacheConfiguration.html#maxElementsOnDisk">maxElementsOnDisk</A></B></CODE>
|
|
|
|
<BR>
|
|
the maximum objects to be held in the <A HREF="../../../../net/sf/ehcache/store/DiskStore.html" title="class in net.sf.ehcache.store"><CODE>DiskStore</CODE></A>.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>protected <A HREF="../../../../net/sf/ehcache/store/MemoryStoreEvictionPolicy.html" title="class in net.sf.ehcache.store">MemoryStoreEvictionPolicy</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../net/sf/ehcache/config/CacheConfiguration.html#memoryStoreEvictionPolicy">memoryStoreEvictionPolicy</A></B></CODE>
|
|
|
|
<BR>
|
|
The policy used to evict elements from the <A HREF="../../../../net/sf/ehcache/store/MemoryStore.html" title="class in net.sf.ehcache.store"><CODE>MemoryStore</CODE></A>.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>protected java.lang.String</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../net/sf/ehcache/config/CacheConfiguration.html#name">name</A></B></CODE>
|
|
|
|
<BR>
|
|
the name of the cache.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>protected boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../net/sf/ehcache/config/CacheConfiguration.html#overflowToDisk">overflowToDisk</A></B></CODE>
|
|
|
|
<BR>
|
|
whether elements can overflow to disk when the in-memory cache
|
|
has reached the set limit.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>protected long</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../net/sf/ehcache/config/CacheConfiguration.html#timeToIdleSeconds">timeToIdleSeconds</A></B></CODE>
|
|
|
|
<BR>
|
|
the time to idle for an element before it expires.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>protected long</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../net/sf/ehcache/config/CacheConfiguration.html#timeToLiveSeconds">timeToLiveSeconds</A></B></CODE>
|
|
|
|
<BR>
|
|
Sets the time to idle for an element before it expires.</TD>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
|
|
|
<A NAME="constructor_summary"><!-- --></A>
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
|
<B>Constructor Summary</B></FONT></TH>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD><CODE><B><A HREF="../../../../net/sf/ehcache/config/CacheConfiguration.html#CacheConfiguration()">CacheConfiguration</A></B>()</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<!-- ========== METHOD SUMMARY =========== -->
|
|
|
|
<A NAME="method_summary"><!-- --></A>
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
|
<B>Method Summary</B></FONT></TH>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../net/sf/ehcache/config/CacheConfiguration.html#addBootstrapCacheLoaderFactory(net.sf.ehcache.config.CacheConfiguration.BootstrapCacheLoaderFactoryConfiguration)">addBootstrapCacheLoaderFactory</A></B>(<A HREF="../../../../net/sf/ehcache/config/CacheConfiguration.BootstrapCacheLoaderFactoryConfiguration.html" title="class in net.sf.ehcache.config">CacheConfiguration.BootstrapCacheLoaderFactoryConfiguration</A> bootstrapCacheLoaderFactoryConfiguration)</CODE>
|
|
|
|
<BR>
|
|
Allows BeanHandler to add the CacheManagerEventListener to the configuration.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../net/sf/ehcache/config/CacheConfiguration.html#addCacheEventListenerFactory(net.sf.ehcache.config.CacheConfiguration.CacheEventListenerFactoryConfiguration)">addCacheEventListenerFactory</A></B>(<A HREF="../../../../net/sf/ehcache/config/CacheConfiguration.CacheEventListenerFactoryConfiguration.html" title="class in net.sf.ehcache.config">CacheConfiguration.CacheEventListenerFactoryConfiguration</A> factory)</CODE>
|
|
|
|
<BR>
|
|
Used by BeanUtils to add cacheEventListenerFactory elements to the cache configuration.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../net/sf/ehcache/config/CacheConfiguration.html#addCacheExceptionHandlerFactory(net.sf.ehcache.config.CacheConfiguration.CacheExceptionHandlerFactoryConfiguration)">addCacheExceptionHandlerFactory</A></B>(<A HREF="../../../../net/sf/ehcache/config/CacheConfiguration.CacheExceptionHandlerFactoryConfiguration.html" title="class in net.sf.ehcache.config">CacheConfiguration.CacheExceptionHandlerFactoryConfiguration</A> cacheExceptionHandlerFactoryConfiguration)</CODE>
|
|
|
|
<BR>
|
|
Allows BeanHandler to add the CacheExceptionHandlerFactory to the configuration.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../net/sf/ehcache/config/CacheConfiguration.html#addCacheExtensionFactory(net.sf.ehcache.config.CacheConfiguration.CacheExtensionFactoryConfiguration)">addCacheExtensionFactory</A></B>(<A HREF="../../../../net/sf/ehcache/config/CacheConfiguration.CacheExtensionFactoryConfiguration.html" title="class in net.sf.ehcache.config">CacheConfiguration.CacheExtensionFactoryConfiguration</A> factory)</CODE>
|
|
|
|
<BR>
|
|
Used by BeanUtils to add cacheExtensionFactory elements to the cache configuration.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../net/sf/ehcache/config/CacheConfiguration.html#addCacheLoaderFactory(net.sf.ehcache.config.CacheConfiguration.CacheLoaderFactoryConfiguration)">addCacheLoaderFactory</A></B>(<A HREF="../../../../net/sf/ehcache/config/CacheConfiguration.CacheLoaderFactoryConfiguration.html" title="class in net.sf.ehcache.config">CacheConfiguration.CacheLoaderFactoryConfiguration</A> cacheLoaderFactoryConfiguration)</CODE>
|
|
|
|
<BR>
|
|
Allows BeanHandler to add the CacheLoaderFactory to the configuration.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> java.lang.Object</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../net/sf/ehcache/config/CacheConfiguration.html#clone()">clone</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Clones this object, following the usual contract.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="../../../../net/sf/ehcache/config/CacheConfiguration.BootstrapCacheLoaderFactoryConfiguration.html" title="class in net.sf.ehcache.config">CacheConfiguration.BootstrapCacheLoaderFactoryConfiguration</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../net/sf/ehcache/config/CacheConfiguration.html#getBootstrapCacheLoaderFactoryConfiguration()">getBootstrapCacheLoaderFactoryConfiguration</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Accessor</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> java.util.List</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../net/sf/ehcache/config/CacheConfiguration.html#getCacheEventListenerConfigurations()">getCacheEventListenerConfigurations</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Accessor</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="../../../../net/sf/ehcache/config/CacheConfiguration.CacheExceptionHandlerFactoryConfiguration.html" title="class in net.sf.ehcache.config">CacheConfiguration.CacheExceptionHandlerFactoryConfiguration</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../net/sf/ehcache/config/CacheConfiguration.html#getCacheExceptionHandlerFactoryConfiguration()">getCacheExceptionHandlerFactoryConfiguration</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Accessor</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> java.util.List</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../net/sf/ehcache/config/CacheConfiguration.html#getCacheExtensionConfigurations()">getCacheExtensionConfigurations</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Accessor</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="../../../../net/sf/ehcache/config/CacheConfiguration.CacheLoaderFactoryConfiguration.html" title="class in net.sf.ehcache.config">CacheConfiguration.CacheLoaderFactoryConfiguration</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../net/sf/ehcache/config/CacheConfiguration.html#getCacheLoaderFactoryConfiguration()">getCacheLoaderFactoryConfiguration</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Accessor</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> long</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../net/sf/ehcache/config/CacheConfiguration.html#getDiskExpiryThreadIntervalSeconds()">getDiskExpiryThreadIntervalSeconds</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Accessor</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> int</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../net/sf/ehcache/config/CacheConfiguration.html#getDiskSpoolBufferSizeMB()">getDiskSpoolBufferSizeMB</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Getter</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> int</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../net/sf/ehcache/config/CacheConfiguration.html#getMaxElementsInMemory()">getMaxElementsInMemory</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Accessor</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> int</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../net/sf/ehcache/config/CacheConfiguration.html#getMaxElementsOnDisk()">getMaxElementsOnDisk</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Accessor</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="../../../../net/sf/ehcache/store/MemoryStoreEvictionPolicy.html" title="class in net.sf.ehcache.store">MemoryStoreEvictionPolicy</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../net/sf/ehcache/config/CacheConfiguration.html#getMemoryStoreEvictionPolicy()">getMemoryStoreEvictionPolicy</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Accessor</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> java.lang.String</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../net/sf/ehcache/config/CacheConfiguration.html#getName()">getName</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Accessor</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> long</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../net/sf/ehcache/config/CacheConfiguration.html#getTimeToIdleSeconds()">getTimeToIdleSeconds</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Accessor</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> long</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../net/sf/ehcache/config/CacheConfiguration.html#getTimeToLiveSeconds()">getTimeToLiveSeconds</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Accessor</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../net/sf/ehcache/config/CacheConfiguration.html#isDiskPersistent()">isDiskPersistent</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Accessor</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../net/sf/ehcache/config/CacheConfiguration.html#isEternal()">isEternal</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Accessor</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../net/sf/ehcache/config/CacheConfiguration.html#isOverflowToDisk()">isOverflowToDisk</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Accessor</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../net/sf/ehcache/config/CacheConfiguration.html#setDiskExpiryThreadIntervalSeconds(long)">setDiskExpiryThreadIntervalSeconds</A></B>(long diskExpiryThreadIntervalSeconds)</CODE>
|
|
|
|
<BR>
|
|
Sets the interval in seconds between runs of the disk expiry thread.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../net/sf/ehcache/config/CacheConfiguration.html#setDiskPersistent(boolean)">setDiskPersistent</A></B>(boolean diskPersistent)</CODE>
|
|
|
|
<BR>
|
|
Sets whether, for caches that overflow to disk, the disk cache persist between CacheManager instances.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../net/sf/ehcache/config/CacheConfiguration.html#setDiskSpoolBufferSizeMB(int)">setDiskSpoolBufferSizeMB</A></B>(int diskSpoolBufferSizeMB)</CODE>
|
|
|
|
<BR>
|
|
Sets the disk spool size</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../net/sf/ehcache/config/CacheConfiguration.html#setEternal(boolean)">setEternal</A></B>(boolean eternal)</CODE>
|
|
|
|
<BR>
|
|
Sets whether elements are eternal.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../net/sf/ehcache/config/CacheConfiguration.html#setMaxElementsInMemory(int)">setMaxElementsInMemory</A></B>(int maxElementsInMemory)</CODE>
|
|
|
|
<BR>
|
|
Sets the maximum objects to be held in memory.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../net/sf/ehcache/config/CacheConfiguration.html#setMaxElementsOnDisk(int)">setMaxElementsOnDisk</A></B>(int maxElementsOnDisk)</CODE>
|
|
|
|
<BR>
|
|
Sets the maximum number elements on Disk.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../net/sf/ehcache/config/CacheConfiguration.html#setMemoryStoreEvictionPolicy(java.lang.String)">setMemoryStoreEvictionPolicy</A></B>(java.lang.String memoryStoreEvictionPolicy)</CODE>
|
|
|
|
<BR>
|
|
Sets the eviction policy.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../net/sf/ehcache/config/CacheConfiguration.html#setMemoryStoreEvictionPolicyFromObject(net.sf.ehcache.store.MemoryStoreEvictionPolicy)">setMemoryStoreEvictionPolicyFromObject</A></B>(<A HREF="../../../../net/sf/ehcache/store/MemoryStoreEvictionPolicy.html" title="class in net.sf.ehcache.store">MemoryStoreEvictionPolicy</A> memoryStoreEvictionPolicy)</CODE>
|
|
|
|
<BR>
|
|
Sets the eviction policy.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../net/sf/ehcache/config/CacheConfiguration.html#setName(java.lang.String)">setName</A></B>(java.lang.String name)</CODE>
|
|
|
|
<BR>
|
|
Sets the name of the cache.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../net/sf/ehcache/config/CacheConfiguration.html#setOverflowToDisk(boolean)">setOverflowToDisk</A></B>(boolean overflowToDisk)</CODE>
|
|
|
|
<BR>
|
|
Sets whether elements can overflow to disk when the in-memory cache has reached the set limit.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../net/sf/ehcache/config/CacheConfiguration.html#setTimeToIdleSeconds(long)">setTimeToIdleSeconds</A></B>(long timeToIdleSeconds)</CODE>
|
|
|
|
<BR>
|
|
Sets the time to idle for an element before it expires.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../net/sf/ehcache/config/CacheConfiguration.html#setTimeToLiveSeconds(long)">setTimeToLiveSeconds</A></B>(long timeToLiveSeconds)</CODE>
|
|
|
|
<BR>
|
|
Sets the time to idle for an element before it expires.</TD>
|
|
</TR>
|
|
</TABLE>
|
|
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
|
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD><CODE>equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<P>
|
|
|
|
<!-- ============ FIELD DETAIL =========== -->
|
|
|
|
<A NAME="field_detail"><!-- --></A>
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
|
<B>Field Detail</B></FONT></TH>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<A NAME="name"><!-- --></A><H3>
|
|
name</H3>
|
|
<PRE>
|
|
protected java.lang.String <B>name</B></PRE>
|
|
<DL>
|
|
<DD>the name of the cache.
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="maxElementsInMemory"><!-- --></A><H3>
|
|
maxElementsInMemory</H3>
|
|
<PRE>
|
|
protected int <B>maxElementsInMemory</B></PRE>
|
|
<DL>
|
|
<DD>the maximum objects to be held in the <A HREF="../../../../net/sf/ehcache/store/MemoryStore.html" title="class in net.sf.ehcache.store"><CODE>MemoryStore</CODE></A>.
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="maxElementsOnDisk"><!-- --></A><H3>
|
|
maxElementsOnDisk</H3>
|
|
<PRE>
|
|
protected int <B>maxElementsOnDisk</B></PRE>
|
|
<DL>
|
|
<DD>the maximum objects to be held in the <A HREF="../../../../net/sf/ehcache/store/DiskStore.html" title="class in net.sf.ehcache.store"><CODE>DiskStore</CODE></A>.
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="memoryStoreEvictionPolicy"><!-- --></A><H3>
|
|
memoryStoreEvictionPolicy</H3>
|
|
<PRE>
|
|
protected <A HREF="../../../../net/sf/ehcache/store/MemoryStoreEvictionPolicy.html" title="class in net.sf.ehcache.store">MemoryStoreEvictionPolicy</A> <B>memoryStoreEvictionPolicy</B></PRE>
|
|
<DL>
|
|
<DD>The policy used to evict elements from the <A HREF="../../../../net/sf/ehcache/store/MemoryStore.html" title="class in net.sf.ehcache.store"><CODE>MemoryStore</CODE></A>.
|
|
This can be one of:
|
|
<ol>
|
|
<li>LRU - least recently used
|
|
<li>LFU - Less frequently used
|
|
<li>FIFO - first in first out, the oldest element by creation time
|
|
</ol>
|
|
The default value is LRU
|
|
<P>
|
|
<DL>
|
|
<DT><B>Since:</B></DT>
|
|
<DD>1.2</DD>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="eternal"><!-- --></A><H3>
|
|
eternal</H3>
|
|
<PRE>
|
|
protected boolean <B>eternal</B></PRE>
|
|
<DL>
|
|
<DD>Sets whether elements are eternal. If eternal, timeouts are ignored and the element
|
|
is never expired.
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="timeToIdleSeconds"><!-- --></A><H3>
|
|
timeToIdleSeconds</H3>
|
|
<PRE>
|
|
protected long <B>timeToIdleSeconds</B></PRE>
|
|
<DL>
|
|
<DD>the time to idle for an element before it expires. Is only used
|
|
if the element is not eternal.A value of 0 means do not check for idling.
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="timeToLiveSeconds"><!-- --></A><H3>
|
|
timeToLiveSeconds</H3>
|
|
<PRE>
|
|
protected long <B>timeToLiveSeconds</B></PRE>
|
|
<DL>
|
|
<DD>Sets the time to idle for an element before it expires. Is only used
|
|
if the element is not eternal. This attribute is optional in the configuration.
|
|
A value of 0 means do not check time to live.
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="overflowToDisk"><!-- --></A><H3>
|
|
overflowToDisk</H3>
|
|
<PRE>
|
|
protected boolean <B>overflowToDisk</B></PRE>
|
|
<DL>
|
|
<DD>whether elements can overflow to disk when the in-memory cache
|
|
has reached the set limit.
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="diskPersistent"><!-- --></A><H3>
|
|
diskPersistent</H3>
|
|
<PRE>
|
|
protected boolean <B>diskPersistent</B></PRE>
|
|
<DL>
|
|
<DD>For caches that overflow to disk, whether the disk cache persists between CacheManager instances.
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="diskSpoolBufferSizeMB"><!-- --></A><H3>
|
|
diskSpoolBufferSizeMB</H3>
|
|
<PRE>
|
|
protected int <B>diskSpoolBufferSizeMB</B></PRE>
|
|
<DL>
|
|
<DD>The size of the disk spool used to buffer writes
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="diskExpiryThreadIntervalSeconds"><!-- --></A><H3>
|
|
diskExpiryThreadIntervalSeconds</H3>
|
|
<PRE>
|
|
protected long <B>diskExpiryThreadIntervalSeconds</B></PRE>
|
|
<DL>
|
|
<DD>The interval in seconds between runs of the disk expiry thread.
|
|
<p/>
|
|
2 minutes is the default.
|
|
This is not the same thing as time to live or time to idle. When the thread runs it checks
|
|
these things. So this value is how often we check for expiry.
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="cacheEventListenerConfigurations"><!-- --></A><H3>
|
|
cacheEventListenerConfigurations</H3>
|
|
<PRE>
|
|
protected final java.util.List <B>cacheEventListenerConfigurations</B></PRE>
|
|
<DL>
|
|
<DD>The event listener factories added by BeanUtils.
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="cacheExtensionConfigurations"><!-- --></A><H3>
|
|
cacheExtensionConfigurations</H3>
|
|
<PRE>
|
|
protected final java.util.List <B>cacheExtensionConfigurations</B></PRE>
|
|
<DL>
|
|
<DD>The cache extension factories added by BeanUtils.
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="bootstrapCacheLoaderFactoryConfiguration"><!-- --></A><H3>
|
|
bootstrapCacheLoaderFactoryConfiguration</H3>
|
|
<PRE>
|
|
protected <A HREF="../../../../net/sf/ehcache/config/CacheConfiguration.BootstrapCacheLoaderFactoryConfiguration.html" title="class in net.sf.ehcache.config">CacheConfiguration.BootstrapCacheLoaderFactoryConfiguration</A> <B>bootstrapCacheLoaderFactoryConfiguration</B></PRE>
|
|
<DL>
|
|
<DD>The BootstrapCacheLoaderFactoryConfiguration.
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="cacheExceptionHandlerFactoryConfiguration"><!-- --></A><H3>
|
|
cacheExceptionHandlerFactoryConfiguration</H3>
|
|
<PRE>
|
|
protected <A HREF="../../../../net/sf/ehcache/config/CacheConfiguration.CacheExceptionHandlerFactoryConfiguration.html" title="class in net.sf.ehcache.config">CacheConfiguration.CacheExceptionHandlerFactoryConfiguration</A> <B>cacheExceptionHandlerFactoryConfiguration</B></PRE>
|
|
<DL>
|
|
<DD>The CacheExceptionHandlerFactoryConfiguration.
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="cacheLoaderFactoryConfiguration"><!-- --></A><H3>
|
|
cacheLoaderFactoryConfiguration</H3>
|
|
<PRE>
|
|
protected <A HREF="../../../../net/sf/ehcache/config/CacheConfiguration.CacheLoaderFactoryConfiguration.html" title="class in net.sf.ehcache.config">CacheConfiguration.CacheLoaderFactoryConfiguration</A> <B>cacheLoaderFactoryConfiguration</B></PRE>
|
|
<DL>
|
|
<DD>The CacheLoaderFactoryConfiguration.
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
|
|
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
|
|
|
<A NAME="constructor_detail"><!-- --></A>
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
|
<B>Constructor Detail</B></FONT></TH>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<A NAME="CacheConfiguration()"><!-- --></A><H3>
|
|
CacheConfiguration</H3>
|
|
<PRE>
|
|
public <B>CacheConfiguration</B>()</PRE>
|
|
<DL>
|
|
</DL>
|
|
|
|
<!-- ============ METHOD DETAIL ========== -->
|
|
|
|
<A NAME="method_detail"><!-- --></A>
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
|
<B>Method Detail</B></FONT></TH>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<A NAME="clone()"><!-- --></A><H3>
|
|
clone</H3>
|
|
<PRE>
|
|
public java.lang.Object <B>clone</B>()
|
|
throws java.lang.CloneNotSupportedException</PRE>
|
|
<DL>
|
|
<DD>Clones this object, following the usual contract.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Overrides:</B><DD><CODE>clone</CODE> in class <CODE>java.lang.Object</CODE></DL>
|
|
</DD>
|
|
<DD><DL>
|
|
|
|
<DT><B>Returns:</B><DD>a copy, which independent other than configurations than cannot change.
|
|
<DT><B>Throws:</B>
|
|
<DD><CODE>java.lang.CloneNotSupportedException</CODE></DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setName(java.lang.String)"><!-- --></A><H3>
|
|
setName</H3>
|
|
<PRE>
|
|
public final void <B>setName</B>(java.lang.String name)</PRE>
|
|
<DL>
|
|
<DD>Sets the name of the cache. This must be unique.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setMaxElementsInMemory(int)"><!-- --></A><H3>
|
|
setMaxElementsInMemory</H3>
|
|
<PRE>
|
|
public final void <B>setMaxElementsInMemory</B>(int maxElementsInMemory)</PRE>
|
|
<DL>
|
|
<DD>Sets the maximum objects to be held in memory.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setMemoryStoreEvictionPolicy(java.lang.String)"><!-- --></A><H3>
|
|
setMemoryStoreEvictionPolicy</H3>
|
|
<PRE>
|
|
public final void <B>setMemoryStoreEvictionPolicy</B>(java.lang.String memoryStoreEvictionPolicy)</PRE>
|
|
<DL>
|
|
<DD>Sets the eviction policy. An invalid argument will set it to null.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>memoryStoreEvictionPolicy</CODE> - a String representation of the policy. One of "LRU", "LFU" or "FIFO".</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setMemoryStoreEvictionPolicyFromObject(net.sf.ehcache.store.MemoryStoreEvictionPolicy)"><!-- --></A><H3>
|
|
setMemoryStoreEvictionPolicyFromObject</H3>
|
|
<PRE>
|
|
public final void <B>setMemoryStoreEvictionPolicyFromObject</B>(<A HREF="../../../../net/sf/ehcache/store/MemoryStoreEvictionPolicy.html" title="class in net.sf.ehcache.store">MemoryStoreEvictionPolicy</A> memoryStoreEvictionPolicy)</PRE>
|
|
<DL>
|
|
<DD>Sets the eviction policy. This method has a strange name to workaround a problem with XML parsing.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setEternal(boolean)"><!-- --></A><H3>
|
|
setEternal</H3>
|
|
<PRE>
|
|
public final void <B>setEternal</B>(boolean eternal)</PRE>
|
|
<DL>
|
|
<DD>Sets whether elements are eternal. If eternal, timeouts are ignored and the element is never expired.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setTimeToIdleSeconds(long)"><!-- --></A><H3>
|
|
setTimeToIdleSeconds</H3>
|
|
<PRE>
|
|
public final void <B>setTimeToIdleSeconds</B>(long timeToIdleSeconds)</PRE>
|
|
<DL>
|
|
<DD>Sets the time to idle for an element before it expires. Is only used if the element is not eternal.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setTimeToLiveSeconds(long)"><!-- --></A><H3>
|
|
setTimeToLiveSeconds</H3>
|
|
<PRE>
|
|
public final void <B>setTimeToLiveSeconds</B>(long timeToLiveSeconds)</PRE>
|
|
<DL>
|
|
<DD>Sets the time to idle for an element before it expires. Is only used if the element is not eternal.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setOverflowToDisk(boolean)"><!-- --></A><H3>
|
|
setOverflowToDisk</H3>
|
|
<PRE>
|
|
public final void <B>setOverflowToDisk</B>(boolean overflowToDisk)</PRE>
|
|
<DL>
|
|
<DD>Sets whether elements can overflow to disk when the in-memory cache has reached the set limit.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setDiskPersistent(boolean)"><!-- --></A><H3>
|
|
setDiskPersistent</H3>
|
|
<PRE>
|
|
public final void <B>setDiskPersistent</B>(boolean diskPersistent)</PRE>
|
|
<DL>
|
|
<DD>Sets whether, for caches that overflow to disk, the disk cache persist between CacheManager instances.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getDiskSpoolBufferSizeMB()"><!-- --></A><H3>
|
|
getDiskSpoolBufferSizeMB</H3>
|
|
<PRE>
|
|
public int <B>getDiskSpoolBufferSizeMB</B>()</PRE>
|
|
<DL>
|
|
<DD>Getter
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setDiskSpoolBufferSizeMB(int)"><!-- --></A><H3>
|
|
setDiskSpoolBufferSizeMB</H3>
|
|
<PRE>
|
|
public void <B>setDiskSpoolBufferSizeMB</B>(int diskSpoolBufferSizeMB)</PRE>
|
|
<DL>
|
|
<DD>Sets the disk spool size
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>diskSpoolBufferSizeMB</CODE> - a postive number</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setMaxElementsOnDisk(int)"><!-- --></A><H3>
|
|
setMaxElementsOnDisk</H3>
|
|
<PRE>
|
|
public void <B>setMaxElementsOnDisk</B>(int maxElementsOnDisk)</PRE>
|
|
<DL>
|
|
<DD>Sets the maximum number elements on Disk. 0 means unlimited.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setDiskExpiryThreadIntervalSeconds(long)"><!-- --></A><H3>
|
|
setDiskExpiryThreadIntervalSeconds</H3>
|
|
<PRE>
|
|
public final void <B>setDiskExpiryThreadIntervalSeconds</B>(long diskExpiryThreadIntervalSeconds)</PRE>
|
|
<DL>
|
|
<DD>Sets the interval in seconds between runs of the disk expiry thread.
|
|
<p/>
|
|
2 minutes is the default.
|
|
This is not the same thing as time to live or time to idle. When the thread runs it checks
|
|
these things. So this value is how often we check for expiry.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="addCacheEventListenerFactory(net.sf.ehcache.config.CacheConfiguration.CacheEventListenerFactoryConfiguration)"><!-- --></A><H3>
|
|
addCacheEventListenerFactory</H3>
|
|
<PRE>
|
|
public final void <B>addCacheEventListenerFactory</B>(<A HREF="../../../../net/sf/ehcache/config/CacheConfiguration.CacheEventListenerFactoryConfiguration.html" title="class in net.sf.ehcache.config">CacheConfiguration.CacheEventListenerFactoryConfiguration</A> factory)</PRE>
|
|
<DL>
|
|
<DD>Used by BeanUtils to add cacheEventListenerFactory elements to the cache configuration.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="addCacheExtensionFactory(net.sf.ehcache.config.CacheConfiguration.CacheExtensionFactoryConfiguration)"><!-- --></A><H3>
|
|
addCacheExtensionFactory</H3>
|
|
<PRE>
|
|
public final void <B>addCacheExtensionFactory</B>(<A HREF="../../../../net/sf/ehcache/config/CacheConfiguration.CacheExtensionFactoryConfiguration.html" title="class in net.sf.ehcache.config">CacheConfiguration.CacheExtensionFactoryConfiguration</A> factory)</PRE>
|
|
<DL>
|
|
<DD>Used by BeanUtils to add cacheExtensionFactory elements to the cache configuration.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="addBootstrapCacheLoaderFactory(net.sf.ehcache.config.CacheConfiguration.BootstrapCacheLoaderFactoryConfiguration)"><!-- --></A><H3>
|
|
addBootstrapCacheLoaderFactory</H3>
|
|
<PRE>
|
|
public final void <B>addBootstrapCacheLoaderFactory</B>(<A HREF="../../../../net/sf/ehcache/config/CacheConfiguration.BootstrapCacheLoaderFactoryConfiguration.html" title="class in net.sf.ehcache.config">CacheConfiguration.BootstrapCacheLoaderFactoryConfiguration</A> bootstrapCacheLoaderFactoryConfiguration)</PRE>
|
|
<DL>
|
|
<DD>Allows BeanHandler to add the CacheManagerEventListener to the configuration.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="addCacheExceptionHandlerFactory(net.sf.ehcache.config.CacheConfiguration.CacheExceptionHandlerFactoryConfiguration)"><!-- --></A><H3>
|
|
addCacheExceptionHandlerFactory</H3>
|
|
<PRE>
|
|
public final void <B>addCacheExceptionHandlerFactory</B>(<A HREF="../../../../net/sf/ehcache/config/CacheConfiguration.CacheExceptionHandlerFactoryConfiguration.html" title="class in net.sf.ehcache.config">CacheConfiguration.CacheExceptionHandlerFactoryConfiguration</A> cacheExceptionHandlerFactoryConfiguration)</PRE>
|
|
<DL>
|
|
<DD>Allows BeanHandler to add the CacheExceptionHandlerFactory to the configuration.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="addCacheLoaderFactory(net.sf.ehcache.config.CacheConfiguration.CacheLoaderFactoryConfiguration)"><!-- --></A><H3>
|
|
addCacheLoaderFactory</H3>
|
|
<PRE>
|
|
public final void <B>addCacheLoaderFactory</B>(<A HREF="../../../../net/sf/ehcache/config/CacheConfiguration.CacheLoaderFactoryConfiguration.html" title="class in net.sf.ehcache.config">CacheConfiguration.CacheLoaderFactoryConfiguration</A> cacheLoaderFactoryConfiguration)</PRE>
|
|
<DL>
|
|
<DD>Allows BeanHandler to add the CacheLoaderFactory to the configuration.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getName()"><!-- --></A><H3>
|
|
getName</H3>
|
|
<PRE>
|
|
public java.lang.String <B>getName</B>()</PRE>
|
|
<DL>
|
|
<DD>Accessor
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getMaxElementsInMemory()"><!-- --></A><H3>
|
|
getMaxElementsInMemory</H3>
|
|
<PRE>
|
|
public int <B>getMaxElementsInMemory</B>()</PRE>
|
|
<DL>
|
|
<DD>Accessor
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getMaxElementsOnDisk()"><!-- --></A><H3>
|
|
getMaxElementsOnDisk</H3>
|
|
<PRE>
|
|
public int <B>getMaxElementsOnDisk</B>()</PRE>
|
|
<DL>
|
|
<DD>Accessor
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getMemoryStoreEvictionPolicy()"><!-- --></A><H3>
|
|
getMemoryStoreEvictionPolicy</H3>
|
|
<PRE>
|
|
public <A HREF="../../../../net/sf/ehcache/store/MemoryStoreEvictionPolicy.html" title="class in net.sf.ehcache.store">MemoryStoreEvictionPolicy</A> <B>getMemoryStoreEvictionPolicy</B>()</PRE>
|
|
<DL>
|
|
<DD>Accessor
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="isEternal()"><!-- --></A><H3>
|
|
isEternal</H3>
|
|
<PRE>
|
|
public boolean <B>isEternal</B>()</PRE>
|
|
<DL>
|
|
<DD>Accessor
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getTimeToIdleSeconds()"><!-- --></A><H3>
|
|
getTimeToIdleSeconds</H3>
|
|
<PRE>
|
|
public long <B>getTimeToIdleSeconds</B>()</PRE>
|
|
<DL>
|
|
<DD>Accessor
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getTimeToLiveSeconds()"><!-- --></A><H3>
|
|
getTimeToLiveSeconds</H3>
|
|
<PRE>
|
|
public long <B>getTimeToLiveSeconds</B>()</PRE>
|
|
<DL>
|
|
<DD>Accessor
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="isOverflowToDisk()"><!-- --></A><H3>
|
|
isOverflowToDisk</H3>
|
|
<PRE>
|
|
public boolean <B>isOverflowToDisk</B>()</PRE>
|
|
<DL>
|
|
<DD>Accessor
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="isDiskPersistent()"><!-- --></A><H3>
|
|
isDiskPersistent</H3>
|
|
<PRE>
|
|
public boolean <B>isDiskPersistent</B>()</PRE>
|
|
<DL>
|
|
<DD>Accessor
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getDiskExpiryThreadIntervalSeconds()"><!-- --></A><H3>
|
|
getDiskExpiryThreadIntervalSeconds</H3>
|
|
<PRE>
|
|
public long <B>getDiskExpiryThreadIntervalSeconds</B>()</PRE>
|
|
<DL>
|
|
<DD>Accessor
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getCacheEventListenerConfigurations()"><!-- --></A><H3>
|
|
getCacheEventListenerConfigurations</H3>
|
|
<PRE>
|
|
public java.util.List <B>getCacheEventListenerConfigurations</B>()</PRE>
|
|
<DL>
|
|
<DD>Accessor
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getCacheExtensionConfigurations()"><!-- --></A><H3>
|
|
getCacheExtensionConfigurations</H3>
|
|
<PRE>
|
|
public java.util.List <B>getCacheExtensionConfigurations</B>()</PRE>
|
|
<DL>
|
|
<DD>Accessor
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getBootstrapCacheLoaderFactoryConfiguration()"><!-- --></A><H3>
|
|
getBootstrapCacheLoaderFactoryConfiguration</H3>
|
|
<PRE>
|
|
public <A HREF="../../../../net/sf/ehcache/config/CacheConfiguration.BootstrapCacheLoaderFactoryConfiguration.html" title="class in net.sf.ehcache.config">CacheConfiguration.BootstrapCacheLoaderFactoryConfiguration</A> <B>getBootstrapCacheLoaderFactoryConfiguration</B>()</PRE>
|
|
<DL>
|
|
<DD>Accessor
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getCacheExceptionHandlerFactoryConfiguration()"><!-- --></A><H3>
|
|
getCacheExceptionHandlerFactoryConfiguration</H3>
|
|
<PRE>
|
|
public <A HREF="../../../../net/sf/ehcache/config/CacheConfiguration.CacheExceptionHandlerFactoryConfiguration.html" title="class in net.sf.ehcache.config">CacheConfiguration.CacheExceptionHandlerFactoryConfiguration</A> <B>getCacheExceptionHandlerFactoryConfiguration</B>()</PRE>
|
|
<DL>
|
|
<DD>Accessor
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getCacheLoaderFactoryConfiguration()"><!-- --></A><H3>
|
|
getCacheLoaderFactoryConfiguration</H3>
|
|
<PRE>
|
|
public <A HREF="../../../../net/sf/ehcache/config/CacheConfiguration.CacheLoaderFactoryConfiguration.html" title="class in net.sf.ehcache.config">CacheConfiguration.CacheLoaderFactoryConfiguration</A> <B>getCacheLoaderFactoryConfiguration</B>()</PRE>
|
|
<DL>
|
|
<DD>Accessor
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<!-- ========= END OF CLASS DATA ========= -->
|
|
<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="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/CacheConfiguration.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-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">
|
|
<A HREF="../../../../net/sf/ehcache/config/BeanHandler.html" title="class in net.sf.ehcache.config"><B>PREV CLASS</B></A>
|
|
<A HREF="../../../../net/sf/ehcache/config/CacheConfiguration.BootstrapCacheLoaderFactoryConfiguration.html" title="class in net.sf.ehcache.config"><B>NEXT CLASS</B></A></FONT></TD>
|
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
<A HREF="../../../../index.html?net/sf/ehcache/config/CacheConfiguration.html" target="_top"><B>FRAMES</B></A>
|
|
<A HREF="CacheConfiguration.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>
|
|
<TR>
|
|
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
|
SUMMARY: <A HREF="#nested_class_summary">NESTED</A> | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
|
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
|
DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
|
</TR>
|
|
</TABLE>
|
|
<A NAME="skip-navbar_bottom"></A>
|
|
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
|
|
|
<HR>
|
|
|
|
</BODY>
|
|
</HTML>
|