de.nava.informa.utils
Class RSS091Settings

java.lang.Object
  extended by de.nava.informa.utils.RSS091Settings
All Implemented Interfaces:
CacheSettingsIF

public class RSS091Settings
extends Object
implements CacheSettingsIF

Author:
Jean-Guy Avelin

Field Summary
 
Fields inherited from interface de.nava.informa.utils.CacheSettingsIF
DEFAULT_TTL, MILLISECONDS_IN_DAY, MILLISECONDS_IN_HOUR, MILLISECONDS_IN_MONTH, MILLISECONDS_IN_YEAR, MINIMAL_TTL
 
Constructor Summary
RSS091Settings()
           
 
Method Summary
 long getTtl(ChannelIF channel, long Ttlms)
          return the ttl (in order of preference) wantedTtl (if exists) defaultTtl
 void setDefaultTtl(long defaultTtl)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RSS091Settings

public RSS091Settings()
Method Detail

setDefaultTtl

public void setDefaultTtl(long defaultTtl)
Specified by:
setDefaultTtl in interface CacheSettingsIF

getTtl

public long getTtl(ChannelIF channel,
                   long Ttlms)
return the ttl (in order of preference) wantedTtl (if exists) defaultTtl

Specified by:
getTtl in interface CacheSettingsIF


Copyright © 2002-2007 Niko Schmuck. All Rights Reserved.