info.magnolia.module.cache.browsercachepolicy
Class FixedDuration

java.lang.Object
  extended by info.magnolia.module.cache.browsercachepolicy.AbstractVoterBased
      extended by 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: 41137 $ ($Author: gjoseph $)

Constructor Summary
FixedDuration()
           
 
Method Summary
 int getExpirationMinutes()
           
protected  BrowserCachePolicyResult getPositiveVoteResult(CachePolicyResult cachePolicyResult)
           
 void setExpirationMinutes(int expirationMinutes)
           
 
Methods inherited from class info.magnolia.module.cache.browsercachepolicy.AbstractVoterBased
canCacheOnClient, getVoters, setVoters
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FixedDuration

public FixedDuration()
Method Detail

getPositiveVoteResult

protected BrowserCachePolicyResult getPositiveVoteResult(CachePolicyResult cachePolicyResult)
Specified by:
getPositiveVoteResult in class AbstractVoterBased

getExpirationMinutes

public int getExpirationMinutes()

setExpirationMinutes

public void setExpirationMinutes(int expirationMinutes)


Copyright © 2003-2011 Magnolia International Ltd.. All Rights Reserved.