| java.lang.Object com.ecyrd.jspwiki.providers.CachingProvider
CachingProvider | public class CachingProvider implements WikiPageProvider,VersioningProvider(Code) | | Provides a caching page provider. This class rests on top of a
real provider class and provides a cache to speed things up. Only
if the cache copy of the page text has expired, we fetch it from
the provider.
This class also detects if someone has modified the page
externally, not through JSPWiki routines, and throws the proper
RepositoryModifiedException.
Heavily based on ideas by Chris Brooking.
Since 2.1.52 uses the OSCache library from OpenSymphony.
author: Janne Jalkanen since: 1.6.4 See Also: RepositoryModifiedException |
PROP_CACHECAPACITY | final public static String PROP_CACHECAPACITY(Code) | | |
PROP_CACHECHECKINTERVAL | final public static String PROP_CACHECHECKINTERVAL(Code) | | Defines, in seconds, the amount of time a text will live in the cache
at most before requiring a refresh.
|
getProviderInfo | public synchronized String getProviderInfo()(Code) | | |
pageExists | public boolean pageExists(String pageName, int version)(Code) | | |
|
|