public interface RenderTimeMonitor
RenderTimeLimitExceededException to stop the current request processing chain.| Modifier and Type | Method and Description |
|---|---|
void |
monitor(Resource resource,
RenderContext renderContext)
Checks the current request rendering time and, if it exceeds the maximum configured one, throws the
RenderTimeLimitExceededException to stop the current request processing chain. |
void |
track(javax.servlet.http.HttpServletRequest request)
Start tracking the current request render time, if it was not done before.
|
void monitor(Resource resource, RenderContext renderContext) throws RenderTimeLimitExceededException
RenderTimeLimitExceededException to stop the current request processing chain.resource - the currently rendered resourcerenderContext - current rendering contextRenderTimeLimitExceededException - in case the request rendering time exceeded the maximum allowed onevoid track(javax.servlet.http.HttpServletRequest request)
request - the current HTTP requestCopyright © 2004–2020 Jahia Solutions Group SA. All rights reserved.