info.magnolia.module.cache.browsercachepolicy
Class FixedDuration
java.lang.Object
info.magnolia.module.cache.browsercachepolicy.AbstractVoterBased
info.magnolia.module.cache.browsercachepolicy.FixedDuration
- All Implemented Interfaces:
- BrowserCachePolicy
public class FixedDuration
- extends AbstractVoterBased
Uses a fix expiration time (in minutes). Default to 30 minutes.
- Version:
- $Revision$ ($Author$)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FixedDuration
public FixedDuration()
getPositiveVoteResult
protected BrowserCachePolicyResult getPositiveVoteResult(CachePolicyResult cachePolicyResult)
- Specified by:
getPositiveVoteResult
in class AbstractVoterBased
getExpirationMinutes
public int getExpirationMinutes()
setExpirationMinutes
public void setExpirationMinutes(int expirationMinutes)
Copyright © 2003–2014 Magnolia International Ltd.. All rights reserved.