Package org.hippoecm.hst.core.jcr.pool
Interface PooledSessionRefresher
-
public interface PooledSessionRefresher
PooledSessionRefresher This interface is responsible for refreshing the states of the pooled session. For example, if a pooled session refresher can simply invokejavax.jcr.Session#refresh();
. Or, a custom implementation can do something in more optimized way in order to clean the virtual states only.- Version:
- $Id$
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
refresh(PooledSession pooledSession, boolean keepChanges)
Refreshes the pooled session.
-
-
-
Method Detail
-
refresh
void refresh(PooledSession pooledSession, boolean keepChanges) throws RepositoryException
Refreshes the pooled session. This can make the pooled session refreshed or a custom implementation can do something in more optimized way in order to clean the virtual states only.- Parameters:
pooledSession
- a pooled sessionkeepChanges
- a boolean- Throws:
RepositoryException
- if an error occurs.
-
-