blob: 124573b4052b94113e7c31acf10f5585ef1a8058 [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/expiry/class-use/Duration.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>Uses of Class javax.cache.expiry.Duration (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="Uses of Class javax.cache.expiry.Duration (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><a href="../../../../javax/cache/expiry/Duration.html" title="class in javax.cache.expiry">Class</a></li>
<li class="navBarCell1Rev">Use</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>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?javax/cache/expiry/class-use/Duration.html" target="_top">Frames</a></li>
<li><a href="Duration.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>
<a name="skip-navbar_top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="header">
<h2 title="Uses of Class javax.cache.expiry.Duration" class="title">Uses of Class<br>javax.cache.expiry.Duration</h2>
</div>
<div class="classUseContainer">
<ul class="blockList">
<li class="blockList">
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing packages, and an explanation">
<caption><span>Packages that use <a href="../../../../javax/cache/expiry/Duration.html" title="class in javax.cache.expiry">Duration</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Package</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><a href="#javax.cache.expiry">javax.cache.expiry</a></td>
<td class="colLast">
<div class="block">This package contains expiry policies</div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList">
<ul class="blockList">
<li class="blockList"><a name="javax.cache.expiry">
<!-- -->
</a>
<h3>Uses of <a href="../../../../javax/cache/expiry/Duration.html" title="class in javax.cache.expiry">Duration</a> in <a href="../../../../javax/cache/expiry/package-summary.html">javax.cache.expiry</a></h3>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing fields, and an explanation">
<caption><span>Fields in <a href="../../../../javax/cache/expiry/package-summary.html">javax.cache.expiry</a> declared as <a href="../../../../javax/cache/expiry/Duration.html" title="class in javax.cache.expiry">Duration</a></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>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../javax/cache/expiry/Duration.html" title="class in javax.cache.expiry">Duration</a></code></td>
<td class="colLast"><span class="strong">Duration.</span><code><strong><a href="../../../../javax/cache/expiry/Duration.html#ETERNAL">ETERNAL</a></strong></code>
<div class="block">ETERNAL (forever).</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../javax/cache/expiry/Duration.html" title="class in javax.cache.expiry">Duration</a></code></td>
<td class="colLast"><span class="strong">Duration.</span><code><strong><a href="../../../../javax/cache/expiry/Duration.html#FIVE_MINUTES">FIVE_MINUTES</a></strong></code>
<div class="block">Five minutes.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../javax/cache/expiry/Duration.html" title="class in javax.cache.expiry">Duration</a></code></td>
<td class="colLast"><span class="strong">Duration.</span><code><strong><a href="../../../../javax/cache/expiry/Duration.html#ONE_DAY">ONE_DAY</a></strong></code>
<div class="block">One day.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../javax/cache/expiry/Duration.html" title="class in javax.cache.expiry">Duration</a></code></td>
<td class="colLast"><span class="strong">Duration.</span><code><strong><a href="../../../../javax/cache/expiry/Duration.html#ONE_HOUR">ONE_HOUR</a></strong></code>
<div class="block">One hour.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../javax/cache/expiry/Duration.html" title="class in javax.cache.expiry">Duration</a></code></td>
<td class="colLast"><span class="strong">Duration.</span><code><strong><a href="../../../../javax/cache/expiry/Duration.html#ONE_MINUTE">ONE_MINUTE</a></strong></code>
<div class="block">One minute.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../javax/cache/expiry/Duration.html" title="class in javax.cache.expiry">Duration</a></code></td>
<td class="colLast"><span class="strong">Duration.</span><code><strong><a href="../../../../javax/cache/expiry/Duration.html#TEN_MINUTES">TEN_MINUTES</a></strong></code>
<div class="block">Ten minutes.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../javax/cache/expiry/Duration.html" title="class in javax.cache.expiry">Duration</a></code></td>
<td class="colLast"><span class="strong">Duration.</span><code><strong><a href="../../../../javax/cache/expiry/Duration.html#THIRTY_MINUTES">THIRTY_MINUTES</a></strong></code>
<div class="block">Thirty minutes.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../javax/cache/expiry/Duration.html" title="class in javax.cache.expiry">Duration</a></code></td>
<td class="colLast"><span class="strong">Duration.</span><code><strong><a href="../../../../javax/cache/expiry/Duration.html#TWENTY_MINUTES">TWENTY_MINUTES</a></strong></code>
<div class="block">Twenty minutes.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../javax/cache/expiry/Duration.html" title="class in javax.cache.expiry">Duration</a></code></td>
<td class="colLast"><span class="strong">Duration.</span><code><strong><a href="../../../../javax/cache/expiry/Duration.html#ZERO">ZERO</a></strong></code>
<div class="block">Zero (no time).</div>
</td>
</tr>
</tbody>
</table>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../../javax/cache/expiry/package-summary.html">javax.cache.expiry</a> that return <a href="../../../../javax/cache/expiry/Duration.html" title="class in javax.cache.expiry">Duration</a></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>
<tbody>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../javax/cache/expiry/Duration.html" title="class in javax.cache.expiry">Duration</a></code></td>
<td class="colLast"><span class="strong">TouchedExpiryPolicy.</span><code><strong><a href="../../../../javax/cache/expiry/TouchedExpiryPolicy.html#getExpiryForAccess()">getExpiryForAccess</a></strong>()</code>
<div class="block">Gets the <a href="../../../../javax/cache/expiry/Duration.html" title="class in javax.cache.expiry"><code>Duration</code></a> before an accessed Cache.Entry is
considered expired.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../javax/cache/expiry/Duration.html" title="class in javax.cache.expiry">Duration</a></code></td>
<td class="colLast"><span class="strong">ModifiedExpiryPolicy.</span><code><strong><a href="../../../../javax/cache/expiry/ModifiedExpiryPolicy.html#getExpiryForAccess()">getExpiryForAccess</a></strong>()</code>
<div class="block">Gets the <a href="../../../../javax/cache/expiry/Duration.html" title="class in javax.cache.expiry"><code>Duration</code></a> before an accessed Cache.Entry is
considered expired.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../javax/cache/expiry/Duration.html" title="class in javax.cache.expiry">Duration</a></code></td>
<td class="colLast"><span class="strong">ExpiryPolicy.</span><code><strong><a href="../../../../javax/cache/expiry/ExpiryPolicy.html#getExpiryForAccess()">getExpiryForAccess</a></strong>()</code>
<div class="block">Gets the <a href="../../../../javax/cache/expiry/Duration.html" title="class in javax.cache.expiry"><code>Duration</code></a> before an accessed Cache.Entry is
considered expired.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../javax/cache/expiry/Duration.html" title="class in javax.cache.expiry">Duration</a></code></td>
<td class="colLast"><span class="strong">EternalExpiryPolicy.</span><code><strong><a href="../../../../javax/cache/expiry/EternalExpiryPolicy.html#getExpiryForAccess()">getExpiryForAccess</a></strong>()</code>
<div class="block">Gets the <a href="../../../../javax/cache/expiry/Duration.html" title="class in javax.cache.expiry"><code>Duration</code></a> before an accessed Cache.Entry is
considered expired.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../javax/cache/expiry/Duration.html" title="class in javax.cache.expiry">Duration</a></code></td>
<td class="colLast"><span class="strong">CreatedExpiryPolicy.</span><code><strong><a href="../../../../javax/cache/expiry/CreatedExpiryPolicy.html#getExpiryForAccess()">getExpiryForAccess</a></strong>()</code>
<div class="block">Gets the <a href="../../../../javax/cache/expiry/Duration.html" title="class in javax.cache.expiry"><code>Duration</code></a> before an accessed Cache.Entry is
considered expired.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../javax/cache/expiry/Duration.html" title="class in javax.cache.expiry">Duration</a></code></td>
<td class="colLast"><span class="strong">AccessedExpiryPolicy.</span><code><strong><a href="../../../../javax/cache/expiry/AccessedExpiryPolicy.html#getExpiryForAccess()">getExpiryForAccess</a></strong>()</code>
<div class="block">Gets the <a href="../../../../javax/cache/expiry/Duration.html" title="class in javax.cache.expiry"><code>Duration</code></a> before an accessed Cache.Entry is
considered expired.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../javax/cache/expiry/Duration.html" title="class in javax.cache.expiry">Duration</a></code></td>
<td class="colLast"><span class="strong">TouchedExpiryPolicy.</span><code><strong><a href="../../../../javax/cache/expiry/TouchedExpiryPolicy.html#getExpiryForCreation()">getExpiryForCreation</a></strong>()</code>
<div class="block">Gets the <a href="../../../../javax/cache/expiry/Duration.html" title="class in javax.cache.expiry"><code>Duration</code></a> before a newly created Cache.Entry is considered
expired.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../javax/cache/expiry/Duration.html" title="class in javax.cache.expiry">Duration</a></code></td>
<td class="colLast"><span class="strong">ModifiedExpiryPolicy.</span><code><strong><a href="../../../../javax/cache/expiry/ModifiedExpiryPolicy.html#getExpiryForCreation()">getExpiryForCreation</a></strong>()</code>
<div class="block">Gets the <a href="../../../../javax/cache/expiry/Duration.html" title="class in javax.cache.expiry"><code>Duration</code></a> before a newly created Cache.Entry is considered
expired.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../javax/cache/expiry/Duration.html" title="class in javax.cache.expiry">Duration</a></code></td>
<td class="colLast"><span class="strong">ExpiryPolicy.</span><code><strong><a href="../../../../javax/cache/expiry/ExpiryPolicy.html#getExpiryForCreation()">getExpiryForCreation</a></strong>()</code>
<div class="block">Gets the <a href="../../../../javax/cache/expiry/Duration.html" title="class in javax.cache.expiry"><code>Duration</code></a> before a newly created Cache.Entry is considered
expired.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../javax/cache/expiry/Duration.html" title="class in javax.cache.expiry">Duration</a></code></td>
<td class="colLast"><span class="strong">EternalExpiryPolicy.</span><code><strong><a href="../../../../javax/cache/expiry/EternalExpiryPolicy.html#getExpiryForCreation()">getExpiryForCreation</a></strong>()</code>
<div class="block">Gets the <a href="../../../../javax/cache/expiry/Duration.html" title="class in javax.cache.expiry"><code>Duration</code></a> before a newly created Cache.Entry is considered
expired.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../javax/cache/expiry/Duration.html" title="class in javax.cache.expiry">Duration</a></code></td>
<td class="colLast"><span class="strong">CreatedExpiryPolicy.</span><code><strong><a href="../../../../javax/cache/expiry/CreatedExpiryPolicy.html#getExpiryForCreation()">getExpiryForCreation</a></strong>()</code>
<div class="block">Gets the <a href="../../../../javax/cache/expiry/Duration.html" title="class in javax.cache.expiry"><code>Duration</code></a> before a newly created Cache.Entry is considered
expired.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../javax/cache/expiry/Duration.html" title="class in javax.cache.expiry">Duration</a></code></td>
<td class="colLast"><span class="strong">AccessedExpiryPolicy.</span><code><strong><a href="../../../../javax/cache/expiry/AccessedExpiryPolicy.html#getExpiryForCreation()">getExpiryForCreation</a></strong>()</code>
<div class="block">Gets the <a href="../../../../javax/cache/expiry/Duration.html" title="class in javax.cache.expiry"><code>Duration</code></a> before a newly created Cache.Entry is considered
expired.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../javax/cache/expiry/Duration.html" title="class in javax.cache.expiry">Duration</a></code></td>
<td class="colLast"><span class="strong">TouchedExpiryPolicy.</span><code><strong><a href="../../../../javax/cache/expiry/TouchedExpiryPolicy.html#getExpiryForUpdate()">getExpiryForUpdate</a></strong>()</code>
<div class="block">Gets the <a href="../../../../javax/cache/expiry/Duration.html" title="class in javax.cache.expiry"><code>Duration</code></a> before an updated Cache.Entry is considered
expired.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../javax/cache/expiry/Duration.html" title="class in javax.cache.expiry">Duration</a></code></td>
<td class="colLast"><span class="strong">ModifiedExpiryPolicy.</span><code><strong><a href="../../../../javax/cache/expiry/ModifiedExpiryPolicy.html#getExpiryForUpdate()">getExpiryForUpdate</a></strong>()</code>
<div class="block">Gets the <a href="../../../../javax/cache/expiry/Duration.html" title="class in javax.cache.expiry"><code>Duration</code></a> before an updated Cache.Entry is considered
expired.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../javax/cache/expiry/Duration.html" title="class in javax.cache.expiry">Duration</a></code></td>
<td class="colLast"><span class="strong">ExpiryPolicy.</span><code><strong><a href="../../../../javax/cache/expiry/ExpiryPolicy.html#getExpiryForUpdate()">getExpiryForUpdate</a></strong>()</code>
<div class="block">Gets the <a href="../../../../javax/cache/expiry/Duration.html" title="class in javax.cache.expiry"><code>Duration</code></a> before an updated Cache.Entry is considered
expired.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../javax/cache/expiry/Duration.html" title="class in javax.cache.expiry">Duration</a></code></td>
<td class="colLast"><span class="strong">EternalExpiryPolicy.</span><code><strong><a href="../../../../javax/cache/expiry/EternalExpiryPolicy.html#getExpiryForUpdate()">getExpiryForUpdate</a></strong>()</code>
<div class="block">Gets the <a href="../../../../javax/cache/expiry/Duration.html" title="class in javax.cache.expiry"><code>Duration</code></a> before an updated Cache.Entry is considered
expired.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../javax/cache/expiry/Duration.html" title="class in javax.cache.expiry">Duration</a></code></td>
<td class="colLast"><span class="strong">CreatedExpiryPolicy.</span><code><strong><a href="../../../../javax/cache/expiry/CreatedExpiryPolicy.html#getExpiryForUpdate()">getExpiryForUpdate</a></strong>()</code>
<div class="block">Gets the <a href="../../../../javax/cache/expiry/Duration.html" title="class in javax.cache.expiry"><code>Duration</code></a> before an updated Cache.Entry is considered
expired.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../javax/cache/expiry/Duration.html" title="class in javax.cache.expiry">Duration</a></code></td>
<td class="colLast"><span class="strong">AccessedExpiryPolicy.</span><code><strong><a href="../../../../javax/cache/expiry/AccessedExpiryPolicy.html#getExpiryForUpdate()">getExpiryForUpdate</a></strong>()</code>
<div class="block">Gets the <a href="../../../../javax/cache/expiry/Duration.html" title="class in javax.cache.expiry"><code>Duration</code></a> before an updated Cache.Entry is considered
expired.</div>
</td>
</tr>
</tbody>
</table>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../../javax/cache/expiry/package-summary.html">javax.cache.expiry</a> with parameters of type <a href="../../../../javax/cache/expiry/Duration.html" title="class in javax.cache.expiry">Duration</a></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>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>static <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"><span class="strong">TouchedExpiryPolicy.</span><code><strong><a href="../../../../javax/cache/expiry/TouchedExpiryPolicy.html#factoryOf(javax.cache.expiry.Duration)">factoryOf</a></strong>(<a href="../../../../javax/cache/expiry/Duration.html" title="class in javax.cache.expiry">Duration</a>&nbsp;duration)</code>
<div class="block">Obtains a <a href="../../../../javax/cache/configuration/Factory.html" title="interface in javax.cache.configuration"><code>Factory</code></a> for a Touched <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>static <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"><span class="strong">ModifiedExpiryPolicy.</span><code><strong><a href="../../../../javax/cache/expiry/ModifiedExpiryPolicy.html#factoryOf(javax.cache.expiry.Duration)">factoryOf</a></strong>(<a href="../../../../javax/cache/expiry/Duration.html" title="class in javax.cache.expiry">Duration</a>&nbsp;duration)</code>
<div class="block">Obtains a <a href="../../../../javax/cache/configuration/Factory.html" title="interface in javax.cache.configuration"><code>Factory</code></a> for a Modified <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>static <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"><span class="strong">CreatedExpiryPolicy.</span><code><strong><a href="../../../../javax/cache/expiry/CreatedExpiryPolicy.html#factoryOf(javax.cache.expiry.Duration)">factoryOf</a></strong>(<a href="../../../../javax/cache/expiry/Duration.html" title="class in javax.cache.expiry">Duration</a>&nbsp;duration)</code>
<div class="block">Obtains a <a href="../../../../javax/cache/configuration/Factory.html" title="interface in javax.cache.configuration"><code>Factory</code></a> for a Created <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>static <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"><span class="strong">AccessedExpiryPolicy.</span><code><strong><a href="../../../../javax/cache/expiry/AccessedExpiryPolicy.html#factoryOf(javax.cache.expiry.Duration)">factoryOf</a></strong>(<a href="../../../../javax/cache/expiry/Duration.html" title="class in javax.cache.expiry">Duration</a>&nbsp;duration)</code>
<div class="block">Obtains a <a href="../../../../javax/cache/configuration/Factory.html" title="interface in javax.cache.configuration"><code>Factory</code></a> for an Accessed <a href="../../../../javax/cache/expiry/ExpiryPolicy.html" title="interface in javax.cache.expiry"><code>ExpiryPolicy</code></a>.</div>
</td>
</tr>
</tbody>
</table>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing constructors, and an explanation">
<caption><span>Constructors in <a href="../../../../javax/cache/expiry/package-summary.html">javax.cache.expiry</a> with parameters of type <a href="../../../../javax/cache/expiry/Duration.html" title="class in javax.cache.expiry">Duration</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colLast"><code><strong><a href="../../../../javax/cache/expiry/AccessedExpiryPolicy.html#AccessedExpiryPolicy(javax.cache.expiry.Duration)">AccessedExpiryPolicy</a></strong>(<a href="../../../../javax/cache/expiry/Duration.html" title="class in javax.cache.expiry">Duration</a>&nbsp;expiryDuration)</code>
<div class="block">Constructs an <a href="../../../../javax/cache/expiry/AccessedExpiryPolicy.html" title="class in javax.cache.expiry"><code>AccessedExpiryPolicy</code></a> <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="colLast"><code><strong><a href="../../../../javax/cache/expiry/CreatedExpiryPolicy.html#CreatedExpiryPolicy(javax.cache.expiry.Duration)">CreatedExpiryPolicy</a></strong>(<a href="../../../../javax/cache/expiry/Duration.html" title="class in javax.cache.expiry">Duration</a>&nbsp;expiryDuration)</code>
<div class="block">Constructs an <a href="../../../../javax/cache/expiry/CreatedExpiryPolicy.html" title="class in javax.cache.expiry"><code>CreatedExpiryPolicy</code></a> <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="colLast"><code><strong><a href="../../../../javax/cache/expiry/ModifiedExpiryPolicy.html#ModifiedExpiryPolicy(javax.cache.expiry.Duration)">ModifiedExpiryPolicy</a></strong>(<a href="../../../../javax/cache/expiry/Duration.html" title="class in javax.cache.expiry">Duration</a>&nbsp;expiryDuration)</code>
<div class="block">Constructs an <a href="../../../../javax/cache/expiry/ModifiedExpiryPolicy.html" title="class in javax.cache.expiry"><code>ModifiedExpiryPolicy</code></a> <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="colLast"><code><strong><a href="../../../../javax/cache/expiry/TouchedExpiryPolicy.html#TouchedExpiryPolicy(javax.cache.expiry.Duration)">TouchedExpiryPolicy</a></strong>(<a href="../../../../javax/cache/expiry/Duration.html" title="class in javax.cache.expiry">Duration</a>&nbsp;expiryDuration)</code>
<div class="block">Constructs an <a href="../../../../javax/cache/expiry/TouchedExpiryPolicy.html" title="class in javax.cache.expiry"><code>TouchedExpiryPolicy</code></a> <a href="../../../../javax/cache/expiry/ExpiryPolicy.html" title="interface in javax.cache.expiry"><code>ExpiryPolicy</code></a>.</div>
</td>
</tr>
</tbody>
</table>
</li>
</ul>
</li>
</ul>
</div>
<!-- ======= 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><a href="../../../../javax/cache/expiry/Duration.html" title="class in javax.cache.expiry">Class</a></li>
<li class="navBarCell1Rev">Use</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>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?javax/cache/expiry/class-use/Duration.html" target="_top">Frames</a></li>
<li><a href="Duration.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>
<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>