de.nava.informa.utils
Class RSS200Settings
java.lang.Object
de.nava.informa.utils.RSS200Settings
- All Implemented Interfaces:
- CacheSettingsIF
public class RSS200Settings
- extends Object
- implements CacheSettingsIF
- Author:
- Jean-Guy Avelin
Method Summary |
long |
getTtl(ChannelIF channel,
long Ttlms)
return in order of preference: feed producer ttl (if exists and < wantedTtl)
wantedTtl (if exists) defaultTtl (if exists) |
void |
setDefaultTtl(long defaultTtl)
Set default time-to-live value. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RSS200Settings
public RSS200Settings()
setDefaultTtl
public void setDefaultTtl(long defaultTtl)
- Set default time-to-live value.
- Specified by:
setDefaultTtl
in interface CacheSettingsIF
getTtl
public long getTtl(ChannelIF channel,
long Ttlms)
- return in order of preference: feed producer ttl (if exists and < wantedTtl)
wantedTtl (if exists) defaultTtl (if exists)
- Specified by:
getTtl
in interface CacheSettingsIF
Copyright © 2002-2007 Niko Schmuck.
All Rights Reserved.