Added: incubator/ignite/site/trunk/jcache/1.0.0/javaodc/javax/cache/configuration/MutableConfiguration.html URL: http://svn.apache.org/viewvc/incubator/ignite/site/trunk/jcache/1.0.0/javaodc/javax/cache/configuration/MutableConfiguration.html?rev=1662900&view=auto ============================================================================== --- incubator/ignite/site/trunk/jcache/1.0.0/javaodc/javax/cache/configuration/MutableConfiguration.html (added) +++ incubator/ignite/site/trunk/jcache/1.0.0/javaodc/javax/cache/configuration/MutableConfiguration.html Sat Feb 28 04:53:18 2015 @@ -0,0 +1,1065 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!-- NewPage --> +<html lang="en"> +<head> +<!-- 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"> +</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: </li> +<li>Nested | </li> +<li><a href="#field_summary">Field</a> | </li> +<li><a href="#constructor_summary">Constr</a> | </li> +<li><a href="#method_summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li><a href="#field_detail">Field</a> | </li> +<li><a href="#constructor_detail">Constr</a> | </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<K,V></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<K,V></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><K,V>, <a href="../../../javax/cache/configuration/Configuration.html" title="interface in javax.cache.configuration">Configuration</a><K,V></dd> +</dl> +<hr> +<br> +<pre>public class <span class="strong">MutableConfiguration<K,V></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><K,V></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"> </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><<a href="../../../javax/cache/integration/CacheLoader.html" title="interface in javax.cache.integration">CacheLoader</a><<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>>></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><<a href="../../../javax/cache/integration/CacheWriter.html" title="interface in javax.cache.integration">CacheWriter</a><? 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>>></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><<a href="../../../javax/cache/expiry/ExpiryPolicy.html" title="interface in javax.cache.expiry">ExpiryPolicy</a>></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><<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">K</a>></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><<a href="../../../javax/cache/configuration/CacheEntryListenerConfiguration.html" title="interface in javax.cache.configuration">CacheEntryListenerConfiguration</a><<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>>></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><<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">V</a>></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"> </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><<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>> 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"> </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><<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>></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><<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>> 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> 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><<a href="../../../javax/cache/configuration/CacheEntryListenerConfiguration.html" title="interface in javax.cache.configuration">CacheEntryListenerConfiguration</a><<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>>></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><<a href="../../../javax/cache/integration/CacheLoader.html" title="interface in javax.cache.integration">CacheLoader</a><<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>>></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><<a href="../../../javax/cache/integration/CacheWriter.html" title="interface in javax.cache.integration">CacheWriter</a><? 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>>></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><<a href="../../../javax/cache/expiry/ExpiryPolicy.html" title="interface in javax.cache.expiry">ExpiryPolicy</a>></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><<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">K</a>></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><<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">V</a>></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><<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>></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><<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>> 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><<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>></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><? extends <a href="../../../javax/cache/integration/CacheLoader.html" title="interface in javax.cache.integration">CacheLoader</a><<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>>> 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><<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>></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><? extends <a href="../../../javax/cache/integration/CacheWriter.html" title="interface in javax.cache.integration">CacheWriter</a><? 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>>> 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><<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>></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><? extends <a href="../../../javax/cache/expiry/ExpiryPolicy.html" title="interface in javax.cache.expiry">ExpiryPolicy</a>> 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><<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>></code></td> +<td class="colLast"><code><strong><a href="../../../javax/cache/configuration/MutableConfiguration.html#setManagementEnabled(boolean)">setManagementEnabled</a></strong>(boolean 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><<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>></code></td> +<td class="colLast"><code><strong><a href="../../../javax/cache/configuration/MutableConfiguration.html#setReadThrough(boolean)">setReadThrough</a></strong>(boolean 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><<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>></code></td> +<td class="colLast"><code><strong><a href="../../../javax/cache/configuration/MutableConfiguration.html#setStatisticsEnabled(boolean)">setStatisticsEnabled</a></strong>(boolean 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><<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>></code></td> +<td class="colLast"><code><strong><a href="../../../javax/cache/configuration/MutableConfiguration.html#setStoreByValue(boolean)">setStoreByValue</a></strong>(boolean 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><<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>></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><<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">K</a>> 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><<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">V</a>> 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><<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>></code></td> +<td class="colLast"><code><strong><a href="../../../javax/cache/configuration/MutableConfiguration.html#setWriteThrough(boolean)">setWriteThrough</a></strong>(boolean 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 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 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 <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><<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">K</a>> 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 <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><<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">V</a>> 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 <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><<a href="../../../javax/cache/configuration/CacheEntryListenerConfiguration.html" title="interface in javax.cache.configuration">CacheEntryListenerConfiguration</a><<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>>> 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 <a href="../../../javax/cache/configuration/Factory.html" title="interface in javax.cache.configuration">Factory</a><<a href="../../../javax/cache/integration/CacheLoader.html" title="interface in javax.cache.integration">CacheLoader</a><<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>>> 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 <a href="../../../javax/cache/configuration/Factory.html" title="interface in javax.cache.configuration">Factory</a><<a href="../../../javax/cache/integration/CacheWriter.html" title="interface in javax.cache.integration">CacheWriter</a><? 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>>> 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 <a href="../../../javax/cache/configuration/Factory.html" title="interface in javax.cache.configuration">Factory</a><<a href="../../../javax/cache/expiry/ExpiryPolicy.html" title="interface in javax.cache.expiry">ExpiryPolicy</a>> 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 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 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 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 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 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 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 MutableConfiguration(<a href="../../../javax/cache/configuration/CompleteConfiguration.html" title="interface in javax.cache.configuration">CompleteConfiguration</a><<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>> 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 <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><<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">K</a>> 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> in interface <code><a href="../../../javax/cache/configuration/Configuration.html" title="interface in javax.cache.configuration">Configuration</a><<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>></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 <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><<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">V</a>> 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> in interface <code><a href="../../../javax/cache/configuration/Configuration.html" title="interface in javax.cache.configuration">Configuration</a><<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>></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 <a href="../../../javax/cache/configuration/MutableConfiguration.html" title="class in javax.cache.configuration">MutableConfiguration</a><<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>> 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><<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">K</a>> 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><<a href="../../../javax/cache/configuration/MutableConfiguration.html" title="type parameter in MutableConfiguration">V</a>> 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 <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><<a href="../../../javax/cache/configuration/CacheEntryListenerConfiguration.html" title="interface in javax.cache.configuration">CacheEntryListenerConfiguration</a><<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>>> 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> in interface <code><a href="../../../javax/cache/configuration/CompleteConfiguration.html" title="interface in javax.cache.configuration">CompleteConfiguration</a><<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>></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 <a href="../../../javax/cache/configuration/MutableConfiguration.html" title="class in javax.cache.configuration">MutableConfiguration</a><<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>> addCacheEntryListenerConfiguration(<a href="../../../javax/cache/configuration/CacheEntryListenerConfiguration.html" title="interface in javax.cache.configuration">CacheEntryListenerConfiguration</a><<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>> 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 <a href="../../../javax/cache/configuration/MutableConfiguration.html" title="class in javax.cache.configuration">MutableConfiguration</a><<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>> removeCacheEntryListenerConfiguration(<a href="../../../javax/cache/configuration/CacheEntryListenerConfiguration.html" title="interface in javax.cache.configuration">CacheEntryListenerConfiguration</a><<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>> 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 <a href="../../../javax/cache/configuration/Factory.html" title="interface in javax.cache.configuration">Factory</a><<a href="../../../javax/cache/integration/CacheLoader.html" title="interface in javax.cache.integration">CacheLoader</a><<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>>> 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> in interface <code><a href="../../../javax/cache/configuration/CompleteConfiguration.html" title="interface in javax.cache.configuration">CompleteConfiguration</a><<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>></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 <a href="../../../javax/cache/configuration/MutableConfiguration.html" title="class in javax.cache.configuration">MutableConfiguration</a><<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>> setCacheLoaderFactory(<a href="../../../javax/cache/configuration/Factory.html" title="interface in javax.cache.configuration">Factory</a><? extends <a href="../../../javax/cache/integration/CacheLoader.html" title="interface in javax.cache.integration">CacheLoader</a><<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>>> 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 <a href="../../../javax/cache/configuration/Factory.html" title="interface in javax.cache.configuration">Factory</a><<a href="../../../javax/cache/integration/CacheWriter.html" title="interface in javax.cache.integration">CacheWriter</a><? 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>>> 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> in interface <code><a href="../../../javax/cache/configuration/CompleteConfiguration.html" title="interface in javax.cache.configuration">CompleteConfiguration</a><<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>></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 <a href="../../../javax/cache/configuration/MutableConfiguration.html" title="class in javax.cache.configuration">MutableConfiguration</a><<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>> setCacheWriterFactory(<a href="../../../javax/cache/configuration/Factory.html" title="interface in javax.cache.configuration">Factory</a><? extends <a href="../../../javax/cache/integration/CacheWriter.html" title="interface in javax.cache.integration">CacheWriter</a><? 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>>> 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 <a href="../../../javax/cache/configuration/Factory.html" title="interface in javax.cache.configuration">Factory</a><<a href="../../../javax/cache/expiry/ExpiryPolicy.html" title="interface in javax.cache.expiry">ExpiryPolicy</a>> 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> in interface <code><a href="../../../javax/cache/configuration/CompleteConfiguration.html" title="interface in javax.cache.configuration">CompleteConfiguration</a><<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>></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 <a href="../../../javax/cache/configuration/MutableConfiguration.html" title="class in javax.cache.configuration">MutableConfiguration</a><<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>> setExpiryPolicyFactory(<a href="../../../javax/cache/configuration/Factory.html" title="interface in javax.cache.configuration">Factory</a><? extends <a href="../../../javax/cache/expiry/ExpiryPolicy.html" title="interface in javax.cache.expiry">ExpiryPolicy</a>> 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 boolean 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> in interface <code><a href="../../../javax/cache/configuration/CompleteConfiguration.html" title="interface in javax.cache.configuration">CompleteConfiguration</a><<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>></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 <a href="../../../javax/cache/configuration/MutableConfiguration.html" title="class in javax.cache.configuration">MutableConfiguration</a><<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>> setReadThrough(boolean 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 boolean 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> in interface <code><a href="../../../javax/cache/configuration/CompleteConfiguration.html" title="interface in javax.cache.configuration">CompleteConfiguration</a><<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>></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 <a href="../../../javax/cache/configuration/MutableConfiguration.html" title="class in javax.cache.configuration">MutableConfiguration</a><<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>> setWriteThrough(boolean 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 boolean 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> in interface <code><a href="../../../javax/cache/configuration/Configuration.html" title="interface in javax.cache.configuration">Configuration</a><<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>></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 <a href="../../../javax/cache/configuration/MutableConfiguration.html" title="class in javax.cache.configuration">MutableConfiguration</a><<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>> setStoreByValue(boolean 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 boolean 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> in interface <code><a href="../../../javax/cache/configuration/CompleteConfiguration.html" title="interface in javax.cache.configuration">CompleteConfiguration</a><<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>></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 <a href="../../../javax/cache/configuration/MutableConfiguration.html" title="class in javax.cache.configuration">MutableConfiguration</a><<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>> setStatisticsEnabled(boolean 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 boolean 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> in interface <code><a href="../../../javax/cache/configuration/CompleteConfiguration.html" title="interface in javax.cache.configuration">CompleteConfiguration</a><<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>></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 <a href="../../../javax/cache/configuration/MutableConfiguration.html" title="class in javax.cache.configuration">MutableConfiguration</a><<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>> setManagementEnabled(boolean 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 int 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> in class <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>
[... 78 lines stripped ...]
