blob: 8cbb03bce1a9f420a107579912ca32e3b4e45707 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<link rel="canonical" href="https://ignite.apache.org/jcache/1.0.0/javadoc/javax/cache/configuration/MutableConfiguration.html" />
<!-- Generated by javadoc (version 1.7.0_25) on Fri Mar 28 13:34:25 EST 2014 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>MutableConfiguration (JSR107 API and SPI 1.0.0 API)</title>
<meta name="date" content="2014-03-28">
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-61232409-1', 'auto');
ga('send', 'pageview');
</script></head>
<body>
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="MutableConfiguration (JSR107 API and SPI 1.0.0 API)";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!-- -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/MutableConfiguration.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../javax/cache/configuration/MutableCacheEntryListenerConfiguration.html" title="class in javax.cache.configuration"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../javax/cache/configuration/OptionalFeature.html" title="enum in javax.cache.configuration"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?javax/cache/configuration/MutableConfiguration.html" target="_top">Frames</a></li>
<li><a href="MutableConfiguration.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">javax.cache.configuration</div>
<h2 title="Class MutableConfiguration" class="title">Class MutableConfiguration&lt;K,V&gt;</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li>javax.cache.configuration.MutableConfiguration&lt;K,V&gt;</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl><dt><span class="strong">Type Parameters:</span></dt><dd><code>K</code> - the type of keys maintained the cache</dd><dd><code>V</code> - the type of cached values</dd></dl>
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><a href="http://download.oracle.com/javase/6/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a>, <a href="../../../javax/cache/configuration/CompleteConfiguration.html" title="interface in javax.cache.configuration">CompleteConfiguration</a>&lt;K,V&gt;, <a href="../../../javax/cache/configuration/Configuration.html" title="interface in javax.cache.configuration">Configuration</a>&lt;K,V&gt;</dd>
</dl>
<hr>
<br>
<pre>public class <span class="strong">MutableConfiguration&lt;K,V&gt;</span>
extends <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>
implements <a href="../../../javax/cache/configuration/CompleteConfiguration.html" title="interface in javax.cache.configuration">CompleteConfiguration</a>&lt;K,V&gt;</pre>
<div class="block">A simple mutable implementation of a <a href="../../../javax/cache/configuration/Configuration.html" title="interface in javax.cache.configuration"><code>Configuration</code></a>.</div>
<dl><dt><span class="strong">Since:</span></dt>
<dd>1.0</dd>
<dt><span class="strong">Author:</span></dt>
<dd>Brian Oliver, Greg Luck</dd>
<dt><span class="strong">See Also:</span></dt><dd><a href="../../../serialized-form.html#javax.cache.configuration.MutableConfiguration">Serialized Form</a></dd></dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field_summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="../../../javax/cache/configuration/Factory.html" title="interface in javax.cache.configuration">Factory</a>&lt;<a href="../../../javax/cache/integration/CacheLoader.html" title="interface in javax.cache.integration">CacheLoader</a>&lt;<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">K</a>,<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">V</a>&gt;&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../javax/cache/configuration/MutableConfiguration.html#cacheLoaderFactory">cacheLoaderFactory</a></strong></code>
<div class="block">The <a href="../../../javax/cache/configuration/Factory.html" title="interface in javax.cache.configuration"><code>Factory</code></a> for the <a href="../../../javax/cache/integration/CacheLoader.html" title="interface in javax.cache.integration"><code>CacheLoader</code></a>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected <a href="../../../javax/cache/configuration/Factory.html" title="interface in javax.cache.configuration">Factory</a>&lt;<a href="../../../javax/cache/integration/CacheWriter.html" title="interface in javax.cache.integration">CacheWriter</a>&lt;? super <a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">K</a>,? super <a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">V</a>&gt;&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../javax/cache/configuration/MutableConfiguration.html#cacheWriterFactory">cacheWriterFactory</a></strong></code>
<div class="block">The <a href="../../../javax/cache/configuration/Factory.html" title="interface in javax.cache.configuration"><code>Factory</code></a> for the <a href="../../../javax/cache/integration/CacheWriter.html" title="interface in javax.cache.integration"><code>CacheWriter</code></a>.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="../../../javax/cache/configuration/Factory.html" title="interface in javax.cache.configuration">Factory</a>&lt;<a href="../../../javax/cache/expiry/ExpiryPolicy.html" title="interface in javax.cache.expiry">ExpiryPolicy</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../javax/cache/configuration/MutableConfiguration.html#expiryPolicyFactory">expiryPolicyFactory</a></strong></code>
<div class="block">The <a href="../../../javax/cache/configuration/Factory.html" title="interface in javax.cache.configuration"><code>Factory</code></a> for the <a href="../../../javax/cache/expiry/ExpiryPolicy.html" title="interface in javax.cache.expiry"><code>ExpiryPolicy</code></a>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><strong><a href="../../../javax/cache/configuration/MutableConfiguration.html#isManagementEnabled">isManagementEnabled</a></strong></code>
<div class="block">Whether management is enabled</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><strong><a href="../../../javax/cache/configuration/MutableConfiguration.html#isReadThrough">isReadThrough</a></strong></code>
<div class="block">A flag indicating if "read-through" mode is required.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><strong><a href="../../../javax/cache/configuration/MutableConfiguration.html#isStatisticsEnabled">isStatisticsEnabled</a></strong></code>
<div class="block">A flag indicating if statistics gathering is enabled.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><strong><a href="../../../javax/cache/configuration/MutableConfiguration.html#isStoreByValue">isStoreByValue</a></strong></code>
<div class="block">A flag indicating if the cache will be store-by-value or store-by-reference.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><strong><a href="../../../javax/cache/configuration/MutableConfiguration.html#isWriteThrough">isWriteThrough</a></strong></code>
<div class="block">A flag indicating if "write-through" mode is required.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">K</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../javax/cache/configuration/MutableConfiguration.html#keyType">keyType</a></strong></code>
<div class="block">The type of keys for <a href="../../../javax/cache/Cache.html" title="interface in javax.cache"><code>Cache</code></a>s configured with this
<a href="../../../javax/cache/configuration/Configuration.html" title="interface in javax.cache.configuration"><code>Configuration</code></a>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected <a href="http://download.oracle.com/javase/6/docs/api/java/util/HashSet.html?is-external=true" title="class or interface in java.util">HashSet</a>&lt;<a href="../../../javax/cache/configuration/CacheEntryListenerConfiguration.html" title="interface in javax.cache.configuration">CacheEntryListenerConfiguration</a>&lt;<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">K</a>,<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">V</a>&gt;&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../javax/cache/configuration/MutableConfiguration.html#listenerConfigurations">listenerConfigurations</a></strong></code>
<div class="block">The <a href="../../../javax/cache/configuration/CacheEntryListenerConfiguration.html" title="interface in javax.cache.configuration"><code>CacheEntryListenerConfiguration</code></a>s for the <a href="../../../javax/cache/configuration/Configuration.html" title="interface in javax.cache.configuration"><code>Configuration</code></a>.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static long</code></td>
<td class="colLast"><code><strong><a href="../../../javax/cache/configuration/MutableConfiguration.html#serialVersionUID">serialVersionUID</a></strong></code>
<div class="block">The serialVersionUID required for <a href="http://download.oracle.com/javase/6/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io"><code>Serializable</code></a>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">V</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../javax/cache/configuration/MutableConfiguration.html#valueType">valueType</a></strong></code>
<div class="block">The type of values for <a href="../../../javax/cache/Cache.html" title="interface in javax.cache"><code>Cache</code></a>s configured with this
<a href="../../../javax/cache/configuration/Configuration.html" title="interface in javax.cache.configuration"><code>Configuration</code></a>.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><strong><a href="../../../javax/cache/configuration/MutableConfiguration.html#MutableConfiguration()">MutableConfiguration</a></strong>()</code>
<div class="block">Constructs a default <a href="../../../javax/cache/configuration/MutableConfiguration.html" title="class in javax.cache.configuration"><code>MutableConfiguration</code></a>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><strong><a href="../../../javax/cache/configuration/MutableConfiguration.html#MutableConfiguration(javax.cache.configuration.CompleteConfiguration)">MutableConfiguration</a></strong>(<a href="../../../javax/cache/configuration/CompleteConfiguration.html" title="interface in javax.cache.configuration">CompleteConfiguration</a>&lt;<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">K</a>,<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">V</a>&gt;&nbsp;configuration)</code>
<div class="block">Constructs a <a href="../../../javax/cache/configuration/MutableConfiguration.html" title="class in javax.cache.configuration"><code>MutableConfiguration</code></a> based on another
<a href="../../../javax/cache/configuration/CompleteConfiguration.html" title="interface in javax.cache.configuration"><code>CompleteConfiguration</code></a>.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method_summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../javax/cache/configuration/MutableConfiguration.html" title="class in javax.cache.configuration">MutableConfiguration</a>&lt;<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">K</a>,<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">V</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../javax/cache/configuration/MutableConfiguration.html#addCacheEntryListenerConfiguration(javax.cache.configuration.CacheEntryListenerConfiguration)">addCacheEntryListenerConfiguration</a></strong>(<a href="../../../javax/cache/configuration/CacheEntryListenerConfiguration.html" title="interface in javax.cache.configuration">CacheEntryListenerConfiguration</a>&lt;<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">K</a>,<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">V</a>&gt;&nbsp;cacheEntryListenerConfiguration)</code>
<div class="block">Add a configuration for a <a href="../../../javax/cache/event/CacheEntryListener.html" title="interface in javax.cache.event"><code>CacheEntryListener</code></a>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../javax/cache/configuration/MutableConfiguration.html#equals(java.lang.Object)">equals</a></strong>(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;object)</code></td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;<a href="../../../javax/cache/configuration/CacheEntryListenerConfiguration.html" title="interface in javax.cache.configuration">CacheEntryListenerConfiguration</a>&lt;<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">K</a>,<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">V</a>&gt;&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../javax/cache/configuration/MutableConfiguration.html#getCacheEntryListenerConfigurations()">getCacheEntryListenerConfigurations</a></strong>()</code>
<div class="block">Obtains the <a href="../../../javax/cache/configuration/CacheEntryListenerConfiguration.html" title="interface in javax.cache.configuration"><code>CacheEntryListenerConfiguration</code></a>s
for <a href="../../../javax/cache/event/CacheEntryListener.html" title="interface in javax.cache.event"><code>CacheEntryListener</code></a>s to be configured on a
<a href="../../../javax/cache/Cache.html" title="interface in javax.cache"><code>Cache</code></a>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../javax/cache/configuration/Factory.html" title="interface in javax.cache.configuration">Factory</a>&lt;<a href="../../../javax/cache/integration/CacheLoader.html" title="interface in javax.cache.integration">CacheLoader</a>&lt;<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">K</a>,<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">V</a>&gt;&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../javax/cache/configuration/MutableConfiguration.html#getCacheLoaderFactory()">getCacheLoaderFactory</a></strong>()</code>
<div class="block">Gets the <a href="../../../javax/cache/configuration/Factory.html" title="interface in javax.cache.configuration"><code>Factory</code></a> for the
<a href="../../../javax/cache/integration/CacheLoader.html" title="interface in javax.cache.integration"><code>CacheLoader</code></a>, if any.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../javax/cache/configuration/Factory.html" title="interface in javax.cache.configuration">Factory</a>&lt;<a href="../../../javax/cache/integration/CacheWriter.html" title="interface in javax.cache.integration">CacheWriter</a>&lt;? super <a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">K</a>,? super <a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">V</a>&gt;&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../javax/cache/configuration/MutableConfiguration.html#getCacheWriterFactory()">getCacheWriterFactory</a></strong>()</code>
<div class="block">Gets the <a href="../../../javax/cache/configuration/Factory.html" title="interface in javax.cache.configuration"><code>Factory</code></a> for the
<a href="../../../javax/cache/integration/CacheWriter.html" title="interface in javax.cache.integration"><code>CacheWriter</code></a>, if any.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../javax/cache/configuration/Factory.html" title="interface in javax.cache.configuration">Factory</a>&lt;<a href="../../../javax/cache/expiry/ExpiryPolicy.html" title="interface in javax.cache.expiry">ExpiryPolicy</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../javax/cache/configuration/MutableConfiguration.html#getExpiryPolicyFactory()">getExpiryPolicyFactory</a></strong>()</code>
<div class="block">Gets the <a href="../../../javax/cache/configuration/Factory.html" title="interface in javax.cache.configuration"><code>Factory</code></a> for the
<a href="../../../javax/cache/expiry/ExpiryPolicy.html" title="interface in javax.cache.expiry"><code>ExpiryPolicy</code></a> to be used for caches.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">K</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../javax/cache/configuration/MutableConfiguration.html#getKeyType()">getKeyType</a></strong>()</code>
<div class="block">Determines the required type of keys for <a href="../../../javax/cache/Cache.html" title="interface in javax.cache"><code>Cache</code></a>s configured
with this <a href="../../../javax/cache/configuration/Configuration.html" title="interface in javax.cache.configuration"><code>Configuration</code></a>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">V</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../javax/cache/configuration/MutableConfiguration.html#getValueType()">getValueType</a></strong>()</code>
<div class="block">Determines the required type of values for <a href="../../../javax/cache/Cache.html" title="interface in javax.cache"><code>Cache</code></a>s configured
with this <a href="../../../javax/cache/configuration/Configuration.html" title="interface in javax.cache.configuration"><code>Configuration</code></a>.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../javax/cache/configuration/MutableConfiguration.html#hashCode()">hashCode</a></strong>()</code></td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../javax/cache/configuration/MutableConfiguration.html#isManagementEnabled()">isManagementEnabled</a></strong>()</code>
<div class="block">Checks whether management is enabled on this cache.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../javax/cache/configuration/MutableConfiguration.html#isReadThrough()">isReadThrough</a></strong>()</code>
<div class="block">Determines if a <a href="../../../javax/cache/Cache.html" title="interface in javax.cache"><code>Cache</code></a> should operate in read-through mode.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../javax/cache/configuration/MutableConfiguration.html#isStatisticsEnabled()">isStatisticsEnabled</a></strong>()</code>
<div class="block">Checks whether statistics collection is enabled in this cache.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../javax/cache/configuration/MutableConfiguration.html#isStoreByValue()">isStoreByValue</a></strong>()</code>
<div class="block">Whether storeByValue (true) or storeByReference (false).</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../javax/cache/configuration/MutableConfiguration.html#isWriteThrough()">isWriteThrough</a></strong>()</code>
<div class="block">Determines if a <a href="../../../javax/cache/Cache.html" title="interface in javax.cache"><code>Cache</code></a> should operate in write-through
mode.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../javax/cache/configuration/MutableConfiguration.html" title="class in javax.cache.configuration">MutableConfiguration</a>&lt;<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">K</a>,<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">V</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../javax/cache/configuration/MutableConfiguration.html#removeCacheEntryListenerConfiguration(javax.cache.configuration.CacheEntryListenerConfiguration)">removeCacheEntryListenerConfiguration</a></strong>(<a href="../../../javax/cache/configuration/CacheEntryListenerConfiguration.html" title="interface in javax.cache.configuration">CacheEntryListenerConfiguration</a>&lt;<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">K</a>,<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">V</a>&gt;&nbsp;cacheEntryListenerConfiguration)</code>
<div class="block">Remove a configuration for a <a href="../../../javax/cache/event/CacheEntryListener.html" title="interface in javax.cache.event"><code>CacheEntryListener</code></a>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../javax/cache/configuration/MutableConfiguration.html" title="class in javax.cache.configuration">MutableConfiguration</a>&lt;<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">K</a>,<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">V</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../javax/cache/configuration/MutableConfiguration.html#setCacheLoaderFactory(javax.cache.configuration.Factory)">setCacheLoaderFactory</a></strong>(<a href="../../../javax/cache/configuration/Factory.html" title="interface in javax.cache.configuration">Factory</a>&lt;? extends <a href="../../../javax/cache/integration/CacheLoader.html" title="interface in javax.cache.integration">CacheLoader</a>&lt;<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">K</a>,<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">V</a>&gt;&gt;&nbsp;factory)</code>
<div class="block">Set the <a href="../../../javax/cache/integration/CacheLoader.html" title="interface in javax.cache.integration"><code>CacheLoader</code></a> factory.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../javax/cache/configuration/MutableConfiguration.html" title="class in javax.cache.configuration">MutableConfiguration</a>&lt;<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">K</a>,<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">V</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../javax/cache/configuration/MutableConfiguration.html#setCacheWriterFactory(javax.cache.configuration.Factory)">setCacheWriterFactory</a></strong>(<a href="../../../javax/cache/configuration/Factory.html" title="interface in javax.cache.configuration">Factory</a>&lt;? extends <a href="../../../javax/cache/integration/CacheWriter.html" title="interface in javax.cache.integration">CacheWriter</a>&lt;? super <a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">K</a>,? super <a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">V</a>&gt;&gt;&nbsp;factory)</code>
<div class="block">Set the <a href="../../../javax/cache/integration/CacheWriter.html" title="interface in javax.cache.integration"><code>CacheWriter</code></a> factory.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../javax/cache/configuration/MutableConfiguration.html" title="class in javax.cache.configuration">MutableConfiguration</a>&lt;<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">K</a>,<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">V</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../javax/cache/configuration/MutableConfiguration.html#setExpiryPolicyFactory(javax.cache.configuration.Factory)">setExpiryPolicyFactory</a></strong>(<a href="../../../javax/cache/configuration/Factory.html" title="interface in javax.cache.configuration">Factory</a>&lt;? extends <a href="../../../javax/cache/expiry/ExpiryPolicy.html" title="interface in javax.cache.expiry">ExpiryPolicy</a>&gt;&nbsp;factory)</code>
<div class="block">Set the <a href="../../../javax/cache/configuration/Factory.html" title="interface in javax.cache.configuration"><code>Factory</code></a> for the <a href="../../../javax/cache/expiry/ExpiryPolicy.html" title="interface in javax.cache.expiry"><code>ExpiryPolicy</code></a>.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../javax/cache/configuration/MutableConfiguration.html" title="class in javax.cache.configuration">MutableConfiguration</a>&lt;<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">K</a>,<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">V</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../javax/cache/configuration/MutableConfiguration.html#setManagementEnabled(boolean)">setManagementEnabled</a></strong>(boolean&nbsp;enabled)</code>
<div class="block">Sets whether management is enabled on a cache.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../javax/cache/configuration/MutableConfiguration.html" title="class in javax.cache.configuration">MutableConfiguration</a>&lt;<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">K</a>,<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">V</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../javax/cache/configuration/MutableConfiguration.html#setReadThrough(boolean)">setReadThrough</a></strong>(boolean&nbsp;isReadThrough)</code>
<div class="block">Set if read-through caching should be used.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../javax/cache/configuration/MutableConfiguration.html" title="class in javax.cache.configuration">MutableConfiguration</a>&lt;<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">K</a>,<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">V</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../javax/cache/configuration/MutableConfiguration.html#setStatisticsEnabled(boolean)">setStatisticsEnabled</a></strong>(boolean&nbsp;enabled)</code>
<div class="block">Sets whether statistics gathering is enabled on a cache.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../javax/cache/configuration/MutableConfiguration.html" title="class in javax.cache.configuration">MutableConfiguration</a>&lt;<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">K</a>,<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">V</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../javax/cache/configuration/MutableConfiguration.html#setStoreByValue(boolean)">setStoreByValue</a></strong>(boolean&nbsp;isStoreByValue)</code>
<div class="block">Set if a configured cache should use store-by-value or store-by-reference
semantics.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../javax/cache/configuration/MutableConfiguration.html" title="class in javax.cache.configuration">MutableConfiguration</a>&lt;<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">K</a>,<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">V</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../javax/cache/configuration/MutableConfiguration.html#setTypes(java.lang.Class, java.lang.Class)">setTypes</a></strong>(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">K</a>&gt;&nbsp;keyType,
<a href="http://download.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">V</a>&gt;&nbsp;valueType)</code>
<div class="block">Sets the expected type of keys and values for a <a href="../../../javax/cache/Cache.html" title="interface in javax.cache"><code>Cache</code></a>
configured with this <a href="../../../javax/cache/configuration/Configuration.html" title="interface in javax.cache.configuration"><code>Configuration</code></a>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../javax/cache/configuration/MutableConfiguration.html" title="class in javax.cache.configuration">MutableConfiguration</a>&lt;<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">K</a>,<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">V</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../javax/cache/configuration/MutableConfiguration.html#setWriteThrough(boolean)">setWriteThrough</a></strong>(boolean&nbsp;isWriteThrough)</code>
<div class="block">Set if write-through caching should be used.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
<code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</a>, <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</a></code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field_detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a name="serialVersionUID">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>serialVersionUID</h4>
<pre>public static final&nbsp;long serialVersionUID</pre>
<div class="block">The serialVersionUID required for <a href="http://download.oracle.com/javase/6/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io"><code>Serializable</code></a>.</div>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../constant-values.html#javax.cache.configuration.MutableConfiguration.serialVersionUID">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="keyType">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>keyType</h4>
<pre>protected&nbsp;<a href="http://download.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">K</a>&gt; keyType</pre>
<div class="block">The type of keys for <a href="../../../javax/cache/Cache.html" title="interface in javax.cache"><code>Cache</code></a>s configured with this
<a href="../../../javax/cache/configuration/Configuration.html" title="interface in javax.cache.configuration"><code>Configuration</code></a>.</div>
</li>
</ul>
<a name="valueType">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>valueType</h4>
<pre>protected&nbsp;<a href="http://download.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">V</a>&gt; valueType</pre>
<div class="block">The type of values for <a href="../../../javax/cache/Cache.html" title="interface in javax.cache"><code>Cache</code></a>s configured with this
<a href="../../../javax/cache/configuration/Configuration.html" title="interface in javax.cache.configuration"><code>Configuration</code></a>.</div>
</li>
</ul>
<a name="listenerConfigurations">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>listenerConfigurations</h4>
<pre>protected&nbsp;<a href="http://download.oracle.com/javase/6/docs/api/java/util/HashSet.html?is-external=true" title="class or interface in java.util">HashSet</a>&lt;<a href="../../../javax/cache/configuration/CacheEntryListenerConfiguration.html" title="interface in javax.cache.configuration">CacheEntryListenerConfiguration</a>&lt;<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">K</a>,<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">V</a>&gt;&gt; listenerConfigurations</pre>
<div class="block">The <a href="../../../javax/cache/configuration/CacheEntryListenerConfiguration.html" title="interface in javax.cache.configuration"><code>CacheEntryListenerConfiguration</code></a>s for the <a href="../../../javax/cache/configuration/Configuration.html" title="interface in javax.cache.configuration"><code>Configuration</code></a>.</div>
</li>
</ul>
<a name="cacheLoaderFactory">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>cacheLoaderFactory</h4>
<pre>protected&nbsp;<a href="../../../javax/cache/configuration/Factory.html" title="interface in javax.cache.configuration">Factory</a>&lt;<a href="../../../javax/cache/integration/CacheLoader.html" title="interface in javax.cache.integration">CacheLoader</a>&lt;<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">K</a>,<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">V</a>&gt;&gt; cacheLoaderFactory</pre>
<div class="block">The <a href="../../../javax/cache/configuration/Factory.html" title="interface in javax.cache.configuration"><code>Factory</code></a> for the <a href="../../../javax/cache/integration/CacheLoader.html" title="interface in javax.cache.integration"><code>CacheLoader</code></a>.</div>
</li>
</ul>
<a name="cacheWriterFactory">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>cacheWriterFactory</h4>
<pre>protected&nbsp;<a href="../../../javax/cache/configuration/Factory.html" title="interface in javax.cache.configuration">Factory</a>&lt;<a href="../../../javax/cache/integration/CacheWriter.html" title="interface in javax.cache.integration">CacheWriter</a>&lt;? super <a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">K</a>,? super <a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">V</a>&gt;&gt; cacheWriterFactory</pre>
<div class="block">The <a href="../../../javax/cache/configuration/Factory.html" title="interface in javax.cache.configuration"><code>Factory</code></a> for the <a href="../../../javax/cache/integration/CacheWriter.html" title="interface in javax.cache.integration"><code>CacheWriter</code></a>.</div>
</li>
</ul>
<a name="expiryPolicyFactory">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>expiryPolicyFactory</h4>
<pre>protected&nbsp;<a href="../../../javax/cache/configuration/Factory.html" title="interface in javax.cache.configuration">Factory</a>&lt;<a href="../../../javax/cache/expiry/ExpiryPolicy.html" title="interface in javax.cache.expiry">ExpiryPolicy</a>&gt; expiryPolicyFactory</pre>
<div class="block">The <a href="../../../javax/cache/configuration/Factory.html" title="interface in javax.cache.configuration"><code>Factory</code></a> for the <a href="../../../javax/cache/expiry/ExpiryPolicy.html" title="interface in javax.cache.expiry"><code>ExpiryPolicy</code></a>.</div>
</li>
</ul>
<a name="isReadThrough">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isReadThrough</h4>
<pre>protected&nbsp;boolean isReadThrough</pre>
<div class="block">A flag indicating if "read-through" mode is required.</div>
</li>
</ul>
<a name="isWriteThrough">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isWriteThrough</h4>
<pre>protected&nbsp;boolean isWriteThrough</pre>
<div class="block">A flag indicating if "write-through" mode is required.</div>
</li>
</ul>
<a name="isStatisticsEnabled">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isStatisticsEnabled</h4>
<pre>protected&nbsp;boolean isStatisticsEnabled</pre>
<div class="block">A flag indicating if statistics gathering is enabled.</div>
</li>
</ul>
<a name="isStoreByValue">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isStoreByValue</h4>
<pre>protected&nbsp;boolean isStoreByValue</pre>
<div class="block">A flag indicating if the cache will be store-by-value or store-by-reference.</div>
</li>
</ul>
<a name="isManagementEnabled">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>isManagementEnabled</h4>
<pre>protected&nbsp;boolean isManagementEnabled</pre>
<div class="block">Whether management is enabled</div>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="MutableConfiguration()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>MutableConfiguration</h4>
<pre>public&nbsp;MutableConfiguration()</pre>
<div class="block">Constructs a default <a href="../../../javax/cache/configuration/MutableConfiguration.html" title="class in javax.cache.configuration"><code>MutableConfiguration</code></a>.</div>
</li>
</ul>
<a name="MutableConfiguration(javax.cache.configuration.CompleteConfiguration)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>MutableConfiguration</h4>
<pre>public&nbsp;MutableConfiguration(<a href="../../../javax/cache/configuration/CompleteConfiguration.html" title="interface in javax.cache.configuration">CompleteConfiguration</a>&lt;<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">K</a>,<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">V</a>&gt;&nbsp;configuration)</pre>
<div class="block">Constructs a <a href="../../../javax/cache/configuration/MutableConfiguration.html" title="class in javax.cache.configuration"><code>MutableConfiguration</code></a> based on another
<a href="../../../javax/cache/configuration/CompleteConfiguration.html" title="interface in javax.cache.configuration"><code>CompleteConfiguration</code></a>.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>configuration</code> - the <a href="../../../javax/cache/configuration/CompleteConfiguration.html" title="interface in javax.cache.configuration"><code>CompleteConfiguration</code></a></dd></dl>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method_detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="getKeyType()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getKeyType</h4>
<pre>public&nbsp;<a href="http://download.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">K</a>&gt;&nbsp;getKeyType()</pre>
<div class="block">Determines the required type of keys for <a href="../../../javax/cache/Cache.html" title="interface in javax.cache"><code>Cache</code></a>s configured
with this <a href="../../../javax/cache/configuration/Configuration.html" title="interface in javax.cache.configuration"><code>Configuration</code></a>.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../javax/cache/configuration/Configuration.html#getKeyType()">getKeyType</a></code>&nbsp;in interface&nbsp;<code><a href="../../../javax/cache/configuration/Configuration.html" title="interface in javax.cache.configuration">Configuration</a>&lt;<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">K</a>,<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">V</a>&gt;</code></dd>
<dt><span class="strong">Returns:</span></dt><dd>the key type or <code>Object.class</code> if the type is undefined</dd></dl>
</li>
</ul>
<a name="getValueType()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getValueType</h4>
<pre>public&nbsp;<a href="http://download.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">V</a>&gt;&nbsp;getValueType()</pre>
<div class="block">Determines the required type of values for <a href="../../../javax/cache/Cache.html" title="interface in javax.cache"><code>Cache</code></a>s configured
with this <a href="../../../javax/cache/configuration/Configuration.html" title="interface in javax.cache.configuration"><code>Configuration</code></a>.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../javax/cache/configuration/Configuration.html#getValueType()">getValueType</a></code>&nbsp;in interface&nbsp;<code><a href="../../../javax/cache/configuration/Configuration.html" title="interface in javax.cache.configuration">Configuration</a>&lt;<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">K</a>,<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">V</a>&gt;</code></dd>
<dt><span class="strong">Returns:</span></dt><dd>the value type or <code>Object.class</code> if the type is undefined</dd></dl>
</li>
</ul>
<a name="setTypes(java.lang.Class, java.lang.Class)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setTypes</h4>
<pre>public&nbsp;<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="class in javax.cache.configuration">MutableConfiguration</a>&lt;<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">K</a>,<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">V</a>&gt;&nbsp;setTypes(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">K</a>&gt;&nbsp;keyType,
<a href="http://download.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">V</a>&gt;&nbsp;valueType)</pre>
<div class="block">Sets the expected type of keys and values for a <a href="../../../javax/cache/Cache.html" title="interface in javax.cache"><code>Cache</code></a>
configured with this <a href="../../../javax/cache/configuration/Configuration.html" title="interface in javax.cache.configuration"><code>Configuration</code></a>. Setting both to
<code>Object.class</code> means type-safety checks are not required.
<p>
This is used by <a href="../../../javax/cache/CacheManager.html" title="interface in javax.cache"><code>CacheManager</code></a> to ensure that the key and value
types are the same as those configured for the <a href="../../../javax/cache/Cache.html" title="interface in javax.cache"><code>Cache</code></a> prior to
returning a requested cache from this method.
<p>
Implementations may further perform type checking on mutative cache operations
and throw a <a href="http://download.oracle.com/javase/6/docs/api/java/lang/ClassCastException.html?is-external=true" title="class or interface in java.lang"><code>ClassCastException</code></a> if these checks fail.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>keyType</code> - the expected key type</dd><dd><code>valueType</code> - the expected value type</dd>
<dt><span class="strong">Returns:</span></dt><dd>the <a href="../../../javax/cache/configuration/MutableConfiguration.html" title="class in javax.cache.configuration"><code>MutableConfiguration</code></a> to permit fluent-style method calls</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/NullPointerException.html?is-external=true" title="class or interface in java.lang">NullPointerException</a></code> - should the key or value type be null</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../javax/cache/CacheManager.html#getCache(java.lang.String, java.lang.Class, java.lang.Class)"><code>CacheManager.getCache(String, Class, Class)</code></a></dd></dl>
</li>
</ul>
<a name="getCacheEntryListenerConfigurations()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getCacheEntryListenerConfigurations</h4>
<pre>public&nbsp;<a href="http://download.oracle.com/javase/6/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;<a href="../../../javax/cache/configuration/CacheEntryListenerConfiguration.html" title="interface in javax.cache.configuration">CacheEntryListenerConfiguration</a>&lt;<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">K</a>,<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">V</a>&gt;&gt;&nbsp;getCacheEntryListenerConfigurations()</pre>
<div class="block">Obtains the <a href="../../../javax/cache/configuration/CacheEntryListenerConfiguration.html" title="interface in javax.cache.configuration"><code>CacheEntryListenerConfiguration</code></a>s
for <a href="../../../javax/cache/event/CacheEntryListener.html" title="interface in javax.cache.event"><code>CacheEntryListener</code></a>s to be configured on a
<a href="../../../javax/cache/Cache.html" title="interface in javax.cache"><code>Cache</code></a>.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../javax/cache/configuration/CompleteConfiguration.html#getCacheEntryListenerConfigurations()">getCacheEntryListenerConfigurations</a></code>&nbsp;in interface&nbsp;<code><a href="../../../javax/cache/configuration/CompleteConfiguration.html" title="interface in javax.cache.configuration">CompleteConfiguration</a>&lt;<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">K</a>,<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">V</a>&gt;</code></dd>
<dt><span class="strong">Returns:</span></dt><dd>an <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang"><code>Iterable</code></a> over the
<a href="../../../javax/cache/configuration/CacheEntryListenerConfiguration.html" title="interface in javax.cache.configuration"><code>CacheEntryListenerConfiguration</code></a>s</dd></dl>
</li>
</ul>
<a name="addCacheEntryListenerConfiguration(javax.cache.configuration.CacheEntryListenerConfiguration)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addCacheEntryListenerConfiguration</h4>
<pre>public&nbsp;<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="class in javax.cache.configuration">MutableConfiguration</a>&lt;<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">K</a>,<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">V</a>&gt;&nbsp;addCacheEntryListenerConfiguration(<a href="../../../javax/cache/configuration/CacheEntryListenerConfiguration.html" title="interface in javax.cache.configuration">CacheEntryListenerConfiguration</a>&lt;<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">K</a>,<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">V</a>&gt;&nbsp;cacheEntryListenerConfiguration)</pre>
<div class="block">Add a configuration for a <a href="../../../javax/cache/event/CacheEntryListener.html" title="interface in javax.cache.event"><code>CacheEntryListener</code></a>.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>cacheEntryListenerConfiguration</code> - the
<a href="../../../javax/cache/configuration/CacheEntryListenerConfiguration.html" title="interface in javax.cache.configuration"><code>CacheEntryListenerConfiguration</code></a></dd>
<dt><span class="strong">Returns:</span></dt><dd>the <a href="../../../javax/cache/configuration/MutableConfiguration.html" title="class in javax.cache.configuration"><code>MutableConfiguration</code></a> to permit fluent-style method calls</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - is the same CacheEntryListenerConfiguration
is used more than once</dd></dl>
</li>
</ul>
<a name="removeCacheEntryListenerConfiguration(javax.cache.configuration.CacheEntryListenerConfiguration)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeCacheEntryListenerConfiguration</h4>
<pre>public&nbsp;<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="class in javax.cache.configuration">MutableConfiguration</a>&lt;<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">K</a>,<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">V</a>&gt;&nbsp;removeCacheEntryListenerConfiguration(<a href="../../../javax/cache/configuration/CacheEntryListenerConfiguration.html" title="interface in javax.cache.configuration">CacheEntryListenerConfiguration</a>&lt;<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">K</a>,<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">V</a>&gt;&nbsp;cacheEntryListenerConfiguration)</pre>
<div class="block">Remove a configuration for a <a href="../../../javax/cache/event/CacheEntryListener.html" title="interface in javax.cache.event"><code>CacheEntryListener</code></a>.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>cacheEntryListenerConfiguration</code> - the
<a href="../../../javax/cache/configuration/CacheEntryListenerConfiguration.html" title="interface in javax.cache.configuration"><code>CacheEntryListenerConfiguration</code></a> to remove</dd>
<dt><span class="strong">Returns:</span></dt><dd>the <a href="../../../javax/cache/configuration/MutableConfiguration.html" title="class in javax.cache.configuration"><code>MutableConfiguration</code></a> to permit fluent-style method calls</dd></dl>
</li>
</ul>
<a name="getCacheLoaderFactory()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getCacheLoaderFactory</h4>
<pre>public&nbsp;<a href="../../../javax/cache/configuration/Factory.html" title="interface in javax.cache.configuration">Factory</a>&lt;<a href="../../../javax/cache/integration/CacheLoader.html" title="interface in javax.cache.integration">CacheLoader</a>&lt;<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">K</a>,<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">V</a>&gt;&gt;&nbsp;getCacheLoaderFactory()</pre>
<div class="block">Gets the <a href="../../../javax/cache/configuration/Factory.html" title="interface in javax.cache.configuration"><code>Factory</code></a> for the
<a href="../../../javax/cache/integration/CacheLoader.html" title="interface in javax.cache.integration"><code>CacheLoader</code></a>, if any.
<p>
A CacheLoader should be configured for "Read Through" caches to load values
when a cache miss occurs using either the
<a href="../../../javax/cache/Cache.html#get(K)"><code>Cache.get(Object)</code></a> and/or
<a href="../../../javax/cache/Cache.html#getAll(java.util.Set)"><code>Cache.getAll(java.util.Set)</code></a> methods.
<p>
The default value is <code>null</code>.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../javax/cache/configuration/CompleteConfiguration.html#getCacheLoaderFactory()">getCacheLoaderFactory</a></code>&nbsp;in interface&nbsp;<code><a href="../../../javax/cache/configuration/CompleteConfiguration.html" title="interface in javax.cache.configuration">CompleteConfiguration</a>&lt;<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">K</a>,<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">V</a>&gt;</code></dd>
<dt><span class="strong">Returns:</span></dt><dd>the <a href="../../../javax/cache/configuration/Factory.html" title="interface in javax.cache.configuration"><code>Factory</code></a> for the
<a href="../../../javax/cache/integration/CacheLoader.html" title="interface in javax.cache.integration"><code>CacheLoader</code></a> or null if none has been set.</dd></dl>
</li>
</ul>
<a name="setCacheLoaderFactory(javax.cache.configuration.Factory)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setCacheLoaderFactory</h4>
<pre>public&nbsp;<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="class in javax.cache.configuration">MutableConfiguration</a>&lt;<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">K</a>,<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">V</a>&gt;&nbsp;setCacheLoaderFactory(<a href="../../../javax/cache/configuration/Factory.html" title="interface in javax.cache.configuration">Factory</a>&lt;? extends <a href="../../../javax/cache/integration/CacheLoader.html" title="interface in javax.cache.integration">CacheLoader</a>&lt;<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">K</a>,<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">V</a>&gt;&gt;&nbsp;factory)</pre>
<div class="block">Set the <a href="../../../javax/cache/integration/CacheLoader.html" title="interface in javax.cache.integration"><code>CacheLoader</code></a> factory.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>factory</code> - the <a href="../../../javax/cache/integration/CacheLoader.html" title="interface in javax.cache.integration"><code>CacheLoader</code></a> <a href="../../../javax/cache/configuration/Factory.html" title="interface in javax.cache.configuration"><code>Factory</code></a></dd>
<dt><span class="strong">Returns:</span></dt><dd>the <a href="../../../javax/cache/configuration/MutableConfiguration.html" title="class in javax.cache.configuration"><code>MutableConfiguration</code></a> to permit fluent-style method calls</dd></dl>
</li>
</ul>
<a name="getCacheWriterFactory()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getCacheWriterFactory</h4>
<pre>public&nbsp;<a href="../../../javax/cache/configuration/Factory.html" title="interface in javax.cache.configuration">Factory</a>&lt;<a href="../../../javax/cache/integration/CacheWriter.html" title="interface in javax.cache.integration">CacheWriter</a>&lt;? super <a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">K</a>,? super <a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">V</a>&gt;&gt;&nbsp;getCacheWriterFactory()</pre>
<div class="block">Gets the <a href="../../../javax/cache/configuration/Factory.html" title="interface in javax.cache.configuration"><code>Factory</code></a> for the
<a href="../../../javax/cache/integration/CacheWriter.html" title="interface in javax.cache.integration"><code>CacheWriter</code></a>, if any.
<p>
The default value is <code>null</code>.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../javax/cache/configuration/CompleteConfiguration.html#getCacheWriterFactory()">getCacheWriterFactory</a></code>&nbsp;in interface&nbsp;<code><a href="../../../javax/cache/configuration/CompleteConfiguration.html" title="interface in javax.cache.configuration">CompleteConfiguration</a>&lt;<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">K</a>,<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">V</a>&gt;</code></dd>
<dt><span class="strong">Returns:</span></dt><dd>the <a href="../../../javax/cache/configuration/Factory.html" title="interface in javax.cache.configuration"><code>Factory</code></a> for the
<a href="../../../javax/cache/integration/CacheWriter.html" title="interface in javax.cache.integration"><code>CacheWriter</code></a> or null if none has been set.</dd></dl>
</li>
</ul>
<a name="setCacheWriterFactory(javax.cache.configuration.Factory)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setCacheWriterFactory</h4>
<pre>public&nbsp;<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="class in javax.cache.configuration">MutableConfiguration</a>&lt;<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">K</a>,<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">V</a>&gt;&nbsp;setCacheWriterFactory(<a href="../../../javax/cache/configuration/Factory.html" title="interface in javax.cache.configuration">Factory</a>&lt;? extends <a href="../../../javax/cache/integration/CacheWriter.html" title="interface in javax.cache.integration">CacheWriter</a>&lt;? super <a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">K</a>,? super <a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">V</a>&gt;&gt;&nbsp;factory)</pre>
<div class="block">Set the <a href="../../../javax/cache/integration/CacheWriter.html" title="interface in javax.cache.integration"><code>CacheWriter</code></a> factory.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>factory</code> - the <a href="../../../javax/cache/integration/CacheWriter.html" title="interface in javax.cache.integration"><code>CacheWriter</code></a> <a href="../../../javax/cache/configuration/Factory.html" title="interface in javax.cache.configuration"><code>Factory</code></a></dd>
<dt><span class="strong">Returns:</span></dt><dd>the <a href="../../../javax/cache/configuration/MutableConfiguration.html" title="class in javax.cache.configuration"><code>MutableConfiguration</code></a> to permit fluent-style method calls</dd></dl>
</li>
</ul>
<a name="getExpiryPolicyFactory()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getExpiryPolicyFactory</h4>
<pre>public&nbsp;<a href="../../../javax/cache/configuration/Factory.html" title="interface in javax.cache.configuration">Factory</a>&lt;<a href="../../../javax/cache/expiry/ExpiryPolicy.html" title="interface in javax.cache.expiry">ExpiryPolicy</a>&gt;&nbsp;getExpiryPolicyFactory()</pre>
<div class="block">Gets the <a href="../../../javax/cache/configuration/Factory.html" title="interface in javax.cache.configuration"><code>Factory</code></a> for the
<a href="../../../javax/cache/expiry/ExpiryPolicy.html" title="interface in javax.cache.expiry"><code>ExpiryPolicy</code></a> to be used for caches.
<p>
The default value is a <a href="../../../javax/cache/configuration/Factory.html" title="interface in javax.cache.configuration"><code>Factory</code></a> that will
produce a <a href="../../../javax/cache/expiry/EternalExpiryPolicy.html" title="class in javax.cache.expiry"><code>EternalExpiryPolicy</code></a> instance.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../javax/cache/configuration/CompleteConfiguration.html#getExpiryPolicyFactory()">getExpiryPolicyFactory</a></code>&nbsp;in interface&nbsp;<code><a href="../../../javax/cache/configuration/CompleteConfiguration.html" title="interface in javax.cache.configuration">CompleteConfiguration</a>&lt;<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">K</a>,<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">V</a>&gt;</code></dd>
<dt><span class="strong">Returns:</span></dt><dd>the <a href="../../../javax/cache/configuration/Factory.html" title="interface in javax.cache.configuration"><code>Factory</code></a> for
<a href="../../../javax/cache/expiry/ExpiryPolicy.html" title="interface in javax.cache.expiry"><code>ExpiryPolicy</code></a> (must not be <code>null</code>)</dd></dl>
</li>
</ul>
<a name="setExpiryPolicyFactory(javax.cache.configuration.Factory)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setExpiryPolicyFactory</h4>
<pre>public&nbsp;<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="class in javax.cache.configuration">MutableConfiguration</a>&lt;<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">K</a>,<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">V</a>&gt;&nbsp;setExpiryPolicyFactory(<a href="../../../javax/cache/configuration/Factory.html" title="interface in javax.cache.configuration">Factory</a>&lt;? extends <a href="../../../javax/cache/expiry/ExpiryPolicy.html" title="interface in javax.cache.expiry">ExpiryPolicy</a>&gt;&nbsp;factory)</pre>
<div class="block">Set the <a href="../../../javax/cache/configuration/Factory.html" title="interface in javax.cache.configuration"><code>Factory</code></a> for the <a href="../../../javax/cache/expiry/ExpiryPolicy.html" title="interface in javax.cache.expiry"><code>ExpiryPolicy</code></a>. If <code>null</code>
is specified the default <a href="../../../javax/cache/expiry/ExpiryPolicy.html" title="interface in javax.cache.expiry"><code>ExpiryPolicy</code></a> is used.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>factory</code> - the <a href="../../../javax/cache/expiry/ExpiryPolicy.html" title="interface in javax.cache.expiry"><code>ExpiryPolicy</code></a> <a href="../../../javax/cache/configuration/Factory.html" title="interface in javax.cache.configuration"><code>Factory</code></a></dd>
<dt><span class="strong">Returns:</span></dt><dd>the <a href="../../../javax/cache/configuration/MutableConfiguration.html" title="class in javax.cache.configuration"><code>MutableConfiguration</code></a> to permit fluent-style method calls</dd></dl>
</li>
</ul>
<a name="isReadThrough()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isReadThrough</h4>
<pre>public&nbsp;boolean&nbsp;isReadThrough()</pre>
<div class="block">Determines if a <a href="../../../javax/cache/Cache.html" title="interface in javax.cache"><code>Cache</code></a> should operate in read-through mode.
<p>
When in "read-through" mode, cache misses that occur due to cache entries
not existing as a result of performing a "get" will appropriately
cause the configured <a href="../../../javax/cache/integration/CacheLoader.html" title="interface in javax.cache.integration"><code>CacheLoader</code></a> to be
invoked.
<p>
The default value is <code>false</code>.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../javax/cache/configuration/CompleteConfiguration.html#isReadThrough()">isReadThrough</a></code>&nbsp;in interface&nbsp;<code><a href="../../../javax/cache/configuration/CompleteConfiguration.html" title="interface in javax.cache.configuration">CompleteConfiguration</a>&lt;<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">K</a>,<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">V</a>&gt;</code></dd>
<dt><span class="strong">Returns:</span></dt><dd><code>true</code> when a <a href="../../../javax/cache/Cache.html" title="interface in javax.cache"><code>Cache</code></a> is in
"read-through" mode.</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../javax/cache/configuration/CompleteConfiguration.html#getCacheLoaderFactory()"><code>CompleteConfiguration.getCacheLoaderFactory()</code></a></dd></dl>
</li>
</ul>
<a name="setReadThrough(boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setReadThrough</h4>
<pre>public&nbsp;<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="class in javax.cache.configuration">MutableConfiguration</a>&lt;<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">K</a>,<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">V</a>&gt;&nbsp;setReadThrough(boolean&nbsp;isReadThrough)</pre>
<div class="block">Set if read-through caching should be used.
<p>
It is an invalid configuration to set this to true without specifying a
<a href="../../../javax/cache/integration/CacheLoader.html" title="interface in javax.cache.integration"><code>CacheLoader</code></a> <a href="../../../javax/cache/configuration/Factory.html" title="interface in javax.cache.configuration"><code>Factory</code></a>.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>isReadThrough</code> - <code>true</code> if read-through is required</dd>
<dt><span class="strong">Returns:</span></dt><dd>the <a href="../../../javax/cache/configuration/MutableConfiguration.html" title="class in javax.cache.configuration"><code>MutableConfiguration</code></a> to permit fluent-style method calls</dd></dl>
</li>
</ul>
<a name="isWriteThrough()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isWriteThrough</h4>
<pre>public&nbsp;boolean&nbsp;isWriteThrough()</pre>
<div class="block">Determines if a <a href="../../../javax/cache/Cache.html" title="interface in javax.cache"><code>Cache</code></a> should operate in write-through
mode.
<p>
When in "write-through" mode, cache updates that occur as a result of
performing "put" operations called via one of
<a href="../../../javax/cache/Cache.html#put(K, V)"><code>Cache.put(Object, Object)</code></a>,
<a href="../../../javax/cache/Cache.html#getAndRemove(K)"><code>Cache.getAndRemove(Object)</code></a>,
<a href="../../../javax/cache/Cache.html#removeAll()"><code>Cache.removeAll()</code></a>,
<a href="../../../javax/cache/Cache.html#getAndPut(K, V)"><code>Cache.getAndPut(Object, Object)</code></a>
<a href="../../../javax/cache/Cache.html#getAndRemove(K)"><code>Cache.getAndRemove(Object)</code></a>,
<a href="../../../javax/cache/Cache.html#getAndReplace(K, V)"><code>Cache.getAndReplace(Object,
Object)</code></a>, <a href="../../../javax/cache/Cache.html#invoke(K, javax.cache.processor.EntryProcessor, java.lang.Object...)"><code>Cache.invoke(Object,
javax.cache.processor.EntryProcessor,
Object...)</code></a>, <a href="../../../javax/cache/Cache.html#invokeAll(java.util.Set, javax.cache.processor.EntryProcessor, java.lang.Object...)"><code>Cache.invokeAll(java.util.Set,
javax.cache.processor.EntryProcessor, Object...)</code></a> will appropriately cause
the configured <a href="../../../javax/cache/integration/CacheWriter.html" title="interface in javax.cache.integration"><code>CacheWriter</code></a> to be invoked.
<p>
The default value is <code>false</code>.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../javax/cache/configuration/CompleteConfiguration.html#isWriteThrough()">isWriteThrough</a></code>&nbsp;in interface&nbsp;<code><a href="../../../javax/cache/configuration/CompleteConfiguration.html" title="interface in javax.cache.configuration">CompleteConfiguration</a>&lt;<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">K</a>,<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">V</a>&gt;</code></dd>
<dt><span class="strong">Returns:</span></dt><dd><code>true</code> when a <a href="../../../javax/cache/Cache.html" title="interface in javax.cache"><code>Cache</code></a> is in
"write-through" mode.</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../javax/cache/configuration/CompleteConfiguration.html#getCacheWriterFactory()"><code>CompleteConfiguration.getCacheWriterFactory()</code></a></dd></dl>
</li>
</ul>
<a name="setWriteThrough(boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setWriteThrough</h4>
<pre>public&nbsp;<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="class in javax.cache.configuration">MutableConfiguration</a>&lt;<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">K</a>,<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">V</a>&gt;&nbsp;setWriteThrough(boolean&nbsp;isWriteThrough)</pre>
<div class="block">Set if write-through caching should be used.
<p>
It is an invalid configuration to set this to true without specifying a
<a href="../../../javax/cache/integration/CacheWriter.html" title="interface in javax.cache.integration"><code>CacheWriter</code></a> <a href="../../../javax/cache/configuration/Factory.html" title="interface in javax.cache.configuration"><code>Factory</code></a>.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>isWriteThrough</code> - <code>true</code> if write-through is required</dd>
<dt><span class="strong">Returns:</span></dt><dd>the <a href="../../../javax/cache/configuration/MutableConfiguration.html" title="class in javax.cache.configuration"><code>MutableConfiguration</code></a> to permit fluent-style method calls</dd></dl>
</li>
</ul>
<a name="isStoreByValue()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isStoreByValue</h4>
<pre>public&nbsp;boolean&nbsp;isStoreByValue()</pre>
<div class="block">Whether storeByValue (true) or storeByReference (false).
When true, both keys and values are stored by value.
<p>
When false, both keys and values are stored by reference.
Caches stored by reference are capable of mutation by any threads holding
the reference. The effects are:
<ul>
<li>if the key is mutated, then the key may not be retrievable or
removable</li>
<li>if the value is mutated, then all threads in the JVM can potentially
observe those mutations, subject to the normal Java Memory Model rules.</li>
</ul>
Storage by reference only applies to the local heap. If an entry is moved off
heap it will need to be transformed into a representation. Any mutations that
occur after transformation may not be reflected in the cache.
<p>
When a cache is storeByValue, any mutation to the key or value does not
affect the key of value stored in the cache.
<p>
The default value is <code>true</code>.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../javax/cache/configuration/Configuration.html#isStoreByValue()">isStoreByValue</a></code>&nbsp;in interface&nbsp;<code><a href="../../../javax/cache/configuration/Configuration.html" title="interface in javax.cache.configuration">Configuration</a>&lt;<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">K</a>,<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">V</a>&gt;</code></dd>
<dt><span class="strong">Returns:</span></dt><dd>true if the cache is store by value</dd></dl>
</li>
</ul>
<a name="setStoreByValue(boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setStoreByValue</h4>
<pre>public&nbsp;<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="class in javax.cache.configuration">MutableConfiguration</a>&lt;<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">K</a>,<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">V</a>&gt;&nbsp;setStoreByValue(boolean&nbsp;isStoreByValue)</pre>
<div class="block">Set if a configured cache should use store-by-value or store-by-reference
semantics.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>isStoreByValue</code> - <code>true</code> if store-by-value is required,
<code>false</code> for store-by-reference</dd>
<dt><span class="strong">Returns:</span></dt><dd>the <a href="../../../javax/cache/configuration/MutableConfiguration.html" title="class in javax.cache.configuration"><code>MutableConfiguration</code></a> to permit fluent-style method calls</dd></dl>
</li>
</ul>
<a name="isStatisticsEnabled()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isStatisticsEnabled</h4>
<pre>public&nbsp;boolean&nbsp;isStatisticsEnabled()</pre>
<div class="block">Checks whether statistics collection is enabled in this cache.
<p>
The default value is <code>false</code>.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../javax/cache/configuration/CompleteConfiguration.html#isStatisticsEnabled()">isStatisticsEnabled</a></code>&nbsp;in interface&nbsp;<code><a href="../../../javax/cache/configuration/CompleteConfiguration.html" title="interface in javax.cache.configuration">CompleteConfiguration</a>&lt;<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">K</a>,<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">V</a>&gt;</code></dd>
<dt><span class="strong">Returns:</span></dt><dd>true if statistics collection is enabled</dd></dl>
</li>
</ul>
<a name="setStatisticsEnabled(boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setStatisticsEnabled</h4>
<pre>public&nbsp;<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="class in javax.cache.configuration">MutableConfiguration</a>&lt;<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">K</a>,<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">V</a>&gt;&nbsp;setStatisticsEnabled(boolean&nbsp;enabled)</pre>
<div class="block">Sets whether statistics gathering is enabled on a cache.
<p>
Statistics may be enabled or disabled at runtime via
<a href="../../../javax/cache/CacheManager.html#enableStatistics(java.lang.String, boolean)"><code>CacheManager.enableStatistics(String, boolean)</code></a>.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>enabled</code> - true to enable statistics, false to disable.</dd>
<dt><span class="strong">Returns:</span></dt><dd>the <a href="../../../javax/cache/configuration/MutableConfiguration.html" title="class in javax.cache.configuration"><code>MutableConfiguration</code></a> to permit fluent-style method calls</dd></dl>
</li>
</ul>
<a name="isManagementEnabled()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isManagementEnabled</h4>
<pre>public&nbsp;boolean&nbsp;isManagementEnabled()</pre>
<div class="block">Checks whether management is enabled on this cache.
<p>
The default value is <code>false</code>.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../javax/cache/configuration/CompleteConfiguration.html#isManagementEnabled()">isManagementEnabled</a></code>&nbsp;in interface&nbsp;<code><a href="../../../javax/cache/configuration/CompleteConfiguration.html" title="interface in javax.cache.configuration">CompleteConfiguration</a>&lt;<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">K</a>,<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">V</a>&gt;</code></dd>
<dt><span class="strong">Returns:</span></dt><dd>true if management is enabled</dd></dl>
</li>
</ul>
<a name="setManagementEnabled(boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setManagementEnabled</h4>
<pre>public&nbsp;<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="class in javax.cache.configuration">MutableConfiguration</a>&lt;<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">K</a>,<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">V</a>&gt;&nbsp;setManagementEnabled(boolean&nbsp;enabled)</pre>
<div class="block">Sets whether management is enabled on a cache.
<p>
Management may be enabled or disabled at runtime via
<a href="../../../javax/cache/CacheManager.html#enableManagement(java.lang.String, boolean)"><code>CacheManager.enableManagement(String, boolean)</code></a>.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>enabled</code> - true to enable statistics, false to disable.</dd>
<dt><span class="strong">Returns:</span></dt><dd>the <a href="../../../javax/cache/configuration/MutableConfiguration.html" title="class in javax.cache.configuration"><code>MutableConfiguration</code></a> to permit fluent-style method calls</dd></dl>
</li>
</ul>
<a name="hashCode()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hashCode</h4>
<pre>public&nbsp;int&nbsp;hashCode()</pre>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a></code>&nbsp;in class&nbsp;<code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd>
</dl>
</li>
</ul>
<a name="equals(java.lang.Object)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>equals</h4>
<pre>public&nbsp;boolean&nbsp;equals(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;object)</pre>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</a></code>&nbsp;in class&nbsp;<code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!-- -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/MutableConfiguration.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../javax/cache/configuration/MutableCacheEntryListenerConfiguration.html" title="class in javax.cache.configuration"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../javax/cache/configuration/OptionalFeature.html" title="enum in javax.cache.configuration"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?javax/cache/configuration/MutableConfiguration.html" target="_top">Frames</a></li>
<li><a href="MutableConfiguration.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2014. All Rights Reserved.</small></p>
</body>
</html>