|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object lumis.portal.page.cache.HtmlGenerationConfig
public class HtmlGenerationConfig
Contains configurations for the cache HTML generation.
Constructor Summary | |
---|---|
HtmlGenerationConfig(Node htmlGenerationNode)
|
Method Summary | |
---|---|
int |
getErrorPriorityDecrement()
Returns the amount by which the priority is decreased when an error during generation occurs. |
String |
getFrameworkUrl()
Returns the frameworkUrl used to generate html cache. |
String |
getHtmlFileExtension()
Returns the extension used for html files. |
int |
getIntervalAfterStabilization()
Returns the interval after stabilization in milliseconds. |
int |
getIntervalBetweenPageGenerations()
Returns the interval between page generations in milliseconds. |
int |
getMaxErrorCount()
Returns the maximum number of consecutive errors that causes a page cache to be set into the PageCacheConfig.STATUS_OUTDATED_WITH_ERROR
status. |
int |
getNumberOfThreads()
Returns the number of generation threads. |
int |
getNumberOfThreadsForImmediateUseOnly()
Returns the number of generation threads that are used only to generate caches required for immediate use. |
int |
getPageRequestTimeout()
Returns the timeout, in milliseconds, for a cached page request. |
String |
getShtmlFileExtension()
Returns the extension used for shtml files. |
int |
getSsiWaitBeforeSendRedirect()
Returns the time to wait in milliseconds before sending a redirect for a SSI page that was not found. |
int |
getThreadPriority()
Returns the priority of the generation threads. |
boolean |
isDeleteOutdated()
Returns if outdated pages should be deleted. |
boolean |
isHtmlCacheLogNavigation()
Returns if the access to cached html files should cause navigation log. |
boolean |
isOnDemandOnly()
Indicates if pages are generated only if demanded. |
boolean |
isShadowCacheEnabled()
Indicates if the shadow cache feature is enabled. |
boolean |
isSsiSendRedirectOnPageNotFound()
Indicates if a send redirect should be used when a SSI page is not found, instead of directly streaming the generated html. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HtmlGenerationConfig(Node htmlGenerationNode) throws PortalException
PortalException
Method Detail |
---|
public boolean isOnDemandOnly()
public int getIntervalBetweenPageGenerations()
public int getIntervalAfterStabilization()
public int getNumberOfThreads()
public int getNumberOfThreadsForImmediateUseOnly()
public int getThreadPriority()
Thread
public boolean isHtmlCacheLogNavigation()
public String getFrameworkUrl()
public String getHtmlFileExtension()
public String getShtmlFileExtension()
public int getPageRequestTimeout()
public boolean isDeleteOutdated()
public int getMaxErrorCount()
PageCacheConfig.STATUS_OUTDATED_WITH_ERROR
status.
public int getErrorPriorityDecrement()
public boolean isShadowCacheEnabled()
public boolean isSsiSendRedirectOnPageNotFound()
public int getSsiWaitBeforeSendRedirect()
isSsiSendRedirectOnPageNotFound()
is true.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |