org.hippoecm.hst.core.container
Class JCRSessionStatefulConcurrencyValve
java.lang.Object
org.hippoecm.hst.core.container.AbstractValve
org.hippoecm.hst.core.container.JCRSessionStatefulConcurrencyValve
- All Implemented Interfaces:
- Valve
public class JCRSessionStatefulConcurrencyValve
- extends AbstractValve
A JCRSessionStatefulConcurrencyValve makes sure that from this valve on, requests that have a sessionstateful jcr session, in other words,
a jcr session tied to their HttpSession
, will be processed synchronized.
Note that jcr session from a session pool are *never* sessionstateful, and should never be processed synchronized as the session pools internal
housekeeping will be blocked as well then.
Fields inherited from class org.hippoecm.hst.core.container.AbstractValve |
alwaysRedirectLocationToAbsoluteUrl, componentFactory, componentInvoker, componentWindowFactory, containerConfiguration, defaultPageErrorHandler, hstManager, hstQueryManagerFactory, linkCreator, log, requestContextComponent, siteMapMatcher, siteMenusManager, urlFactory |
Methods inherited from class org.hippoecm.hst.core.container.AbstractValve |
destroy, findComponentWindow, findErrorCodeSendingWindow, getComponentFactory, getComponentInvoker, getComponentWindowFactory, getContainerConfiguration, getDefaultPageErrorHandler, getHstManager, getHstQueryManagerFactory, getHstSiteMenusManager, getLinkCreator, getPageErrors, getRequestContextComponent, getSiteMapMatcher, getUrlFactory, handleComponentExceptions, initialize, isAlwaysRedirectLocationToAbsoluteUrl, setAlwaysRedirectLocationToAbsoluteUrl, setComponentFactory, setComponentInvoker, setComponentWindowFactory, setContainerConfiguration, setDefaultPageErrorHandler, setHstManager, setHstQueryManagerFactory, setLinkCreator, setRequestContextComponent, setSiteMapMatcher, setSiteMenusManager, setUrlFactory |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
maxRefreshIntervalOnLazySession
protected long maxRefreshIntervalOnLazySession
JCRSessionStatefulConcurrencyValve
public JCRSessionStatefulConcurrencyValve()
setMaxRefreshIntervalOnLazySession
public void setMaxRefreshIntervalOnLazySession(long maxRefreshIntervalOnLazySession)
invoke
public void invoke(ValveContext context)
throws ContainerException
- Description copied from interface:
Valve
- Invoke this valve
- Specified by:
invoke
in interface Valve
- Specified by:
invoke
in class AbstractValve
- Throws:
ContainerException
Copyright © 2008-2012 Hippo. All Rights Reserved.