org.ceryle.wiki.plugin.transclude
Class CachedPage
java.lang.Object
org.ceryle.wiki.plugin.transclude.CachedPage
public class CachedPage
- extends Object
Utility class, keeps load off server by limiting real page fetches via
XML-RPC when folks are viewing pages containing the TranscludePlugin.
Created on Jan 21, 2004.
- Author:
- John Volkar (john.volkar at gmail.com)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CachedPage
public CachedPage(String rpcUrl,
String name,
int cacheLife,
int sectionNumber)
update
public void update(int cacheLife,
int sectionNumber)
getHtml
public String getHtml()
- Returns:
- Returns the html.
getLastUpdate
public long getLastUpdate()
- Returns:
- Returns the lastUpdate.
getName
public String getName()
- Returns:
- Returns the name.
The Ceryle Project. Copyright ©2001-2007 Murray Altheim, All Rights Reserved. See LICENSE included with distribution.